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

David Fawcett david.fawcett at gmail.com
Fri Jan 7 07:03:44 PST 2011


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
>



More information about the postgis-users mailing list