Comments (3)
It seems to be done by Mapnik usually (see klokantech/tileserver-mapnik#13), but we may prefer an implementation without Mapnik dependency here.
from tileserver-gl.
The speed of the PBF JavaScript-native library https://github.com/mapbox/pbf has improved recently - if we decide to parse and reencode the PBFs for overzooming (scale + shift) at some point.
The https://github.com/mapbox/vector-tile-js is using it already.
In case we decide to go for mapnik C/C++ implementation, here is a node-js wrapper example:
https://github.com/naturalatlas/tilestrata-vtile-composite/blob/master/index.js
and the official documentation:
http://mapnik.org/documentation/node-mapnik/3.5/#VectorTile.composite
It would be practical to compare the speed of the two implementations, once finished.
from tileserver-gl.
I would suggest not to implement this feature, as this feature is not only unnecessary but hard to properly implemented. One problem is how do you solve vector layer id conflict? What if I composite too much pbf s and exceed 500K limits?
Simple codes are easy to test and maintenance. Omit the unnecessary feature and keep the code clean, I suggest.
from tileserver-gl.
Related Issues (20)
- tileserver-gl raster tile attributions don't show up HOT 5
- Replace 'request' HOT 2
- tileserver-gl-light with leaflet HOT 4
- tileserver-gl with https protocol HOT 2
- TileServer-GL Issue on Windows Server 2022 HOT 12
- Map Markers are placed incorrectly at low zoom levels HOT 3
- style.json broken in 4.6.0 HOT 7
- 4.5.2-4.6.1 breaks URL-based "glyphs" and "sprites" (concats URLs with root paths?) HOT 14
- Error: EACCES: permission denied, stat '2023-08-planet.mbtiles'
- Serve robots.txt file HOT 2
- Add an endpoint to allow runtime configuration, e.g. to updates styles HOT 3
- Is there a way to add a legend ? HOT 3
- Static maps: All paths use styling of the last path HOT 4
- Error: "libicui18n.so.66: cannot open shared object file" when try to run tileserver-gl on Ubuntu 22.04.3 LTS HOT 5
- Support for comments in json files HOT 1
- Failed to open X display HOT 1
- Static image : polyline being truncated when containing pipe character HOT 1
- Tileserver crashing and shutting down when given wrong encoded URI on static image HOT 5
- Difference when rendering maps among localhost and kubernetes env HOT 7
- Area based static endpoint is not exact HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileserver-gl.