<br><br><div class="gmail_quote">On Fri, Dec 17, 2010 at 12:55 PM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<pre><div class="im">>Yes, and QGIS displays the shapefile with no problem, and I was unable to<br>>visually find where is this topological error... But, nevertheless, PostGIS<br>>refuses to import it, and geometry validity check says its not closed :-(...<br>

<br></div>What version of postgis ?<br>I think the last version of postgis allow to load Unvalid Polygon. (1.5.1+)<br>Surely the actula trunk version (2.0.0) has a ST_MakeValid(..) to correct<br>the self-intersections.<br>
<br>Regards,<br clear="all">
</pre><br></blockquote><div><br></div><div>Ah, an eye opening comment indeed :-). I realized I was using SPIT plugin, when I had the more advance shp2pgsql at hand... I am actually using PostGIS 2.0 from SVN, so I was able to import those shp with no problem... ...for now... :-)</div>
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>
-----------------<br><br>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br>