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

2020-08-11 Thread MRRAJESH
You are right, its mistake from my end. spaces should be there (ogr2ogr -clipsrc -9943695.99544 5321548.895035 -9943537.149741 5321390.049336 -f MVT) "-clipsrc" in C# is working fine with your code snippet. Thanks. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _

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

2020-08-11 Thread Even Rouault
On mardi 11 août 2020 09:59:25 CEST MRRAJESH wrote: > 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,-99

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

2020-08-11 Thread MRRAJESH
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", "F