On Thu, Feb 02, 2012 at 09:38:13AM +0100, Andreas Forø Tollefsen wrote: > 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?
Did you seek in the bug tracker ? If you can't find anything in there please file one, best if you can also attach the offending file. --strk; ,------o-. | __/ | Thank you for PostGIS-2.0 Topology ! | / 2.0 | http://www.pledgebank.com/postgistopology `-o------' > > Andreas > > 2012/2/1 Andreas Forø Tollefsen <[email protected]> > > > Update: > > > > Updated PostGIS, GEOS and GDAL to latest subversions. > > Recompiled and installed but no luck. > > > > andreas@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 <[email protected]> > > > >> 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 <[email protected]> > >> > >>> 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@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@andreas-priogrid > >>> :/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$ > >>> > >>> Any ideas? > >>> > >>> > >> > > > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
