Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3664 closed defect (worksforme)

st_curvetoline turns arcs into circles

Reported by: mjurce Owned by:
Priority: blocker Milestone: PostGIS 2.3.1
Component: postgis Version: 2.0.x
Keywords: curve Cc:

Description

Hi, this geom with last very small arc will be turned to circle, that is worng:

select st_curvetoline(st_geomFromText('MULTICURVE( CIRCULARSTRING(2719518.614 1096168.495,2719519.485 1096167.76,2719520.239 1096166.906), CIRCULARSTRING(2719520.239 1096166.906,2719520.463 1096166.411,2719520.559 1096165.876), CIRCULARSTRING(2719520.559 1096165.876,2719520.587 1096164.96,2719520.389 1096164.066), CIRCULARSTRING(2719520.389 1096164.066,2719520.388 1096164.062,2719520.386 1096164.059) )'))

Attachments (2)

arcs.png (36.1 KB ) - added by mjurce 7 years ago.
arcs turned to circle
st_curvetoline_230.png (6.1 KB ) - added by robe 7 years ago.

Download all attachments as: .zip

Change History (4)

by mjurce, 7 years ago

Attachment: arcs.png added

arcs turned to circle

comment:1 by robe, 7 years ago

Milestone: PostGIS 2.3.1PostGIS 2.3.2
Resolution: worksforme
Status: newclosed

Which version was this tested on?

I just tested on my

POSTGIS="2.3.0 r15146" GEOS="3.6.0-CAPI-1.10.0 r4265" PROJ="Rel. 4.9.1, 04 March 2015" GDAL="GDAL 2.1.1, released 2016/07/07" LIBXML="2.7.8" LIBJSON="0.12" RASTER

and I do not get a circle at the end like your image shows. I have attached what I get. I'm gong to close this.

by robe, 7 years ago

Attachment: st_curvetoline_230.png added

comment:2 by robe, 7 years ago

Milestone: PostGIS 2.3.2PostGIS 2.3.1
Note: See TracTickets for help on using tickets.