[postgis-devel] [PostGIS] #1531: raster2pgsql loader aborts
PostGIS
trac at osgeo.org
Thu Feb 2 01:27:43 PST 2012
#1531: raster2pgsql loader aborts
---------------------------------+------------------------------------------
Reporter: andreasft | Owner: pracine
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: raster | Version: trunk
Keywords: raster2pgsql loader |
---------------------------------+------------------------------------------
raster2pgsql loader aborts processing for some rasters returning error:
raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) !=
raster' failed.
No pattern in which type of raster formats that crashes the loader.
Tried two different ArcInfo Binary Grid Format. One works fine, the other
crashes the import.
Crashes
http://bioval.jrc.ec.europa.eu/products/gam/download/access_50k.zip
(200mb)
Works fine
http://sedac.ciesin.columbia.edu/gpw/global.jsp?file=gpwv3&data=pcount&type=wrk&resolut=half&year=90&version=gpw-v3
(461 kb)
Loader syntax crashing raster:
raster2pgsql -s 4326 -I w001001.adf access > home/andreas/access.sql
Processing 1/1:
/mnt/pc258/prio_grid/source/access/access_50k/acc_50k/w001001.adf
Warning 6: A dataset opened by GDALOpenShared should have the same
filename
(/mnt/pc258/prio_grid/source/access/access_50k/acc_50k/w001001.adf) and
description (/mnt/pc258/prio_grid/source/access/access_50k/acc_50k)
raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) !=
raster' failed.
Aborted
Loader syntax working raster:
raster2pgsql -s 4326 -I /w001001.adf poptest > /home/andreas/poptest1.sql
Processing 1/1:
/mnt/pc258/prio_grid/source/gpw/lrc30p90/glp90ag30/w001001.adf
Warning 6: A dataset opened by GDALOpenShared should have the same
filename (/mnt/pc258/prio_grid/source/gpw/lrc30p90/glp90ag30/w001001.adf)
and description (/mnt/pc258/prio_grid/source/gpw/lrc30p90/glp90ag30)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1531>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list