[postgis-devel] [PostGIS] #400: ST_SplitGeometry

PostGIS trac at osgeo.org
Thu Mar 11 12:42:18 PST 2010


#400: ST_SplitGeometry
----------------------+-----------------------------------------------------
  Reporter:  strk     |       Owner:  strk         
      Type:  defect   |      Status:  assigned     
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:               
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by strk):

 Come again (sorry, but can't sleep till I succeed in getting it formatted
 right)

  * Will split a poly by a line, a line by a line and a line by a point
  * Will always return a COLLECTION of at most 2 elements: first element is
 what is left after the cut, second element is what was cut
  * When you cut a line using a point, what's left is the initial portion
 of the line (from start to point)
  * When you cut a poly or a line using a line what's left is arbitrarly
 taken as the cut-part which goes to the *left* of the cut line. This is
 for assonance with the word "left"

 Thanks paul if this works :)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/400#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-devel mailing list