mapbox / vector-tile-spec

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

Simple Sample Dataset of Vector Tiles #10

Closed hallahan closed 8 years ago

hallahan commented 10 years ago

Where can we find some good vector tiles to play with and decode? I'm talking about maybe a big zip full of tiles, not an obfuscated SQLite MBTiles container.

pnorman commented 10 years ago

Where can we find some good vector tiles to play with and decode?

There are some samples included in mapnik-vector-tile at https://github.com/mapbox/mapnik-vector-tile/tree/master/examples/data

I'm talking about maybe a big zip full of tiles, not an obfuscated SQLite MBTiles container.

There are utilities that will dump out all the files from a MBTiles container into an z/x/y directory structure.

flippmoke commented 8 years ago

We do not have any sample datasets in the new version 2.0 pull request (https://github.com/mapbox/vector-tile-spec/pull/39), however, the amount of encoding examples has been increased. I think I would prefer written examples over example files in the specification personally. If anyone would like to add more examples to the specification, especially around feature attributes and their encoding/decoding it would be greatly appreciated!

pnorman commented 8 years ago

I'll look at doing up some examples. They're useful to have, as when implementing a decoder (like the person above) you currently have to go to another repo.

mapsam commented 8 years ago

@hallahan and @pnorman - mighty late to the game here, but we have a number of valid and invalid examples over at https://github.com/mapbox/mvt-fixtures now. There aren't any that contain a ton of data, though. I'd be curious to hear if there are any others not included there that you wish to see.

hallahan commented 8 years ago

Thanks @mapsam . Interesting throwback in time. Good to know!