Re: [gdal-dev] checksums for source releases

2018-06-12 Thread Even Rouault
On mercredi 13 juin 2018 09:20:24 CEST Ben Elliston wrote: > On 13/06/18 09:18, Even Rouault wrote: > > The checksum is more intended to check that there wasn't an accidental > > corruption in the transportation of the archive (MD5 will remain safe > > forever for detecting that), rather than an at

Re: [gdal-dev] checksums for source releases

2018-06-12 Thread Ben Elliston
On 13/06/18 09:18, Even Rouault wrote: The checksum is more intended to check that there wasn't an accidental corruption in the transportation of the archive (MD5 will remain safe forever for detecting that), rather than an attempt to forge an hostile archive. In which case, we should also sign

Re: [gdal-dev] checksums for source releases

2018-06-12 Thread Even Rouault
On mercredi 13 juin 2018 09:02:00 CEST Ben Elliston wrote: > The source download page: > https://trac.osgeo.org/gdal/wiki/DownloadSource > > .. gives MD5 checksums for the source releases. Starting with 2.3.1, can > I suggest we start using SHA256 instead of the long-broken MD5? The checksum is m

[gdal-dev] checksums for source releases

2018-06-12 Thread Ben Elliston
The source download page: https://trac.osgeo.org/gdal/wiki/DownloadSource .. gives MD5 checksums for the source releases. Starting with 2.3.1, can I suggest we start using SHA256 instead of the long-broken MD5? Ben ___ gdal-dev mailing list gdal-dev@

[gdal-dev] gdalwarp automatically setting -wo SKIP_NOSOURCE=YES

2018-06-12 Thread Even Rouault
Hi, I've just implemented an improvement in gdalwarp to automatically set the existing SKIP_NOSOURCE=YES warping option when it is safe to do so. This option helps improving performance when a source dataset doesn't cover the full size of the output dataset. This is particularly interesting whe

Re: [gdal-dev] OGR Spatialite to geopackage

2018-06-12 Thread Even Rouault
On mardi 12 juin 2018 02:57:56 CEST lucvanlinden wrote: > Hi Jukka > > Error 1: failed to execute insert : unique constraint failed : > geom_cols_ref_sys._rowid_ > > Error 1 : Unable to write feature 0 from layer geom_cols_ref_sys. > > Terminating > > Seems to me that the metadata tables, i

Re: [gdal-dev] OGR Spatialite to geopackage

2018-06-12 Thread luc.vanlinden
Sorry forgot to mention. This gpkg does not exist. GrLuc Van Linden Original message From: br...@frogmouth.net Date: 12/06/2018 12:01 (GMT+01:00) To: 'lucvanlinden' , gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] OGR Spatialite to geopackage Can you please show

Re: [gdal-dev] OGR Spatialite to geopackage

2018-06-12 Thread luc.vanlinden
ogr2ogr -f gpkg output.gpkg input.sqlite GrLuc Van Linden Original message From: br...@frogmouth.net Date: 12/06/2018 12:01 (GMT+01:00) To: 'lucvanlinden' , gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] OGR Spatialite to geopackage Can you please show the exact

Re: [gdal-dev] OGR Spatialite to geopackage

2018-06-12 Thread bradh
Can you please show the exact command you are using, and tell us whether the geopackage you are using already exists (i.e. this is an append, not a create)? Brad ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listin

Re: [gdal-dev] OGR Spatialite to geopackage

2018-06-12 Thread lucvanlinden
Hi Jukka Error 1: failed to execute insert : unique constraint failed : geom_cols_ref_sys._rowid_ Error 1 : Unable to write feature 0 from layer geom_cols_ref_sys. Terminating Seems to me that the metadata tables, in this case it is even a view is treated as a normal layer. Tx Luc --