Skip to content

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
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