[postgis-users] Trying to import natural earth data into
cavallini@faunalia.it
cavallini at faunalia.it
Thu Jan 6 23:12:30 PST 2011
Then you can try the various v.clean option. There is one to remove dangles, for instance.
Happy hunt!
---
http://faunalia.it/pc
----- Reply message -----
Da: "Brian Hamlin" <maplabs at light42.com>
Data: ven, gen 7, 2011 07:51
Oggetto: [postgis-users] Trying to import natural earth data into
A: <postgis-users at postgis.refractions.net>
regarding GRASS and PostGIS on Natural Earth vectors
unfortunately, it seems that a v.in.ogr / v.out.ogr round trip
does *not* clean the vectors completely, as tested by st_isValid()
--
GRASS trunk (7)
PostGIS 1.5.3
current Natural Earth shp files,
tested table: 10m_urban_areas
12,022 polys
st_isValid() shows 31 errors
self-intersection and ring self-intersection
PostGIS ST_Buffer(0) creates output
that is clean of these errors, according to PostGIS
GRASS 7 v.in.ogr / v.out.ogr creates output
that still has 14 polys with "ring self-intersection"
according to PostGIS
-
ps -
this is true with or without benefit of the mighty "for" loop
best regards
-Brian
==
Brian Hamlin
planetwork.net
OSGeo California Chapter
(415) 717-4462 cell
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110107/8e0202ed/attachment.html>
More information about the postgis-users
mailing list