Re [Qgis-developer] Planning for QGIS 1.0.0 '????

Mateusz Loskot mateusz at loskot.net
Sat Aug 2 07:27:56 EDT 2008


Tim Sutton wrote:
> Hi
> 
> 2008/8/2 Mateusz Loskot <mateusz at loskot.net>:
> 
>>> So I think in the short term finding
>>> a workaround for cutedges (perhaps only calling it #ifndef GEOS_3_1
>>> or somthing) would be good.
>> You mean to wrap the new call in GEOS sources?
> 
> No I meant to only do the cutedges check in qgis if we have the
> correct c-api supported geos version available on the system. We are
> awating feedback from Marco to see if this is feasible.

Tim,

I see. If you want to check it in compile time, then you can test
value of GEOS_VERSION_* macros [1]. If you want to test it in run time,
then GEOSversion [2] is handy.

[1] http://trac.osgeo.org/geos/browser/trunk/capi/geos_c.h.in
[2] http://trac.osgeo.org/geos/browser/trunk/capi/geos_c.cpp#L1462

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


More information about the Qgis-developer mailing list