[postgis-tickets] [PostGIS] #3419: ST_CurveToLine not behaving as expected on 3 point circle

PostGIS trac at osgeo.org
Sat May 14 15:54:09 PDT 2016


#3419: ST_CurveToLine not behaving as expected on 3 point circle
----------------------+---------------------------
  Reporter:  zimmicz  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.2.3
 Component:  postgis  |    Version:  2.2.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by dbaston):

 Are you using QGIS by chance?  It looks to me like QGIS is incorrectly
 rendering {{{CIRCULARSTRING ( -1 0, 0 0, -1 0 )}}} .  It should look like
 the ST_CurveToLine result but instead passes through the point (1,0).

 Interestingly, Microsoft considers the use of a three-point CIRCULARSTRING
 to define a circle invalid:
 https://msdn.microsoft.com/en-us/library/ff929141.aspx

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3419#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list