[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-devel
Subject:    Re: [postgis-devel] Why setsrid after union ?
From:       Etienne Bellemare <etiennebr () gmail ! com>
Date:       2011-01-26 16:37:06
Message-ID: AANLkTinngiiZBX_AvXF2FLKL77q_fp1oM10cnHOb2WGB () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>

[Attachment #5 (text/html)]

Oops, yep. Did find a bug in my way of managing srid&#39;s. You&#39;re right, when \
everything&#39;s done correctly, you don&#39;t need to. <br><br>Etienne<br><br><div \
class="gmail_quote">On Wed, Jan 26, 2011 at 11:25 AM, strk <span dir="ltr">&lt;<a \
href="mailto:strk@keybit.net">strk@keybit.net</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Wed, Jan 26, 2011 \
at 11:14:43AM -0500, Etienne Bellemare wrote:<br>

&gt; I&#39;m wondering why is it mandatory to set the srid after an operation \
like<br> &gt; st_union and the likes (I think). Basically, the geoms should have the \
same<br> &gt; srid to be united, so it shouldn&#39;t change the srid. So why is \
st_union<br> &gt; returning a srid-less geometry ? I couldn&#39;t find an answer.<br>
<br>
</div></div>Should not be required indeed. Did you find a bug ?<br>
<br>
--strk;<br>
<br>
  ()   Free GIS &amp; Flash consultant/developer<br>
  /\   <a href="http://strk.keybit.net/services.html" \
target="_blank">http://strk.keybit.net/services.html</a><br> \
_______________________________________________<br> postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
 <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" \
target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br> \
</blockquote></div><br>



_______________________________________________
postgis-devel mailing list
postgis-devel@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic