This function uses GEOS, so we should check again after rebuilding that:

See ogrgeometryfactory.cpp:
2321             if (oEnvelope.MinX > dfLeftBorderX && oEnvelope.MaxX > 180)
2322             {
2323 #ifndef HAVE_GEOS
2324                 CPLError( CE_Failure, CPLE_NotSupported,
2325                         "GEOS support not enabled." );
2326 #else
2327                 bWrapDateline = TRUE;
2328 #endif
2329             }

Reply via email to