[postgis-devel] Why setsrid after union ?

Etienne Bellemare etiennebr at gmail.com
Wed Jan 26 08:37:06 PST 2011


Oops, yep. Did find a bug in my way of managing srid's. You're right, when
everything's done correctly, you don't need to.

Etienne

On Wed, Jan 26, 2011 at 11:25 AM, strk <strk at keybit.net> wrote:

> On Wed, Jan 26, 2011 at 11:14:43AM -0500, Etienne Bellemare wrote:
> > I'm wondering why is it mandatory to set the srid after an operation like
> > st_union and the likes (I think). Basically, the geoms should have the
> same
> > srid to be united, so it shouldn't change the srid. So why is st_union
> > returning a srid-less geometry ? I couldn't find an answer.
>
> Should not be required indeed. Did you find a bug ?
>
> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
> _______________________________________________
> 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/20110126/bea700d1/attachment.html>


More information about the postgis-devel mailing list