[gdal-dev] Re: can ogr2ogr split polygons that cross 180 degree longitude

Mateusz Loskot mateusz at loskot.net
Tue Sep 29 14:47:23 EDT 2009


Hermann Peifer wrote:
>> What does geos-config --version say?
> 
> Before, it said: 3.0.0rc1, I now upgraded to 3.1.1
> 
> The upgrade improved the situation somewhat: "ERROR 6: GEOS support not
> enabled." is gone now.

Good.

> However, ogr2ogr -wrapdateline -t_srs EPSG:4326
> ... results now into:
> 
> ERROR 1: TopologyException: found non-noded intersection between 268.426
> 48.093, 268.537 48.0578 and 269.967 48.0697, 237.581 48.0657 268.5 48.0695
> ERROR 1: TopologyException: found non-noded intersection between 268.426
> 48.093, 268.537 48.0578 and 269.967 48.0697, 237.581 48.0657 268.5 48.0695
> Segmentation fault

I can only confirm that this error comes from GEOS library and
usually indicates invalid data

http://trac.osgeo.org/geos/ticket/155
http://trac.osgeo.org/geos/ticket/253
http://trac.osgeo.org/geos/ticket/275

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list