Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility for building against a different version of GEOS #491

Open
rumski20 opened this issue Oct 28, 2024 · 3 comments
Open

Possibility for building against a different version of GEOS #491

rumski20 opened this issue Oct 28, 2024 · 3 comments

Comments

@rumski20
Copy link

rumski20 commented Oct 28, 2024

What is the bug or the crash?

Do you know if there is a way, using this image, to build PostGIS against a different version of GEOS?

When I run the image as is, PostGIS is built using GEOS 3.11.1.

select postgis_geos_version();

postgis_geos_version
3.11.1-CAPI-1.17.1

However, the current GEOS version is 3.13.x and there are some new functions, like ST_CoverageSimplify that require GEOS version 3.12+

Is it possible to specify the GEOS version PostGIS uses when it builds?

Thanks again for this awesome docker image.

Steps to reproduce the issue

n/a

Versions

17-3.5

Additional context

No response

@NyakudyaA
Copy link
Collaborator

NyakudyaA commented Oct 31, 2024

@rumski20 I think this can be tackled two ways

  • Change the base image in use, currently we using bookworm but I see there are newer versions of debian:trixie-slim this should hopefully have newer versions of geos
  • Compile postgis and geos

The first option would be more straightforward

@rumski20
Copy link
Author

@rumski20 I think this can be tackled two ways

* Change the base image in use, currently we using bookworm but I see there are newer versions of debian:trixie-slim this should hopefully have newer versions of geos

* Check which package installs geos and have a compiled geos version which is compatible with postgis

The first option would be more straightforward

Thanks. I'll give this a try and report back.

@NyakudyaA
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants