tippecanoe
tippecanoe copied to clipboard
handling multiple vector.pbf
I have many vector.pbf how can I convert them to one big vector.pbf? Or how to convert all vector.pbf to GeoJSON?
Are these vector.pbfs from different vector tiles? If so, put them in a directory in zoom/x/y.vector.pbf format and use tippecanoe-decode
to decode the directory to GeoJSON.
He will write each tile like this
{ "type": "FeatureCollection", "properties": { "zoom": 16, "x": x, "y": y, "compressed": false }, "features": [{ "type": "FeatureCollection", "properties": { "layer": "admin", "version": 2, "extent": 4096 }, "features": [ { "type": "Feature", "properties": { "admin_level": 2 }, "geometry": { "type": "Polygon", "coordinates": [
I would like to get already normalized coordinates for objects.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
]
},
"properties": {
"type": 3
}
}
]
}