pnorman / openstreetmap-cartographic

A port of OpenStreetMap Carto to Mapbox GL for client-side rendering
Other
58 stars 4 forks source link

Tile Schema #4

Closed Bibi56 closed 3 years ago

Bibi56 commented 4 years ago

Vector tiles usually preserve the "good old" OSM zoom level. Can't you preserve it? IMHO it would make (our ;-)) live easier.

pnorman commented 3 years ago

I assume you're talking about the relationship between scale and zoom, and tiles taking 512px? This is important and necessary, and 512px vector tiles are standard.

Bibi56 commented 3 years ago

Sorry for the late answer, I wanted to check a MapTiler. A vector tile has no size by definition (even if with the snap points you're right of course, but with data from zoom level 15 to 20 are usually in the zoom level 14 so the precision of tile 14 is sufficient up to zoom level 20). And yes I did expect 256 pixel tiles. With MapTiler, if rendered on the server (transferred as bitmap) or on the client (transferred as mvt) I get the same result in term of Z/X/Y. Maybe they send 512 pixel tiles even for server side rendering.