[postgis-devel] [PostGIS] #266: ST_Length for geography
PostGIS
trac at osgeo.org
Mon Oct 19 06:08:45 PDT 2009
#266: ST_Length for geography
--------------------------+-------------------------------------------------
Reporter: robe | Owner: pramsey
Type: enhancement | Status: closed
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version: trunk
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Comment (by robe):
Hmm -- Paul I see you managed to sneak in the behavior of Perimeter in the
ST_Length function for geography. I must flag this as being inconsistent
with geometry ST_Length which returns 0 for areals.
I'm not so bothered about this inconsistency (since I consider returning 0
for length of an areal kind of silly, but as much as I hate alias's and
unnecessary function bloat, I think it might be prudent to introduce one
for ST_Perimeter. The reason being -- my old-fashioned self-speaking:
When I think of length -- I think Line (not polygon)
When I think areal -- I don't think length, I think perimeter.
I can only imagine old-fashioned thinkers like me will think the same, and
that there are a large number of said people in our community.
I'm going to leave this closed and you can reopen or change unless you
think I am being unnecessarily petty.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/266#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list