[postgis-users] Is GeomUnion() now ST_Union()?
Obe, Regina
robe.dnd at cityofboston.gov
Fri May 16 08:02:12 PDT 2008
You are correct in all your assumptions. Except I think geomunion was
the only one that doesn't follow the
Oldname -> ST_Oldname
rule because GeomUnion was called that in the past because it couldn't
be called Union.
Hope that helps,
Regina
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Andy
Anderson
Sent: Friday, May 16, 2008 10:51 AM
To: PostGIS Users Discussion
Subject: [postgis-users] Is GeomUnion() now ST_Union()?
> 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
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
More information about the postgis-users
mailing list