[postgis-devel] [PostGIS] #1735: ST_MakeValid: exception on geometry

PostGIS trac at osgeo.org
Tue Apr 10 08:43:52 PDT 2012


#1735: ST_MakeValid: exception on geometry
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  strk         
     Type:  defect     |      Status:  assigned     
 Priority:  medium     |   Milestone:  PostGIS 2.0.1
Component:  postgis    |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by strk):

 Alright the invalid-result-from-UnaryUnion was finally fixed in GEOS and
 with that fix I can get a valid result from ST_MakeValid:

 {{{
 strk=# select ST_Summary(ST_MakeValid('MULTIPOLYGON(((1725063 4819121,
 1725104 4819067, 1725060 4819087, 1725064.14183882
 4819094.70208557,1725064.13656044 4819094.70235069,1725064.14210359
 4819094.70227252,1725064.14210362 4819094.70227252,1725064.13656043
 4819094.70235069,1725055. 4819094, 1725055 4819094, 1725055 4819094,
 1725063 4819121)))'));
               st_summary
 ---------------------------------------
  GeometryCollection[B] with 2 elements
    Polygon[] with 2 rings
     ring 0 has 12 points
     ring 1 has 4 points
    LineString[] with 2 points
 (1 row)
 }}}

 Let's keep this ticket open until GEOS-3.3.4 is out.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1735#comment:24>
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