[postgis-tickets] [PostGIS] #3419: ST_CurveToLine not behaving as expected on 3 point circle
PostGIS
trac at osgeo.org
Wed Jan 6 03:12:29 PST 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.1
Component: postgis | Version: 2.2.x
Keywords: |
---------------------+---------------------------
Compare results of this query
{{{
SELECT ST_GeomFromText('CIRCULARSTRING( -1 0, 0 0, -1 0)'),
(SELECT ST_CurveToLine(ST_GeomFromText('CIRCULARSTRING( -1 0, 0 0, -1
0)'))),
(SELECT ST_GeomFromText('CIRCULARSTRING(0 0, 4 0, 4 4, 0 4, 0 0)')),
(SELECT ST_CurveToLine(ST_GeomFromText('CIRCULARSTRING(0 0, 4 0, 4 4, 0 4,
0 0)')));
}}}
The second statement returns a line with half a radius of original
circularstring.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3419>
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