#175 closed defect (fixed)
Package a newer version of GEOS (3.2)
Reported by: | ricardogsilva | Owned by: | warmerdam |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | pkg-geos | |
Cc: | jef |
Description
I have developed a plugin for QGis that requires GEOS >= 3.2 and Shapely >= 1.2 and would like to make it available for users of the osgeo4w packages. Please package a newer version of the GEOS library. Current version is 3.2 and the version offered by osgeo4w is 3.0. Thank you
Change History (10)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Hi,
Is possible to update geos to a more recent version rather than 3.0.3 ? The actually stable version of geos (3.2.2) is more affordable in spatial analyst.
comment:3 by , 14 years ago
I also second this request. I see crashes on Vista with gdaldev (1.8.0dev) when using GEOS functions because GEOS 3.0.3 doesn't have GEOSFree(), so we fallback to standard free() which causes immediate crashes
comment:4 by , 14 years ago
Keywords: | pkg-geos added |
---|---|
Owner: | changed from | to
I'll try to do it this week.
comment:5 by , 14 years ago
Type: | enhancement → defect |
---|
comment:6 by , 14 years ago
Cc: | added |
---|---|
Status: | new → assigned |
QGIS will presumably have to be rebuilt with the new GEOS version so I've added Jurgen to the cc: list for coordination.
comment:7 by , 14 years ago
Upon investigation qgis does not seem to depend on the geos c++ ABI.
I have uploaded a 3.2.2 build done with VC9 to the OSGeo4W test environment. Testing and feedback welcome.
comment:8 by , 14 years ago
There's a missing .h that triggers an error while including geos_c.h
C:\utilisateurs\even\osgeo4w/include\geos_c.h(145) : fatal error C1083: Impossib le d'ouvrir le fichier include : 'geos/export.h' : No such file or directory
GDAL would also need a recompile so to use GEOSFree() instead of free(). This is a compile time check :
/* Since GEOS 3.1.1, so we test 3.2.0 */ #if GEOS_CAPI_VERSION_MAJOR >= 2 || (GEOS_CAPI_VERSION_MAJOR == 1 && GEOS_CAPI_VERSION_MINOR >= 6) GEOSFree( pabyBuf ); #else free( pabyBuf ); #endif
comment:9 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I have uploaded a -1 version of the package with the extra include file, and rebuilt gdal-dev with the new GEOS.
Second it. It is pretty easy to reproduce errors while geoprocessing (intersects, clips, etc.) under (for example) QGIS in Windows. Under Linux (Ubuntu, GEOS 3.2) the same vectors/operations are handled flawlessly.