Opened 11 years ago

Closed 9 years ago

#232 closed enhancement (fixed)

Update Geos in OSGeo4w package

Reported by: aperi2007 Owned by: warmerdam
Priority: major Component: Package
Version: Keywords: geos
Cc: jef

Description

I think would be great to update the geos in OSGeo4W package to use the last Geos 3.3.0. It add some new and nice Spatial function like CommonShared? to retrieve common segments with orientation, CoverBy? and CoveredBy?, UnaryUnion?, and a Snap function.

Again it resolve some bug in the Geometry expecially in Union function.

Change History (19)

comment:1 Changed 11 years ago by warmerdam

Cc: jef added
Keywords: geos added
Status: newassigned

Jurgen,

Does QGIS or the OSGeo4W Spatiallite package use the GEOS C++ API? Do you perceive problems with my upgrading to GEOS 3.3?

comment:2 Changed 11 years ago by jef

No the upgrade should be fine. QGIS only uses the GEOS C-API. QGIS also doesn't use the spatialite package - but spatialite is pure C anyway.

So I don't forsee any problems upgrading the GEOS version.

comment:3 in reply to:  2 Changed 11 years ago by aperi2007

Replying to jef:

No the upgrade should be fine. QGIS only uses the GEOS C-API. QGIS also doesn't use the spatialite package - but spatialite is pure C anyway.

So I don't forsee any problems upgrading the GEOS version.

happy to read this.

comment:4 Changed 11 years ago by aperi2007

Hi, please could be update to geos 3.3.0 ?

comment:5 Changed 10 years ago by aperi2007

Resolution: wontfix
Status: assignedclosed

After more informations and news, I guess the geos 3.3.0 was no more the right choice for qgis future. So I close the ticket I opened.

Sorry for noise.

comment:6 in reply to:  5 ; Changed 10 years ago by jef

Replying to aperi2007:

After more informations and news,

Which are?

comment:7 in reply to:  6 Changed 10 years ago by aperi2007

Replying to jef:

Replying to aperi2007:

After more informations and news,

Which are?

I see in postgis the firsts experimental version will use the geos 3.3.1-dev, so perhaps is better to wait to update geos and also wait the release of postgis 200 to see what version of geos will be used. After the release of postgis 200 could be update the package to the used version of geos.

comment:8 Changed 10 years ago by aperi2007

Resolution: wontfix
Status: closedreopened

Hi, I see just now is released the geos 3.3.1. I guess this is a good version to update the geos version on osgeo4w.

regards

comment:9 Changed 10 years ago by aperi2007

Hi, any chance that the geos available in the osgeo4w package was update to the last stable 3.3.1 ?

Regards,

comment:10 Changed 10 years ago by gespiel

Hello,

some new digitizing features in QGIS-master are only available with geos version >= 3.3;

If geos ver 3.3 makes no trouble, it would be of advantage, to update the package on OSGeo4W.

Thanks and regards

Gerhard Spieles

comment:11 Changed 10 years ago by jef

See also QGIS #5161

comment:12 Changed 10 years ago by jef

Also excludes advanced stuff (like {{line_interpolate_point}}) in spatialite.

comment:13 Changed 9 years ago by aperi2007

Hi.

There is available the Geos 3.3.5. I see the osgeo4w is still using the geos 3.2.2.

Perhaps there is some incompatibility between the Geos 3.3.5 and the osgeo libraries to avoid the update ?

comment:14 Changed 9 years ago by warmerdam

The makefile.vc and nmake.opt for GEOS has changed quite a lot since I prepared it and I find I am no longer sufficiently motivated to build this package from the current nmake files. Perhaps someone else would like to do it?

comment:15 Changed 9 years ago by aperi2007

What VC version is need to compile for osgeo4w ?

comment:16 Changed 9 years ago by warmerdam

This page:

http://trac.osgeo.org/osgeo4w/wiki/pkg-geos

indicates VC9 (I think this is Visual Studio Express 2008).

The reason it (may) be sensitive is because I believe that QGIS uses the C++ API directly as opposed to the suggested approach of using the C API which makes versioning less sensitive.

Possibly Jurgen can comment on this.

comment:17 in reply to:  16 Changed 9 years ago by jef

Replying to warmerdam:

Possibly Jurgen can comment on this.

Um, I already did 18 months, when you had the same question - see the comment above ;)

comment:18 Changed 9 years ago by warmerdam

Doh!

Well, then I'll try it with my new VC version and see how things go.

comment:19 Changed 9 years ago by warmerdam

Resolution: fixed
Status: reopenedclosed

GEOS Package updated to 3.3.5 and it seems to be working ok. Please test.

Note that this packaging was essentially "out of the box" from the source, and was done on the new OSGeo4W Amazon build instance.

Note: See TracTickets for help on using tickets.