[postgis-users] Re: From box2d to bbox

Gustavo Ces g.ces at pettra.es
Tue Oct 2 06:55:59 PDT 2007


Hi Regina,

    What i was tried is

update Mytable set caja1=boundary(setsrid(box2d(the_geom),23029))
update Mytable set gbbox=x(pointN(caja1,1))||','||y(pointN(caja1,1))||','||x(pointN(caja1,3))||','||y(pointN(caja1,3))

Geoserver needs a parameter: bbox=xmin,ymin,xmax,ymax 

I don´t find the xmax function applied to a box2d ( only to box3d) and , is it.... i´ve just have read your last message! :)

Gus
    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20071002/3544cac8/attachment.html>


More information about the postgis-users mailing list