[postgis-devel] Box2D modify srid

Etienne Bellemare etiennebr at gmail.com
Wed Jun 8 07:18:09 PDT 2011


But if you try an operation with a box2d, it will raise the fact that the
srid's are different. Even if the box doesn't have an srid and that it
shouldn't care.
So, for my own edification, once you setsrid it transforms from a box to a
geom as well as when you make an operation (e.g. st_dwithin) ?

Etienne

On Wed, Jun 8, 2011 at 9:57 AM, Paul Ramsey <pramsey at opengeo.org> wrote:

> Box2d doesn't have an Srid, so you can set it all you want, there's
> nothing there to hold it.
> P.
>
> On Wed, Jun 8, 2011 at 9:41 AM, Etienne Bellemare <etiennebr at gmail.com>
> wrote:
> > Well, if you run box2d, you change spatial ref system. (I don't see any
> > reason not to keep it, but correct me if I'm wrong.)
> >
> > SELECT st_srid(box2d(st_setsrid(rast, 1111))) AS the_geom
> > FROM da_raster LIMIT 1
> >
> > Always yield -1 (2.0 and previous)
> >
> > Etienne
> >
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-devel
> >
> >
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110608/45545745/attachment.html>


More information about the postgis-devel mailing list