Update:<div><br></div><div>Updated PostGIS, GEOS and GDAL to latest subversions.</div><div>Recompiled and installed but no luck.</div><div><br></div><div><div>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</div>
<div>Processing 1/1: /home/nils/postgis/lspop2008/lspop2008.txt</div><div>raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) != raster' failed.</div><div>Aborted</div><div><br></div><br><div class="gmail_quote">
2012/1/31 Andreas Forø Tollefsen <span dir="ltr"><<a href="mailto:andreasft@gmail.com">andreasft@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I now see that the Warning 6 message is always present but the data are still converted to sql.<div>However, the </div><div class="im"><div>lt-raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) != raster' failed. </div>
</div><div>message aborts the conversion.</div><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">2012/1/31 Andreas Forø Tollefsen <span dir="ltr"><<a href="mailto:andreasft@gmail.com" target="_blank">andreasft@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>Updated to latest subversion and tried the new loader for the first time.</div><div>However, i recieve the error below. </div><div>Never seen this error before using raster2pgsql.py script, but apparently, quite some changes have occured since then.</div>
<div><br></div><div><div>andreas@andreas-priogrid:/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$ raster2pgsql -s 4326 -I w001001.adf poptest > /home/andreas/poptest1.sql</div><div>Processing 1/1: w001001.adf</div>
<div>Warning 6: A dataset opened by GDALOpenShared should have the same filename (w001001.adf) and description (.)</div><div>lt-raster2pgsql: rt_api.c:4281: rt_raster_set_srid: Assertion `((void *)0) != raster' failed.</div>
<div>Aborted</div><div>andreas@andreas-priogrid:/mnt/pc258/prio_grid/source/access/access_50k/acc_50k$</div></div><div><br></div><div>Any ideas?</div><div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>