id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1531,[raster] raster2pgsql loader aborts,andreasft,dustymugs,"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)
",defect,closed,medium,PostGIS 2.0.0,raster,trunk,wontfix,raster2pgsql loader,
