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

mapcache_seed - make GEOS clipper work with recent GEOS versions GEOSPreparedIntersects #331

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

nls-jajuko
Copy link
Contributor

More up to date GEOS library versions seem to assume coordinates to be set before creating LinearRing and Polygon.
Without this fix GEOSPreparedIntersects returns always 0

This patch fixes issue when using GEOS clipping. 

More up to date GEOS library seems to assume coordinates to be set before creating linearring or polygon.

Previous code set coordinates  after creating linearring and polygon.
@sdlime
Copy link
Member

sdlime commented Mar 5, 2024

No objections from me. @tbonfort or @jbo-ads, do you approve?

@jmckenna jmckenna added this to the 1.14.1 release milestone Mar 6, 2024
@jbo-ads
Copy link
Member

jbo-ads commented Mar 26, 2024

Looks fine for me, +1.

@jmckenna
Copy link
Member

jmckenna commented Apr 4, 2024

thanks @nls-jajuko !

@jmckenna jmckenna merged commit 4be395e into MapServer:main Apr 4, 2024
7 checks passed
jmckenna pushed a commit that referenced this pull request Aug 2, 2024
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

Successfully merging this pull request may close these issues.

4 participants