[postgis-users] Newbie questions: SRIDs, function return values

Markus Schaber schabi at logix-tt.com
Thu May 15 07:45:48 PDT 2008


Hi, Paul,

"Paul Ramsey" <pramsey at cleverelephant.ca> wrote:

> There's no universal answer to this, but I have long thought that a
> simple answer suitable for may people would be a ST_UTM(geom) wrapper
> on transform that picks the appropriate UTM zone for a given geometry.
> It would work perfectly well for any collection of small objects. It
> would fall apart for larger things like states and countries that are
> of similar size to a UTM zone.

The function could simply use the centroid of the bounding box, that
shoul be fast enough.


Regards,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



More information about the postgis-users mailing list