<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">Yes, binary WKB. Postgis reports no
errors other than "ERROR: invalid wkb" when attempting to import
data; this only happens on the amd64 box with postgis 0.9.1, 1.0.0rc2 and
1.0.0rc3.</font>
<br>
<br><font size=2 face="sans-serif">Below is a list of the compile time
warnings for each version. I haven't rummaged in the code yet, but the
"lwgeom_functions_basic.c" casts are suspect. Any pointers appreciated!</font>
<br>
<br><font size=2 face="sans-serif">Thanks!</font>
<br>
<br><font size=2 face="sans-serif">postgis 0.9.1</font>
<br><font size=2 face="sans-serif">==========</font>
<br><font size=2 face="sans-serif">pandora:~/inst/postgresql-8.0.1/contrib/postgis-0.9.1
# make | grep "warning"</font>
<br><font size=2 face="sans-serif">postgis_geos.c:323: warning: `resize_ptrArrayType'
defined but not used</font>
<br><font size=2 face="sans-serif">shpopen.c:176: warning: `rcsid' defined
but not used</font>
<br><font size=2 face="sans-serif">dbfopen.c:200: warning: `rcsid' defined
but not used</font>
<br>
<br>
<br><font size=2 face="sans-serif">postgis 1.0.0rc2</font>
<br><font size=2 face="sans-serif">=============</font>
<br><font size=2 face="sans-serif">pandora:~/inst/postgresql-8.0.1/contrib/postgis-1.0.0-rc2
# make | grep "warning"</font>
<br><font size=2 face="sans-serif">y.tab.c: In function `lwg_parse_yyparse':</font>
<br><font size=2 face="sans-serif">y.tab.c:405: warning: label `yyerrlab'
defined but not used</font>
<br><font size=2 face="sans-serif">y.tab.c: At top level:</font>
<br><font size=2 face="sans-serif">wktparse.tab.c:3: warning: `yyrcsid'
defined but not used</font>
<br><font size=2 face="sans-serif">lex.yy.c:3027: warning: `yyunput' defined
but not used</font>
<br><font size=2 face="sans-serif">In file included from vsprintf.c:135:</font>
<br><font size=2 face="sans-serif">vsprintf.c: In function `vasprintf':</font>
<br><font size=2 face="sans-serif">vsprintf.c:44: warning: passing arg
of `int_vasprintf' from incompatible pointer type</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c: In function
`dump_lwexploded':</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c:1473: warning:
cast from pointer to integer of different size</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c:1482: warning:
cast from pointer to integer of different size</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c:1491: warning:
cast from pointer to integer of different size</font>
<br><font size=2 face="sans-serif">shpopen.c:176: warning: `rcsid' defined
but not used</font>
<br><font size=2 face="sans-serif">dbfopen.c:200: warning: `rcsid' defined
but not used</font>
<br><font size=2 face="sans-serif">pgsql2shp.c: In function `addRecord':</font>
<br><font size=2 face="sans-serif">pgsql2shp.c:1976: warning: passing arg
2 of `PQunescapeBytea' from incompatible pointer type</font>
<br>
<br><font size=2 face="sans-serif">postgis 1.0.0rc3</font>
<br><font size=2 face="sans-serif">=============</font>
<br><font size=2 face="sans-serif">pandora:~/inst/postgresql-8.0.1/contrib/postgis-1.0.0-rc3
# make | grep "warning"</font>
<br><font size=2 face="sans-serif">y.tab.c: In function `lwg_parse_yyparse':</font>
<br><font size=2 face="sans-serif">y.tab.c:405: warning: label `yyerrlab'
defined but not used</font>
<br><font size=2 face="sans-serif">y.tab.c: At top level:</font>
<br><font size=2 face="sans-serif">wktparse.tab.c:3: warning: `yyrcsid'
defined but not used</font>
<br><font size=2 face="sans-serif">lex.yy.c:3027: warning: `yyunput' defined
but not used</font>
<br><font size=2 face="sans-serif">In file included from vsprintf.c:135:</font>
<br><font size=2 face="sans-serif">vsprintf.c: In function `vasprintf':</font>
<br><font size=2 face="sans-serif">vsprintf.c:44: warning: passing arg
of `int_vasprintf' from incompatible pointer type</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c: In function
`dump_lwexploded':</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c:1525: warning:
cast from pointer to integer of different size</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c:1534: warning:
cast from pointer to integer of different size</font>
<br><font size=2 face="sans-serif">lwgeom_functions_basic.c:1543: warning:
cast from pointer to integer of different size</font>
<br><font size=2 face="sans-serif">shpopen.c:176: warning: `rcsid' defined
but not used</font>
<br><font size=2 face="sans-serif">dbfopen.c:200: warning: `rcsid' defined
but not used</font>
<br><font size=2 face="sans-serif">pgsql2shp.c: In function `addRecord':</font>
<br><font size=2 face="sans-serif">pgsql2shp.c:1980: warning: passing arg
2 of `PQunescapeBytea' from incompatible pointer type</font>
<br>
<br><font size=2 face="sans-serif">Salutacions - Un Saludo - Regards, <br>
<br>
Carlos Lozano Diez<br>
==============================<br>
 Quavantis - mWorld Company <br>
 Mobile & Wireless Solutions<br>
==============================<br>
</font>
<br>
<br><font size=2><tt>postgis-devel-bounces@postgis.refractions.net wrote
on 07/03/2005 07:50:43:<br>
<br>
> On Sun, Mar 06, 2005 at 11:19:35PM +0100, clozano@quavantis.com wrote:<br>
> > Hi,<br>
> > <br>
> > I am having problems importing data into postgis running on a
Suse 9.2 <br>
> > x86_64 (amd64) when using WKB format data. <br>
> <br>
> You mean binary WKB, right ?<br>
> Do you get an error message, a memory fault or just "wrong"
imports ?<br>
> Did you get any warning at compile time ?<br>
> Does 0.9.1 also give you problems with WKB ?<br>
> <br>
> --strk;<br>
> <br>
> > <br>
> > I've built versions 0.9.1, 1.0.0rc2 and 1.0.0rc3 satisfactorily
on both <br>
> > Suse 9.2 i686 and x86_64, everything works fine on the 32 bit
box and <br>
> > everything, with the exception of WKB, works on the 64 bit box.
I'm <br>
> > running Postgres 8.0.1 on both boxes, 32 and 64bit respectively
- same <br>
> > linux distro. <br>
> > <br>
> > Has anyone come across this problem? Could anyone give me some
pointers as <br>
> > to what may be the problem/solution? <br>
> > <br>
> > Salutacions - Un Saludo - Regards, <br>
> > <br>
> > Carlos Lozano Diez<br>
> > ==============================<br>
> >  Quavantis - mWorld Company <br>
> >  Mobile & Wireless Solutions<br>
> > ==============================<br>
> <br>
> > _______________________________________________<br>
> > postgis-devel mailing list<br>
> > postgis-devel@postgis.refractions.net<br>
> > http://postgis.refractions.net/mailman/listinfo/postgis-devel<br>
> <br>
> _______________________________________________<br>
> postgis-devel mailing list<br>
> postgis-devel@postgis.refractions.net<br>
> http://postgis.refractions.net/mailman/listinfo/postgis-devel<br>
</tt></font>