Opened 15 years ago
Last modified 14 years ago
#231 closed enhancement
New distance-calculations proposal — at Initial Version
Reported by: | nicklas | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.5.0 |
Component: | postgis | Version: | |
Keywords: | Cc: |
Description
A hopefully more structured ticket than #137
The patch attached includes:
new functions:
- st_shortestline
- st_longestline
- st_dfullywithin
enhancements affecting st_distance, st_dwithin and the functions above:
- a better handling of "holes" in polygons.
- a sudden stop in iteration when the distance in st_dwithin is satisfied. Before it was checked for every subgeom.
- a new way of calculating distances between lines and polygons that don't intersect.
Probably the last one is the most important. On big geometries it makes a big difference.
Beside the patch I have attached a document where I try to explain the idea behind the distance-calculation.
/Nicklas
Note:
See TracTickets
for help on using tickets.
explanation of the distance calculation