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

QgsGeometryUtils::segmentizeArc(): fix full circle segmentization (fixes #29895) #30010

Closed
wants to merge 1 commit into from

Conversation

rouault
Copy link
Contributor

@rouault rouault commented May 29, 2019

This fix display of full circles coming from PostGIS.

@rouault rouault added backport release-3_4 Bug Either a bug report, or a bug fix. Let's hope for the latter! labels May 29, 2019
@rouault rouault force-pushed the fix_29895 branch 2 times, most recently from ad23bde to 0d104b6 Compare May 29, 2019 18:22
 qgis#29895)

This fix display of full circles coming from PostGIS.
rouault added a commit to rouault/QGIS that referenced this pull request May 29, 2019
There was a lack of a JSon array around rings of a polygon.
This issue is not present in 3.4

Also fixes an issue with gcc 5.5 of Ubuntu 16.04 that doesn't behave
properly with C++11 brace syntax with code from nlohmann/json.hpp.
The code compiles but the result is invalid: `json foo{ json::array{} }`
is serialized as [[]] instead of []. So use old-style constructor
instead: `json foo( json::array() )`

This PR is on top of qgis#30010
nyalldawson pushed a commit that referenced this pull request May 30, 2019
There was a lack of a JSon array around rings of a polygon.
This issue is not present in 3.4

Also fixes an issue with gcc 5.5 of Ubuntu 16.04 that doesn't behave
properly with C++11 brace syntax with code from nlohmann/json.hpp.
The code compiles but the result is invalid: `json foo{ json::array{} }`
is serialized as [[]] instead of []. So use old-style constructor
instead: `json foo( json::array() )`

This PR is on top of #30010
@rouault
Copy link
Contributor Author

rouault commented May 30, 2019

Was included in #30012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant