-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
add part to geometryless feature does not work on single curvepolygon layer #57255
Comments
it seems to be fixed in master by 71f3cc7 |
Deprecating QgsGeometry::addPart in favor of QgsGeometry::addPartV2 to use Qgis::WkbType instead of Qgis::GeometryType because the latter can't handle curved geometries (not specific enough). Fixes qgis#57255
Fixes qgis#57255. Dedicated PR will be submitted for master branch that will aim deprecate all addPart methods of QgsGeometry and create equivalents V2, using more precise Qgis::WkbType instead of Qgis::GeometryType.
Fixes qgis#57255. Dedicated PR will be submitted for master branch that will aim deprecate all addPart methods of QgsGeometry and create equivalents V2, using more precise Qgis::WkbType instead of Qgis::GeometryType.
Deprecating QgsGeometry::addPart in favor of QgsGeometry::addPartV2 to use Qgis::WkbType instead of Qgis::GeometryType because the latter can't handle curved geometries (not specific enough). Fixes qgis#57255
Deprecating QgsGeometry::addPart in favor of QgsGeometry::addPartV2 to use Qgis::WkbType instead of Qgis::GeometryType because the latter can't handle curved geometries (not specific enough). Fixes qgis#57255
Deprecating QgsGeometry::addPart in favor of QgsGeometry::addPartV2 to use Qgis::WkbType instead of Qgis::GeometryType because the latter can't handle curved geometries (not specific enough). Fixes #57255
@lbartoletti is it fixed in nightly? Because testing it with latest nightly give me this behaviour :
(Scenarii are described in #57261 (comment)) |
@Djedouas this means we probably need to drop the flatType call? |
and we need to extend the map tool test with this scenario |
Not sure, I don't think that it's related to the Z part of the geometry. Looking into this. |
Using the Windows build from the PR #57636 (comment) each scenario works. The nightly build is on commit 5481dab which is older than our fix. |
Fixes #57255. Dedicated PR will be submitted for master branch that will aim deprecate all addPart methods of QgsGeometry and create equivalents V2, using more precise Qgis::WkbType instead of Qgis::GeometryType.
What is the bug or the crash?
add part map does not work for single curvepolygon layers when trying to add part to geometryless feature
Steps to reproduce the issue
create a curvepolygon memory layer
create a geometryless feature from the attribute table
select it
try to add part
Versions
at least 3.34+
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: