Hi strk,<div><br></div><div>Thank you for your response. I now tried two different Arcinfo Binary grids. One worked, the other did not.</div><div>Both worked using the previous raster2pgsql.py python script.</div><div><br>
</div><div>I have submitted a bug with links to the related raster files.</div><div><a href="http://trac.osgeo.org/postgis/ticket/1531">http://trac.osgeo.org/postgis/ticket/1531</a> </div><div><br></div><div>best,</div><div>
Andreas<br><br><div class="gmail_quote">2012/2/2 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Feb 02, 2012 at 09:38:13AM +0100, Andreas Forø Tollefsen wrote:<br>
> Hi people,<br>
><br>
> Sorry for spamming, but i simply cant find a solution to this.<br>
> Has no one ever experienced this issue with the raster loader?<br>
<br>
</div>Did you seek in the bug tracker ?<br>
If you can't find anything in there please file one, best if you can<br>
also attach the offending file.<br>
<br>
--strk;<br>
<br>
  ,------o-.<br>
  |   __/  |    Thank you for PostGIS-2.0 Topology !<br>
  |  / 2.0 |    <a href="http://www.pledgebank.com/postgistopology" target="_blank">http://www.pledgebank.com/postgistopology</a><br>
  `-o------'<br>
<div><div></div><div class="h5"><br>
<br>
><br>
> Andreas<br>
><br>
> 2012/2/1 Andreas Forø Tollefsen <<a href="mailto:andreasft@gmail.com">andreasft@gmail.com</a>><br>
><br>
> > Update:<br>
> ><br>
> > Updated PostGIS, GEOS and GDAL to latest subversions.<br>
> > Recompiled and installed but no luck.<br>
> ><br>
> > andreas@andreas-priogrid:/$ /usr/lib/postgresql/9.1/bin/raster2pgsql -s<br>
> > 4326 -I /home/nils/postgis/lspop2008/lspop2008.txt public.lspop2008 ><br>
> > /home/andreas/lspop2008.sql<br>
> > Processing 1/1: /home/nils/postgis/lspop2008/lspop2008.txt<br>
> > raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) !=<br>
> > raster' failed.<br>
> > Aborted<br>
> ><br>
> ><br>
> > 2012/1/31 Andreas Forø Tollefsen <<a href="mailto:andreasft@gmail.com">andreasft@gmail.com</a>><br>
> ><br>
> >> I now see that the Warning 6 message is always present but the data are<br>
> >> still converted to sql.<br>
> >> However, the<br>
> >> lt-raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void<br>
> >> *)0) != raster' failed.<br>
> >> message aborts the conversion.<br>
> >><br>
> >><br>
> >> 2012/1/31 Andreas Forø Tollefsen <<a href="mailto:andreasft@gmail.com">andreasft@gmail.com</a>><br>
> >><br>
> >>> Hi all,<br>
> >>><br>
> >>> Updated to latest subversion and tried the new loader for the first time.<br>
> >>> However, i recieve the error below.<br>
> >>> Never seen this error before using raster2pgsql.py script, but<br>
> >>> apparently, quite some changes have occured since then.<br>
> >>><br>
> >>> andreas@andreas-priogrid:/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$<br>
> >>> raster2pgsql -s 4326 -I w001001.adf poptest > /home/andreas/poptest1.sql<br>
> >>> Processing 1/1: w001001.adf<br>
> >>> Warning 6: A dataset opened by GDALOpenShared should have the same<br>
> >>> filename (w001001.adf) and description (.)<br>
> >>> lt-raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void<br>
> >>> *)0) != raster' failed.<br>
> >>> Aborted<br>
> >>> andreas@andreas-priogrid<br>
> >>> :/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$<br>
> >>><br>
> >>> Any ideas?<br>
> >>><br>
> >>><br>
> >><br>
> ><br>
<br>
</div></div>> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>