Re: [gdal-dev] Case sensitive open option in GMLAS?

2017-09-18 Thread Even Rouault
On lundi 18 septembre 2017 21:10:33 CEST Rahkonen Jukka (MML) wrote: > Hi, > > I get this error with GMLAS driver and "-oo remove_unused_layers=yes" > > Warning 6: driver GMLAS does not support open option remove_usused_layers Jukka, This is a typo from your side. See the error message which

[gdal-dev] Case sensitive open option in GMLAS?

2017-09-18 Thread Rahkonen Jukka (MML)
Hi, I get this error with GMLAS driver and "-oo remove_unused_layers=yes" Warning 6: driver GMLAS does not support open option remove_usused_layers Warning disappears with -oo REMOVE_UNUSED_LAYERS=yes. The very similar open option "-oo remove_unused_fields" does not give an error. -Jukka

Re: [gdal-dev] Cannot delete layer - table is locked

2017-09-18 Thread a . furieri
On Mon, 18 Sep 2017 12:25:47 +1000, Nik Sands wrote: Hi GDAL devs, What is the correct way in GDAL/OGR to release locks on the layer (in this case the SQLite tables in a geopackage) so that the layer can be deleted from the data source? My issue is that after writing new features to a layer, I

Re: [gdal-dev] GDAL 2.2.2 release candidate

2017-09-18 Thread Kurt Schwehr
+1 on RC1 I tested the build with fink and think all of these failures are likely just from old libs being used in the fink config on Mac OSX 10.12. -kurt Failures Script: ogr/ogr_gft.py TEST: ogr_gft_read ... fail line 97: did not get expected feature count

[gdal-dev] Cannot delete layer - table is locked

2017-09-18 Thread Nik Sands
Hi GDAL devs, What is the correct way in GDAL/OGR to release locks on the layer (in this case the SQLite tables in a geopackage) so that the layer can be deleted from the data source? My issue is that after writing new features to a layer, I may want to delete the layer completely, but when I

Re: [gdal-dev] Attempt to delete layer fails - table locked

2017-09-18 Thread Even Rouault
Nik, You didn't mention which GDAL version you use, and the file format (from the error message, I presume it is GeoPackage) I didn't manage to reproduce with trunk, 2.2 or 2.1 or even 2.0 and the following actions: $ ogr2ogr -f gpkg poly.gpkg poly.shp $ python from osgeo import ogr ds =

Re: [gdal-dev] shapelib 1.4.1 release

2017-09-18 Thread Kai Muehlbauer
Hi, Am 14.09.2017 um 18:56 schrieb Jeff McKenna: > On 2017-09-14 11:59 AM, Even Rouault wrote: >> Hi, >> >> (CC'ing gdal-dev as well, since shape...@lists.maptools.org has likely >> lower audience) >> >> I've released shapelib 1.4.1 [snip] > > Thanks Even.  For the record MS4W still