vt2geojson icon indicating copy to clipboard operation
vt2geojson copied to clipboard

convert between geojson and pbf

Open sys-liqian opened this issue 4 years ago • 0 comments

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)
});

sys-liqian avatar May 07 '21 01:05 sys-liqian