[postgis-tickets] [PostGIS] #3097: ST_Split using MULTILINESTRING blade

PostGIS trac at osgeo.org
Mon Apr 6 17:38:33 PDT 2015


#3097: ST_Split using MULTILINESTRING blade
-------------------------+--------------------------------------------------
 Reporter:  mwtoews      |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 Attempting to split a POLYGON with a MULTILINESTRING in PostGIS 2.1 yields
 an error:
 {{{
 SELECT ST_AsText(ST_Split(poly, blade))
 FROM (
   SELECT
     'POLYGON((20 30, 100 180, 160 20, 20 30),(70 70, 92 105, 110 50, 70
 70))'::geometry poly,
     'MULTILINESTRING((150 90, 90 70, 60 20),(50 140, 90 70))'::geometry
 blade
 ) f;

 ERROR:  Splitting a Polygon by a MultiLineString is unsupported
 }}}

 This enhancement is to allow ST_Split to allow a MULTILINESTRING as a
 blade.

 See UsersWikiSplitPolygonWithLineString for a `ST_SplitPolygon` which can
 complete the above example as expected.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3097>
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