[gdal-dev] MVT tileset with limited output extent

Jan Wolski jan.wolski at trimble.com
Tue Dec 5 05:57:24 PST 2023


Hi,

I'm creating MVT tilesets for the ETRS-TM35FIN tiling scheme using
GDAL/OGR. I'm prototyping with ogr2ogr but later I will be using Python
bindings to create the production workflow.

Is there a way to limit the geographic extent of where the MVT driver
creates tiles? By default it seems to create all tiles that intersect any
input feature. I would like to create only tiles that intersect a given
extent. This is to enable partial update of a MVT tileset.

This is the ogr2ogr command I have now:

ogr2ogr -f MVT stand MV_R5232B.gpkg stand -dsco "MAXZOOM=11" -dsco
"MINZOOM=8" -dsco "TILE_EXTENSION=mvt" -dsco
"TILING_SCHEME=EPSG:3067,-548576,8388608,2097152" -dsco "TYPE=overlay"
-dsco "COMPRESS=NO"


Thanks,
Jan Wolski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231205/2b669780/attachment-0001.htm>


More information about the gdal-dev mailing list