[postgis-devel] [PostGIS] #137: ST_ShortestLine, ST_LongestLine, ST_max_distance, ST_DFullyWithin
PostGIS
trac at osgeo.org
Fri Jul 10 04:24:23 PDT 2009
#137: ST_ShortestLine, ST_LongestLine, ST_max_distance, ST_DFullyWithin
------------------------------------+---------------------------------------
Reporter: post... at jordogskog.no | Owner: robe
Type: enhancement | Status: assigned
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version:
Resolution: | Keywords:
------------------------------------+---------------------------------------
Changes (by nicklas):
* type: patch => enhancement
* summary: st_distance, shortestline => ST_ShortestLine, ST_LongestLine,
ST_max_distance, ST_DFullyWithin
Comment:
Here we go again
I'm sorry to admit that the patch is still not tested properly. I will try
to get time to understand more about how to build the tests, but if
someone have the possibility to help it would be great.
In the patch is the functions:
ST_ShortestLine(geometry, geometry)
ST_LongestLine(geometry, geometry)
ST_Max_Distance(geometry, geometry)
ST_DFullyWithin(geometry, geometry, double precision)
I have tried to reflect the correct in
doc/reference.xml
postgis.sql.in.c
uninstall_postgis.sql.in.c
The new approach to the distance-calculations seems to be more efficient
in iterating through the vertexes. When using it on big geometries with
many vertexes it will be significant faster, but on small geometries there
is almost no difference.
/Nicklas
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/137#comment:13>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list