mapbox / vector-tile-spec

Mapbox Vector Tile specification
https://www.mapbox.com/vector-tiles/specification/
Other
890 stars 209 forks source link

Vector tile verification program #145

Open xiaorui324 opened 4 years ago

xiaorui324 commented 4 years ago

Hello, We are developing a tool to produce Mapbox vector tiles, and we want to know if there is an official verification program to check whether the tiles meet the specifications. Now that the tiles can be displayed normally through Mapbox GL JS, can it be considered as compliant?

flippmoke commented 4 years ago

Is the library open source? I will happily take a look at the code. The closest code to do validation is https://github.com/mapbox/vtvalidate, but this will not check all compliance with the specification.

vascoveigams commented 3 years ago

I'm also generating MVT tiles and have a question regarding Polygon ring orientation. Does vtvalidate validate polygon ring orientation ? By mistake, I generated two tiles with polygons using CCW in one and CW on the other for the exterior ring (and the opposite for interior rings). Mapbox GL JS rendered both pretty much the same (tiles had same content). I was expecting one of them to either fail or only render the inner ring (CW). Can you clarify on the spec requirement ?