Closed uberguru closed 8 years ago
Example fixtures do not necessarily have to match the layout of the OSM planet, they're just an example source. The OSM QA Tiles have just one osm
layer, so you would access it with layers.osm.osm
.
For real world processor examples, see https://github.com/mapbox/osm-sidewalker, https://github.com/mapbox/road-diff, https://github.com/mapbox/osm-coverage. We'll add them as a list to the readme.
I downloaded the lastest planet mbtiles from https://s3.amazonaws.com/mapbox/osm-qa-tiles/latest.planet.mbtiles.gz
The count example works with the included data set, but not with the 22gb planet mbtiles.
The example code uses key value to count i.e. count buldings.
however the planet mbtiles the key seems to always be osm, but the fields contain the tags, im just not able to figure out how to convert the examples to work with the full dataset due to the data structure being different, i.e. building is a field not a key.
Appreciate any guidance i'm by no means a developer but really interested in using this code for some data analysis.