[postgis-tickets] [PostGIS] #2175: Adding the same closed line to topology twice creates two nodes: ST_Rebase function (was: Adding the same closed line to topology twice creates two nodes: ST_Rebound function)

PostGIS trac at osgeo.org
Wed Mar 20 09:13:40 PDT 2013


#2175: Adding the same closed line to topology twice creates two nodes: ST_Rebase
function
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.1.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 I like ST_Rebase more, in that the function needs not deal to any concept
 of "former condition".
 Given a closed linestring, "Rebase" would change its start/end point to
 any of the existing vertices. The new vertex may be expressed in terms of
 a vertex index from current start, in which case we'd need a function to
 extract a vertex index from a point (closest vertex). Or it could be
 expressed as a "location" so that ST_Locate_Point can do its thing.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2175#comment:4>
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-tickets mailing list