#212: compound curve in a curve polygon is flaky
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: postgis 1.4.1
Component: postgis | Version:
Keywords: |
---------------------+------------------------------------------------------
Okay this is nice -- I can now do this:
SELECT ST_GeomFromEWKT('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(0 0,2 0,
2 1, 2 3, 4 3),(4 3, 4 5, 1 4, 0 0)))');
but when I do this:
SELECT
ST_AsEWKT(ST_GeomFromEWKT('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(0 0,2
0, 2 1, 2 3, 4 3),(4 3, 4 5, 1 4, 0 0)))'));
I get
CURVEPOLYGON();
and this:
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.
--
Ticket URL: <
http://trac.osgeo.org/postgis/ticket/212>
PostGIS <
http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel