[postgis-users] box3d

Markus Schaber schabi at logix-tt.com
Tue Mar 14 09:15:41 PST 2006


Hi, Jürgen,

Jürgen Mischker wrote:

> BUT: 
> ... 'BOX3D(90900 190900, 100100 200100)'::box3d...
> doesn`t work:
> ERROR: BOX3D parser - doesnt start with BOX3d(

Which PostGIS / PostgreSQL version are you using? I cannot reproduce it
here:

navteq=# select 'BOX3D(90900 190900, 100100 200100)'::box3d;
                 box3d
---------------------------------------
 BOX3D(90900 190900 0,100100 200100 0)
(1 row)

And grepping throug the current source, I cannot find the String "BOX3d"
but I can see

./lwgeom/lwgeom_box3d.c: elog(ERROR,"BOX3D parser - doesnt start with
BOX3D(");

So I assume you've got a case sensitivity problem here.



Btw, why don't you use box2d:

navteq=# select 'BOX(90900 190900, 100100 200100)'::box2d;
              box2d
---------------------------------
 BOX(90900 190900,100100 200100)
(1 row)




HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org




More information about the postgis-users mailing list