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

Paul Ramsey pramsey at cleverelephant.ca
Fri May 16 09:17:20 PDT 2008


Patch preferred :)

On Fri, May 16, 2008 at 8:56 AM, Andy Anderson <aanderson at amherst.edu> wrote:
> Ah, missed this one very clear message amongst the plethora my search
> returned.
>
> I see that the request for a documentation fix was made here, also (nine
> months ago). Looking at the documentation, I see a place to report bugs in
> PostGIS <http://postgis.refractions.net/docs/ch07.html>, but does this
> include documentation "bugs"? :-)
>
> -- Andy
>
> On May 16, 2008, at 11:37 AM, Håvard Tveite wrote:
>
>> 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/
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list