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

Re: [gdal-dev] A performance issue when connecting to pg through PgPool.

2020-08-11 Thread CULOS
a solution which seems to work: quite simply to use the variables PRELUDE_STATEMENTS, CLOSING_STATEMENTS. The gdal doc mentions pg_bouncer, pgpool looks like it.. For QGis, add the following lines to the .env file: PRELUDE_STATEMENTS = "BEGIN;" CLOSING_STATEMENTS = "COMMIT;" and to the .v

[gdal-dev] A performance issue when connecting to pg through PgPool.

2020-08-11 Thread CULOS
Hi, is this the correct list for this issue ? It is about a problem of performence which concerns the couple GDAL / PgPool. I am posting here because our other tools (talend, php, psycopg ...) which connect to the pool do not have this problem. A trio of servers (pool, master, slave) have been

Re: [gdal-dev] Calling ogr2ogr via proxy with ntlm authentication

2020-08-11 Thread Tobias Wendorff
I think you can use „--config GDAL_HTTP_PROXY your-ip“ here. -- Von einem iPhone gesendet und wird daher Fehler enthalten. > Am 11.08.2020 um 09:21 schrieb > : > >  > Dear GDAL-List, > > we’re trying to use an QGIS plugin called XPlanung which imports a gml-file > into a PostgreSQL/PostGI

[gdal-dev] Calling ogr2ogr via proxy with ntlm authentication

2020-08-11 Thread Dirk.Pispers
Dear GDAL-List, we're trying to use an QGIS plugin called XPlanung which imports a gml-file into a PostgreSQL/PostGIS database using ogr2ogr. On computers with an direct internet connection this works fine, but inside our corporate network all internet traffic runs through a proxy with ntlm aut