I'm trying to decode mapbox vector tiles for use with SharpMap.
Does a tile know its position in the grid (x, y) and zoom level (z), or do I have to provide these values alongside with the vector tile?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI'm trying to decode mapbox vector tiles for use with SharpMap.
Does a tile know its position in the grid (x, y) and zoom level (z), or do I have to provide these values alongside with the vector tile?
Version 2.0 of the vector tile specification clearifies this:
A Vector Tile SHOULD NOT contain information about its bounds and projection. The file format assumes that the decoder knows the bounds and projection of a Vector Tile before decoding it.