[postgis-devel] [PostGIS] #1953: ST_MakeValid don't work

PostGIS trac at osgeo.org
Thu Aug 16 11:48:47 PDT 2012


#1953: ST_MakeValid don't work
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.1.0
Component:  postgis    |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------
 Hi I notice the ST_MakeValid don't work on this geometry:

 select ST_MakeValid('POLYGON((1.1 1.1, 2.2 1.1, 2.2 2.2, 1.1 2.1))');

 it return:
  ERROR: geometry contains non-closed rings

 Instead I guess this should easily closed between the (1.1 1.1 ) and (1.1
 2.1).

 Don't ?

 Just to know the postigs version I'm run :

 select PostGIS_Full_Version();

 POSTGIS="2.1.0SVN" GEOS="3.4.0dev-CAPI-1.8.0 r0" PROJ="Rel. 4.8.0, 6 March
 2012" GDAL="GDAL 1.9.1, released 2012/05/15" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" (core procs from "2.1.0SVN" need upgrade) TOPOLOGY
 (topology procs from "2.1.0SVN" need upgrade) RASTER (raster procs from
 "2.1.0SVN" need upgrade)

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