[postgis-devel] [PostGIS] #525: Contrary to doc, Multicurves do not allow the inclusion of Compound Curves
PostGIS
trac at osgeo.org
Wed May 12 12:39:40 PDT 2010
#525: Contrary to doc, Multicurves do not allow the inclusion of Compound Curves
-------------------------+--------------------------------------------------
Reporter: ravenAtSafe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.2
Component: postgis | Version: 1.5.X
Keywords: |
-------------------------+--------------------------------------------------
Per http://postgis.refractions.net/docs/ch04.html#SQL_MM_Part3,
Multicurves should be able to contain Compound Curves.
{{{
The MULTICURVE is a collection of curves, which can include linear
strings, circular strings or compound strings.
}}}
However, executing the following SQL:
{{{
select ST_GeometryFromText('MULTICURVE(COMPOUNDCURVE(CIRCULARSTRING(0
0, 1 1, 1 0),(1 0, 0 1)))', 4236);
}}}
results in this error:
{{{
ERROR: parse error - invalid geometry
SQL state: XX000
Hint: "MULTICURVE(COMPOUNDCURVE" <-- parse error at position 24 within
geometry
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/525>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list