[gdal-dev] clipping a vector with gdal.VectorTranslate

MRRAJESH rajeshreddy82 at gmail.com
Tue Aug 11 09:59:25 PDT 2020


Developers,

I am trying to set the "-clipsrc" in multiple ways in C# and C++, getting
"cannot load source clip geometry" error. Anything wrong here?

Ogr2ogr it is working fine (ogr2ogr -clipsrc
-9943693.00823441,5321545.9084732,-9943540.13417786,5321393.03441666 -f MVT
.......)

      "-dsco", "FORMAT=DIRECTORY",
      "-dsco", "TILE_EXTENSION=mvt",
      "-dsco", "COMPRESS=NO",
      "-dsco", "MINZOOM=18",
      "-dsco", "MAXZOOM=18",
      "-clipsrc",
"-9943693.00823441,5321545.9084732,-9943540.13417786,5321393.03441666"

Regards,
Rajesh



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list