[gdal-dev] HDF data mis-applied sinusoidal

2018-11-29 Thread Michael Sumner
Hello, these data in HDF4 format are interpreted as being in sinusoidal projection, I guess some conflation with the MODIS logic about some products (?). ftp://ftp.glcf.umd.edu/glcf/GLASS/ABD/MODIS/0.05D/2013/ Particular file is here, but note there's also an auxiliarly .hdf.xml with it: ftp://ft

Re: [gdal-dev] ogr2ogr skipfailures and sqlite missing indexes

2018-11-29 Thread jratike80
Hi Seth, Even if the creation of spatial index with -skipfeatures is now fixed, generally that is a thing that should not really be used with GeoPackage and SQLite/Spatialite. That leads to single-row transactions and very poor performance. There are usually other ways to avoid the problems and s

[gdal-dev] VRT, how should I create overviews on the mask

2018-11-29 Thread Guy Doulberg
Hi guys I am using a VRT in front of many geotif rasters, the size of the vrt could be in thousands I am using gdaladdo on that vrt to per-calculate overviews, and I get an ovr file. In the orginal vrt file I have also definition of a mask, basically each of the origin files has mask, so I am us

Re: [gdal-dev] ogr2ogr skipfailures and sqlite missing indexes

2018-11-29 Thread Seth G
Excellent - thanks for the incredibly fast fix Even - wasn't expecting that! Seth -- web:http://geographika.co.uk twitter: @geographika On Thu, Nov 29, 2018, at 11:57 AM, Even Rouault wrote: > On jeudi 29 novembre 2018 09:56:28 CET Seth G wrote: > > Hi all, > > > > When running a command simila

Re: [gdal-dev] ogr2ogr skipfailures and sqlite missing indexes

2018-11-29 Thread Even Rouault
On jeudi 29 novembre 2018 09:56:28 CET Seth G wrote: > Hi all, > > When running a command similar to below (GDAL 2.3.1 on Windows): > > ogr2ogr -f "SQLite" test.db test.shp -skipfailures -dsco SPATIALITE=YES -lco > SPATIAL_INDEX=YES > > If there are any errors (e.g. a MULTILINESTRING in a LINEST

Re: [gdal-dev] Issue with validate_gpkg.py

2018-11-29 Thread Rahkonen Jukka (MML)
Thanks Brad, works after those edits and gives me an occasion to have a try with a pull request! -Jukka- Lähettäjä: br...@frogmouth.net [mailto:br...@frogmouth.net] Lähetetty: 29. marraskuuta 2018 11:43 Vastaanottaja: Rahkonen Jukka (MML) ; gdal-dev@lists.osgeo.org Aihe: RE: [gdal-dev] Issue wi

Re: [gdal-dev] Issue with validate_gpkg.py

2018-11-29 Thread bradh
Looks like (line 59) type.startswith('TEXT(') or type.startswith('BLOB(') Should be typ.startswith('TEXT(') or typ.startswith('BLOB(') (i.e. remove the two "e" characters) Brad From: gdal-dev On Behalf Of Rahkonen Jukka (MML) Sent: Thursday, 29 November 2018 8:36 PM To: 'gdal-dev@li

[gdal-dev] Issue with validate_gpkg.py

2018-11-29 Thread Rahkonen Jukka (MML)
Hi, I try to run validate_gpkg.py that I downloaded today from GitHub. I run it under OSGeo4W installation on Windows, GDAL version GDAL 2.3.2, released 2018/09/21, and Python version Python 2.7.14. Validation stops at this error message: Traceback (most recent call last): File "validate_gpk

[gdal-dev] ogr2ogr skipfailures and sqlite missing indexes

2018-11-29 Thread Seth G
Hi all, When running a command similar to below (GDAL 2.3.1 on Windows): ogr2ogr -f "SQLite" test.db test.shp -skipfailures -dsco SPATIALITE=YES -lco SPATIAL_INDEX=YES If there are any errors (e.g. a MULTILINESTRING in a LINESTRING dataset), ogr2ogr skips the errors, but also skips creating th