[postgis-devel] [PostGIS] #231: New distance-calculations proposal
PostGIS
trac at osgeo.org
Mon Oct 19 07:43:48 PDT 2009
#231: New distance-calculations proposal
--------------------------+-------------------------------------------------
Reporter: nicklas | Owner: robe
Type: enhancement | Status: assigned
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by nicklas):
ok, but what about the start or the end of st_shortestline. I guess the
end of the line is the most common to use to answer the question where is
the closest land to swim to from this island.
But the next question is: from where on the island should I start to get
the shortest swim-distance. or maybe a more common use. get the points on
the road closest to the inaccurate GPS-points. Then it is most convinient
with the startpoint of the shortestline again.
st_startpoint(st_shortestline(the_road, the_GPS_point))
I have noticed some posts on the list with this type of problems. But I
don't know wich approach is most intuitive.
I don't even see the alternatives clear :-)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/231#comment:29>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list