[postgis-devel] [PostGIS] #892: Smarter linear location (for ST_Line_Interpolate_Point, ST_Line_Substring, ST_Line_Locate_Point)

PostGIS trac at osgeo.org
Tue Mar 29 07:26:15 PDT 2011


#892: Smarter linear location (for ST_Line_Interpolate_Point, ST_Line_Substring,
ST_Line_Locate_Point)
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/892>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list