[postgis-devel] [PostGIS] #231: New distance-calculations proposal

PostGIS trac at osgeo.org
Tue Aug 4 07:54:39 PDT 2009


#231: New distance-calculations proposal
-------------------------+--------------------------------------------------
 Reporter:  nicklas      |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  postgis 1.5.0
Component:  postgis      |     Version:               
 Keywords:               |  
-------------------------+--------------------------------------------------
 A hopefully more structured ticket than #137

 The patch attached includes:[[BR]]
 '''new functions:'''[[BR]]
 1. st_shortestline[[BR]]
 2. st_longestline[[BR]]
 3. st_dfullywithin[[BR]]

 '''enhancements affecting st_distance, st_dwithin and the functions
 above:'''[[BR]]
 1. a better handling of "holes" in polygons. [[BR]]
 2. a sudden stop in iteration when the distance in st_dwithin is
 satisfied. Before it was checked for every subgeom.[[BR]]
 3. a new way of calculating distances between lines and polygons that
 don't intersect.[[BR]]
 [[BR]]
 Probably the last one is the most important. On big geometries it makes a
 big difference.[[BR]]
 [[BR]]
 Beside the patch I have attached a document where I try to explain the
 idea behind the distance-calculation.[[BR]]
 [[BR]]
 /Nicklas

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/231>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list