[postgis-users] Trying to import natural earth data into

Edward Mac Gillavry emacgillavry at hotmail.com
Fri Jan 7 12:07:15 PST 2011


Thread @ natural earth data forum: http://www.naturalearthdata.com/forums/topic.php?id=81

E


> Date: Fri, 7 Jan 2011 09:03:44 -0600
> From: david.fawcett at gmail.com
> To: postgis-users at postgis.refractions.net
> Subject: Re: [postgis-users] Trying to import natural earth data into
> 
> Since it looks like there is a significant problem with the Natural
> Earth data and many people are attempting to clean the data up in
> parallel, has anyone approached the Natural Earth folks and made them
> aware of the problem so they can hopefully fix the source data?
> 
> David.
> 
> On Fri, Jan 7, 2011 at 12:51 AM, Brian Hamlin <maplabs at light42.com> wrote:
> > 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
> >
> _______________________________________________
> 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/e4c42d8b/attachment.html>


More information about the postgis-users mailing list