#2001 closed defect (fixed)
ST_CurveToLine has no effect if the geometry doesn't actually contain an arc
Reported by: | xificurk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.2 |
Component: | postgis | Version: | 2.0.x |
Keywords: | history | Cc: |
Description
ST_CurveToLine leaves geometry unchanged, if it doesn't actually contain an arc. I think it should always output linear geometry type.
⇒ SELECT ST_AsText(ST_CurveToLine(ST_GeomFromText('CURVEPOLYGON((0 0, 0 1, 1 1, 0 0))'), 2));
st_astext
CURVEPOLYGON((0 0,0 1,1 1,0 0))
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | patch_curvetoline_v1.diff added |
---|
comment:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
Keywords: | history added |
---|
Note:
See TracTickets
for help on using tickets.
Patch to make ST_CurveToLine always segmentize regardless of whether geometry contains an arc