NetTopologySuite / NetTopologySuite.IO.VectorTiles

A package that can be used to generate vector tiles using NTS.
Other
21 stars 13 forks source link

Ensure vector tile layers include extent #6

Closed rbrundritt closed 3 years ago

rbrundritt commented 3 years ago

I ran into several tools that complained that the vector tiles I created with this tool were missing the Extent value on the individual layers. Looking in the code I noticed that this was marked as not required and as a result the default value wasn't being included in the tiles. Other tools that didn't validate the tiles ran into issues as they defaulted the extent to 0. According to Mapbox vector tile spec, the Extent value must be specified in each layer.