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

Hermann Peifer peifer at gmx.eu
Tue Sep 29 06:45:00 EDT 2009


 > 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. 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

:-(

Hermann

Mateusz Loskot wrote:
> Hermann Peifer wrote:
>> Hmm. With a fresh ogr2ogr from svn, I am running into this error:
>>
>> ERROR 6: GEOS support not enabled.
>> ERROR 6: GEOS support not enabled.
>>
>> Simply adding the configure option  --with-geos=yes doesn't help. The 
>> configure output is:
>>
>> checking for geos-config... 
>> /home/peifer/local/FWTools/bin_safe/geos-config
>> checking for GEOS version >= 2.2.0... yes
>> checking for GEOSversion in -lgeos_c... no
>>
>> Any hint how to fix this?
>
> What version of GEOS you have installed?
> What does geos-config --version say?
>
> If answers to the questions above suggest everything should work,
> try to find "error" messages related to GEOS in config.log and paste
> them here or somewhere (if large).
>
> Also, you may try to call
>
> ./configure --with-geos=/path/to/geos-config
>
> Best regards,


More information about the gdal-dev mailing list