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

Expose QgsGeos class to PyQGIS #59749

Merged
merged 4 commits into from
Dec 6, 2024
Merged

Conversation

nyalldawson
Copy link
Collaborator

This class has lots of (very useful!) GEOS specific functionality which is not exposed through the base QgsGeometryEngine class.

Originally the intention was that the GEOS engine could be replaced by alternative engines at some stage, but that hasn't been used for the past decade and we're unlikely to see a pressing need for this in future.

This class has lots of (very useful!) GEOS specific functionality which
is not exposed through the base QgsGeometryEngine class
Ensures QgsGeometry.createGeometryEngine returns a QgsGeos object
for use in Python
This is more flexible then always returning QgsGeometry
@nyalldawson nyalldawson added API API improvement only, no visible user interface changes Changelog Items that are queued to appear in the visual changelog - remove after harvesting labels Dec 5, 2024
@qgis-bot
Copy link
Collaborator

qgis-bot commented Dec 5, 2024

@nyalldawson

This pull request has been tagged for the changelog.

  • The description will be harvested so please provide a "nearly-ready" text for the final changelog
  • If possible, add a nice illustration of the feature. Only the first one in the description will be harvested (GIF accepted as well)
  • If you can, it's better to give credits to your sponsor, see below for different formats.

You can edit the description.

Format available for credits
  • Funded by NAME
  • Funded by URL
  • Funded by NAME URL
  • Sponsored by NAME
  • Sponsored by URL
  • Sponsored by NAME URL

Thank you!

@github-actions github-actions bot added this to the 3.42.0 milestone Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 31b9031)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 8423ff6)

Co-authored-by: Harrissou Sant-anna <[email protected]>
@nyalldawson nyalldawson merged commit e2e99b6 into qgis:master Dec 6, 2024
30 of 31 checks passed
@nyalldawson nyalldawson deleted the geos_sip branch December 6, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API improvement only, no visible user interface changes Changelog Items that are queued to appear in the visual changelog - remove after harvesting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants