Re: [gdal-dev] ogr2ogr.py sqlite dialect unsupported?

2019-09-02 Thread Even Rouault
ogr2ogr.py is a toy / sample file which receives little maintainance, and was mostly a one-time port of the ogr2ogr.cpp source, which is the on used by the command line utility. You may use the 'librarified' ogr2ogr with the gdal.VectorTranslate() Python function. Examples at https://github.co

[gdal-dev] ogr2ogr.py sqlite dialect unsupported?

2019-09-02 Thread Martin Lacayo
Hello, I complied GDAL 3.0.1 from source with Python, SQLite, and SpatiLite enabled. I am trying to dissolve polygons in a Shapefile with the following command: ogr2ogr output.shp input.shp -dialect sqlite -sql "SELECT ST_Union(geometry) FROM input" This works from the command line, but not as I

Re: [gdal-dev] GDAL 3 and PROJ 6

2019-09-02 Thread Even Rouault
> Ok, I'll work the proj.db way, it seems to be more profitable to do so. If > I'm not mistaken, both PROJ 6 and QGIS rely on proj.db to reproject, isn't > it? Yes (QGIS 3.8 or later needed to use PROJ 6 new capabilities) > > With PROJ 6 patched with the epsg file, I was trying on a vanilla GDAL

Re: [gdal-dev] GDAL 3 and PROJ 6

2019-09-02 Thread Juan Pedro Pérez Alcántara
Many thanks for the quick response, Even. By the way, many, many, many congratulations for the Sol Katz! You truly and heartly deserve it, thanks for your impressive work! Ok, I'll work the proj.db way, it seems to be more profitable to do so. If I'm not mistaken, both PROJ 6 and QGIS rely on proj

Re: [gdal-dev] GDAL 3 and PROJ 6

2019-09-02 Thread Even Rouault
Juan Pedro, > I maintain a set of Docker containers of PostGIS and currently I'm working > on a new release with updated version of the stack, which include PROJ 6, > GDAL 3, PostgreSQL 11.5, and PostGIS 2.5.3. I know PROJ 6 is a game > changer, and all the work I've done in the past configuring P

[gdal-dev] GDAL 3 and PROJ 6

2019-09-02 Thread Juan Pedro Pérez Alcántara
Hi everyone, I maintain a set of Docker containers of PostGIS and currently I'm working on a new release with updated version of the stack, which include PROJ 6, GDAL 3, PostgreSQL 11.5, and PostGIS 2.5.3. I know PROJ 6 is a game changer, and all the work I've done in the past configuring PROJ 4 t

[gdal-dev] Specifying output format gives wrong result

2019-09-02 Thread Schmitz, Uwe
Folks, I try to filter a dem (456664_40m.tif) with the help of a .vrt (456664gf.vrt) to get 456664gf.tif. The result is incorrect. It looks like it's slightly pushed together vertically in the middle of the dataset. Please look at 456664gf.tif, compare it to the original 456664_40m.tif and you s