[postgis-users] raster2pgsql loader error

Andreas Forø Tollefsen andreasft at gmail.com
Thu Feb 2 01:29:35 PST 2012


Hi strk,

Thank you for your response. I now tried two different Arcinfo Binary
grids. One worked, the other did not.
Both worked using the previous raster2pgsql.py python script.

I have submitted a bug with links to the related raster files.
http://trac.osgeo.org/postgis/ticket/1531

best,
Andreas

2012/2/2 Sandro Santilli <strk at keybit.net>

> 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 <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?
> > >>>
> > >>>
> > >>
> > >
>
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120202/39bd1ca3/attachment.html>


More information about the postgis-users mailing list