[postgis-users] Is GeomUnion() now ST_Union()?

Håvard Tveite havard.tveite at umb.no
Fri May 16 08:37:52 PDT 2008


See <URL: http://www.postgis.org/pipermail/postgis-users/2007-August/016816.html >

ST_Union seems to replace GeomUnion.

Håvard

Andy Anderson wrote:
>>  select a.gid, geomunion(b.the_geom)
> 
> Being new to PostGIS, I've been looking at other people's code
> snippets and trying to figure out what they do. I'm a bit mystified
> by "geomunion()", though, as it's not in the PostGIS docs, though
> there are many references to it in the mailing list archives. Is this
> the same as "ST_Union()" <http://postgis.refractions.net/docs/
> ch06.html#id2595344>?
> 
> I see a statement at the beginning of Chapter 6 that "PostGIS has
> begun a transition from the existing naming convention to an SQL-MM-
> centric convention. As a result, most of the functions that you know
> and love have been renamed using the standard spatial type (ST) prefix."
> 
>  From this I can conclude that ST_Union() used to be Union(), and in
> that section it says "NOTE: this is renamed from "union" because
> union is an SQL reserved word" which implies that even from very
> early on it was different than Union(), perhaps GeomUnion(). But if
> this is the case, this name change should also be explicitly documented.
> 
> If there was a general renaming from Geom* to ST_*, that is also not
> documented that I can find.
> 
> Confirmation requested, and if necessary documentation for all such
> unusual name changes.
> 
> Thanks,
> 
> -- Andy
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/



More information about the postgis-users mailing list