vt2geojson
vt2geojson copied to clipboard
convert between geojson and pbf
I use vt2geojson to extract the transportation layers in the pbf file,Is there a way to convert this geojson back to pbf?
vt2geojson({
uri: './5-19-12.pbf',
layer: 'transportation',
z: 5,
x: 19,
y: 12
}, function (err, geoJson) {
if (err) throw err;
console.log(geoJson)
});