[postgis-users] Invalid Geometry

Joseph Spenner joseph85750 at yahoo.com
Mon Dec 28 07:41:46 PST 2015


Did you try ST_MakeValid, and compare the before/after?   Might provide some info.

http://postgis.org/documentation/manual-svn/ST_MakeValid.html If life gives you lemons, keep them-- because hey.. free lemons. "~heart~ Sticker"  fixer:  http://microflush.org/stuff/stickers/heartFix.html
 

      From: Student Saedi <y.saedi at student.utwente.nl>
 To: postgis-users at lists.osgeo.org 
 Sent: Monday, December 28, 2015 4:16 AM
 Subject: [postgis-users] Invalid Geometry
   
I'm using PostgreSQL 9.5 and during processing my 3D dataset I receive invalid geometry of  polyhedral surfaces, although the geometry seems correct. The error is: too few points in geometry component. How can I fix this problem?

SELECT st_isvalidreason(ST_geomfromtext('POLYGON Z ((445541.707540942 5444906.92146704 5.2,445541.707540942 5444906.92146704 3.69,445541.560237253 5444906.88199714 3.69,445541.560237253 5444906.88199714 5.2,445541.707540942 5444906.92146704 5.2))')) as valid
Thanks 
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/postgis-users

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20151228/8b4cfb69/attachment.html>


More information about the postgis-users mailing list