Bug report #15116

Bad interpretation of CircularString representing full circle

Added by Even Rouault over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:Marco Hugentobler
Category:Geometry
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23058

Description

Currently for a CircularString(p0,p1,p2) where p0 == p2, QGIS considers p1 to be the center of the circle, whereas GDAL and PostGIS follow ISO SQL/MM Part 3 which says that the center of the circle is the midpoint of [p0,p1]. It would be good for QGIS to align on GDAL & PostGIS for interoperability through exchanges of WKT/WKB geometries.

Discussion thread : https://lists.osgeo.org/pipermail/qgis-developer/2016-June/043416.html

Associated revisions

Revision 203f9755
Added by Marco Hugentobler over 8 years ago

Change full circle interpretation, fixes #15116

Revision 21b8ef0e
Added by Marco Hugentobler over 8 years ago

Merge pull request #3242 from mhugent/full_circle

Change full circle interpretation, fixes #15116

History

#1 Updated by Marco Hugentobler over 8 years ago

  • Assignee set to Marco Hugentobler

#2 Updated by Marco Hugentobler over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF