Ticket #892 (new enhancement)
Smarter linear location (for ST_Line_Interpolate_Point, ST_Line_Substring, ST_Line_Locate_Point)
| Reported by: | strk | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS Future |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
ST_LocatePoint returns a value which you can't easily convert to a vertex number. This isn't helpful if what you're looking for is a substring formed by pre-existing vertices rather than formed by arbitrarily interpolated points.
In turn, re-using existing vertices is required to avoid introducing coordinates drifts when willing to analize subportions of lines.
GEOS/JTS, for comparison, uses a pair of (SEG_NUM/SEG_FRACTION) representing in turn the segment index and the fraction of next segment.
Change History
Note: See
TracTickets for help on using
tickets.
