[Qgis-user] Re: Fix polygon that is not closed?
Zoran Jankovic
zoran.jankovic at zisis.hr
Fri Dec 17 12:54:44 PST 2010
On Fri, Dec 17, 2010 at 12:55 PM, Andrea Peri <aperi2007 at gmail.com> wrote:
> >Yes, and QGIS displays the shapefile with no problem, and I was unable to
> >visually find where is this topological error... But, nevertheless, PostGIS
> >refuses to import it, and geometry validity check says its not closed :-(...
>
> What version of postgis ?
> I think the last version of postgis allow to load Unvalid Polygon. (1.5.1+)
> Surely the actula trunk version (2.0.0) has a ST_MakeValid(..) to correct
> the self-intersections.
>
> Regards,
>
>
>
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... :-)
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20101217/ce1b9547/attachment.html>
More information about the Qgis-user
mailing list