Can someone please tell me how to prepare the data for the creation of
MVT vector tiles with a fid?
ogr2ogr -f MVT outputfolder input.geojson (or PostGIS or ...) -dsco
MINZOOM=0 -dsco MAXZOOM=6 -dsco COMPRESS=NO
Best regards,
Martin
___
gdal-dev m
Thanks a lot Even!
Best regards,
Martin
Am 25.11.2023 um 15:14 schrieb Even Rouault:
Hi,
add -preserve_fid to your ogr2ogr command line. On reading, you'll see
it in the mvt_id field (on reading it is not set as a OGR feature id,
since a given OGR feature can be split among several tiles,