Coder Social home page Coder Social logo

Comments (4)

pka avatar pka commented on May 30, 2024

A tileset is a collection of tileset.layer's which groups layers using different tables. They are delivered within the same mvt file, but layers can still be displayed separately.
Do you want to deliver the ~20 tables within one mvt file, needing a mechanism to display them combined in 4 groups? If geometry types and attributes within these groups are the same, an SQL Union might already fullfill your need. If they are different, why not just turn the visibility of all layers within a group on/off together programatically?

from t-rex.

Tom-Cuthill avatar Tom-Cuthill commented on May 30, 2024

Hi Permin,

Thanks, that is exactly what we are after! I see that using the tileset name in the requesting URL instead of the layer name brings down all the tileset layers associated with the tileset itself. So we'll have 4 tilesets with up to 6 layers in each.

I notice that in the grid definition for web mercator you go down to zoom level 18. Some of our layers are very fine grain, best viewed at zoom levels 19 - 20. From what I've read the Google TMS usually go down to zoom level 22. Did you decide to stop at level 18, because your tile extent is 4096, which kind of takes you 4 levels deeper? If we do create a custom grid, which is the same as web mercator (EPSG:3857) but going down to a greater zoom level, will that cause any problems?

Thanks again for your help,
Tom

from t-rex.

pka avatar pka commented on May 30, 2024

Hi Tom,

Good to hear that tilesets cover you needs.
The Webmercator grid definition is taken from MapCache. Makes sense to extend it to zoom level 22.

Cheers
Pirmin

from t-rex.

pka avatar pka commented on May 30, 2024

Done in v0.7.2

from t-rex.

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.