Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread Rahkonen Jukka (MML)
. -Jukka Rahkonen- Lähettäjä: Jan Heckman Lähetetty: perjantai 5. helmikuuta 2021 16.10 Vastaanottaja: Rahkonen Jukka (MML) Kopio: gdal Aihe: Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb However, ogrinfo does no better. It refuses to rename a table (filegdb) and crashes

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread Jan Heckman
However, ogrinfo does no better. It refuses to rename a table (filegdb) and crashes on drop table. Jan On Fri, Feb 5, 2021 at 11:43 AM jratike80 < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > SQL in ogr2ogr is only for SELECT. For any other purpose use ogrinfo. > An example: > > ogrinfo

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread Jan Heckman
Hi Jukka, Shame on me. Had just found out. thanks, Jan On Fri, Feb 5, 2021 at 11:43 AM jratike80 < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > SQL in ogr2ogr is only for SELECT. For any other purpose use ogrinfo. > An example: > > ogrinfo -sql "alter table point_p rename column test to

Re: [gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-05 Thread jratike80
Hi, SQL in ogr2ogr is only for SELECT. For any other purpose use ogrinfo. An example: ogrinfo -sql "alter table point_p rename column test to foo" point.gpkg -dialect sqlite -Jukka Rahkonen- janhec wrote > Dear list, > > About the filegdb driver > Attempting: > ogr2ogr -f FILEGDB test.gdb bag

[gdal-dev] Fwd: ogr2ogr crash attempting to drop table in filegdb

2021-02-04 Thread Jan Heckman
Dear list, About the filegdb driver Attempting: ogr2ogr -f FILEGDB test.gdb bag2101.gdb -update -sql "drop table standplaats" crashed ogr2ogr (obtained from gisinternals.com, gdal-302-1928-x64-core.msi etc) with a heap corruption. (VS: Unhandled exception at 0x7FFE1C6EF099 (ntdll.dll) in ogr2o