Re: [gdal-dev] How clean a shapefile using ogrinfo

2016-08-12 Thread Jeff McKenna
Hi Andrea, This seems like a useful tip; would you mind documenting your steps on the GDAL wiki? Maybe on this page? https://trac.osgeo.org/gdal/wiki/UserDocs/OgrInfo thanks, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-08-

Re: [gdal-dev] How clean a shapefile using ogrinfo

2016-08-12 Thread Andrea Peri
Hi Even, thx for your help and for the "repack" hint. A. 2016-08-12 17:22 GMT+02:00 Even Rouault : > Hi Andrea, > >> I need to clean a shapefile before export in it from a DB table. >> >> The option "-overwrite" of ogr2ogr is not feasible for me because >> AFAIK from the docs >> the overwrite op

Re: [gdal-dev] How clean a shapefile using ogrinfo

2016-08-12 Thread Even Rouault
Hi Andrea, > I need to clean a shapefile before export in it from a DB table. > > The option "-overwrite" of ogr2ogr is not feasible for me because > AFAIK from the docs > the overwrite option will > "delete the shapefile and recreate it". > Instead I need do not recreate it to maintain the origi

Re: [gdal-dev] How clean a shapefile using ogrinfo

2016-08-12 Thread Antonio Falciano
Il 12/08/2016 17:12, Andrea Peri ha scritto: Hi, I need to clean a shapefile before export in it from a DB table. The option "-overwrite" of ogr2ogr is not feasible for me because AFAIK from the docs the overwrite option will "delete the shapefile and recreate it". Instead I need do not recreate

[gdal-dev] How clean a shapefile using ogrinfo

2016-08-12 Thread Andrea Peri
Hi, I need to clean a shapefile before export in it from a DB table. The option "-overwrite" of ogr2ogr is not feasible for me because AFAIK from the docs the overwrite option will "delete the shapefile and recreate it". Instead I need do not recreate it to maintain the original structure of dbf.

Re: [gdal-dev] Memory increase in postgis raster driver

2016-08-12 Thread jramm
Hi We have been looking into this problem some more. So it seems we can reproduce this by using postgis raster tiles of 100 x 100. raster2pgsql cmd was: raster2pgsql bigtiff.tif -C -r -s 27700 -t 100x100 -P -I -M -Y | psql The effect seems more pronounced using GDAL 2.2 (trunk) vs GDAL 2.1 Wi

Re: [gdal-dev] OGR - S57 - geometry extraction issue

2016-08-12 Thread David Ferdoille
Hello, Thanks for the responses, After a long afternoon of tests : I try to access a WRECKS object, compose by an only point, with a QUAPOS specific value of 5, and an POSACC of 500.0 (find it using CARIS Easy View) 1- In ogrinfo -oo "RETURN_PRIMITIVES=ON" -oo "RETURN_LINKAGES=ON" -oo "LN