Re: [gdal-dev] ogr2ogr failing on postgis?

2016-04-10 Thread Even Rouault
Le dimanche 10 avril 2016 20:39:25, Paolo Cavallini a écrit : > Il 10/04/2016 18:01, Even Rouault ha scritto: > > Yes, this is expected and a rather common problem with shapefiles. > > Thanks a lot for the explanation. QGIS therefore creates an incorrect > prj, but I did not noticed it because it

Re: [gdal-dev] ogr2ogr failing on postgis?

2016-04-10 Thread Paolo Cavallini
Il 10/04/2016 18:01, Even Rouault ha scritto: > Yes, this is expected and a rather common problem with shapefiles. Thanks a lot for the explanation. QGIS therefore creates an incorrect prj, but I did not noticed it because it loaded it with the correct EPSG. Ticket upstream opened: http://hub.qgi

Re: [gdal-dev] ogr2ogr failing on postgis?

2016-04-10 Thread Even Rouault
Hi Paolo, > Hi all, > I have an ogr2ogr command, from shp to pg, that fails because it > requests write access to spatial_ref_sys. An apparently identical > command on another file runs smoothly. Any hint? > Details and data documented here: > http://hub.qgis.org/issues/14650 Yes, this is expecte

Re: [gdal-dev] ogr2ogr failing on postgis?

2016-04-10 Thread Dmitry Baryshnikov
Hi Paolo, It seems to me that your shape spatial reference not present in spatial_ref_sys and GDAL try to import it into spatial_ref_sys. Your shape file have such SRS: PROJCS["Monte_Mario_Italy_zone_1",GEOGCS["GCS_Monte Mario",DATUM["D_Monte_Mario",SPHEROID["International_1924",6378388,297]],

[gdal-dev] ogr2ogr failing on postgis?

2016-04-10 Thread Paolo Cavallini
Hi all, I have an ogr2ogr command, from shp to pg, that fails because it requests write access to spatial_ref_sys. An apparently identical command on another file runs smoothly. Any hint? Details and data documented here: http://hub.qgis.org/issues/14650 Thanks. -- Paolo Cavallini - www.faunalia.e

Re: [gdal-dev] Map algebra

2016-04-10 Thread Ari Jolma
08.04.2016, 19:28, Gregory, Matthew kirjoitti: I would want any map algebra library to handle three types of issues when dealing with raster data: 1) Handling mask or nodata values (e.g. an analysis mask should be able to be set on any algebra operation that retains or combines n