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

PostGIS closed circle in Curved Polygon is not displayed #29895

Closed
qgib opened this issue May 15, 2019 · 1 comment
Closed

PostGIS closed circle in Curved Polygon is not displayed #29895

qgib opened this issue May 15, 2019 · 1 comment
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers High Priority Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented May 15, 2019

Author Name: Uwe Hebel (Uwe Hebel)
Original Redmine Issue: 22082
Affected QGIS version: 3.6.0
Redmine category:data_provider/postgis


The way to store closed Circles in PostGIS differ from circular strings. Circular strings will have three points: start, end an third point somwhere on the arc. For closed circles the PostGIS documentation says: "The exception to this is for a closed circle, where the start and end points are the same. In this case the second point MUST be the center of the arc, ie the opposite side of the circle."
In QGIS 3.6.0 closed circles will not displayed at all, when following this definition. In QGIS 2.18.2 they are displayed correctly.
When digitizing closed circles in QGIS 3.6.0 they will have 5 points on the arc. Those circles are displayed in QGIS 2.18.2 and QGIS 3.6.0.
I have tested this with Curved Polygons. However probably the same behaviour will be with Circular Strings and Compound Curves.

@qgib
Copy link
Contributor Author

qgib commented May 17, 2019

Author Name: Giovanni Manghi (@gioman)


  • regression was changed from 0 to 1
  • priority_id was changed from Normal to High

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore labels May 25, 2019
@rouault rouault self-assigned this May 29, 2019
rouault added a commit to rouault/QGIS that referenced this issue May 29, 2019
 qgis#29895)

This fix display of full circles coming from PostGIS.
rouault added a commit to rouault/QGIS that referenced this issue May 30, 2019
 qgis#29895)

This fix display of full circles coming from PostGIS.
nyalldawson pushed a commit that referenced this issue May 30, 2019
 #29895)

This fix display of full circles coming from PostGIS.
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! Data Provider Related to specific vector, raster or mesh data providers High Priority Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

2 participants