[postgis-devel] Why setsrid after union ?

strk strk at keybit.net
Wed Jan 26 08:25:14 PST 2011


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



More information about the postgis-devel mailing list