[postgis-devel] [PostGIS] #212: compound curve in a curve polygon is flaky
PostGIS
trac at osgeo.org
Sun Jun 28 19:06:26 PDT 2009
#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
More information about the postgis-devel
mailing list