Ticket #213 (closed defect: fixed)
ST_CurveToLine doesn't support Compound Curves in Curve Polygons
| Reported by: | mleslie | Owned by: | mleslie |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.4.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
I'm splitting this report (from Regina) out of ticket 212 into a home of it's own.
=========
SELECT ST_CurveToLine(ST_GeomFromEWKT('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(0 0,2 0, 2 1, 2 3, 4 3),(4 3, 4 5, 1 4, 0 0)))'));
gives me
ERROR: Invalid ring type found in CurvePoly??. CONTEXT: SQL function "st_curvetoline" statement 1
This is testing against my PostGIS 1.4b build on windows.
=========
It seems sensible to test ST_LineToCurve as well.
Change History
Note: See
TracTickets for help on using
tickets.
