[postgis-users] raster2pgsql loader error

Andreas Forø Tollefsen andreasft at gmail.com
Thu Feb 2 00:38:13 PST 2012


Hi people,

Sorry for spamming, but i simply cant find a solution to this.
Has no one ever experienced this issue with the raster loader?

Andreas

2012/2/1 Andreas Forø Tollefsen <andreasft at gmail.com>

> Update:
>
> Updated PostGIS, GEOS and GDAL to latest subversions.
> Recompiled and installed but no luck.
>
> andreas at andreas-priogrid:/$ /usr/lib/postgresql/9.1/bin/raster2pgsql -s
> 4326 -I /home/nils/postgis/lspop2008/lspop2008.txt public.lspop2008 >
> /home/andreas/lspop2008.sql
> Processing 1/1: /home/nils/postgis/lspop2008/lspop2008.txt
> raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) !=
> raster' failed.
> Aborted
>
>
> 2012/1/31 Andreas Forø Tollefsen <andreasft at gmail.com>
>
>> I now see that the Warning 6 message is always present but the data are
>> still converted to sql.
>> However, the
>> lt-raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void
>> *)0) != raster' failed.
>> message aborts the conversion.
>>
>>
>> 2012/1/31 Andreas Forø Tollefsen <andreasft at gmail.com>
>>
>>> Hi all,
>>>
>>> Updated to latest subversion and tried the new loader for the first time.
>>> However, i recieve the error below.
>>> Never seen this error before using raster2pgsql.py script, but
>>> apparently, quite some changes have occured since then.
>>>
>>> andreas at andreas-priogrid:/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$
>>> raster2pgsql -s 4326 -I w001001.adf poptest > /home/andreas/poptest1.sql
>>> Processing 1/1: w001001.adf
>>> Warning 6: A dataset opened by GDALOpenShared should have the same
>>> filename (w001001.adf) and description (.)
>>> lt-raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void
>>> *)0) != raster' failed.
>>> Aborted
>>> andreas at andreas-priogrid
>>> :/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$
>>>
>>> Any ideas?
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120202/365c8074/attachment.html>


More information about the postgis-users mailing list