Giter VIP home page Giter VIP logo

Comments (3)

klokan avatar klokan commented on May 18, 2024

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.

klokan avatar klokan commented on May 18, 2024

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.

jingsam avatar jingsam commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.