Opened 13 years ago
Closed 12 years ago
#525 closed defect (fixed)
Contrary to doc, Multicurves do not allow the inclusion of Compound Curves
|Reported by:||ravenAtSafe||Owned by:||pramsey|
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
Change History (1)
comment:1 by , 12 years ago
|Milestone:||PostGIS 1.5.3 → PostGIS 2.0.0|
|Status:||new → closed|
Note: See TracTickets for help on using tickets.
Obviously this is an easy case to forget, as I forgot it in reworking the parser for 2.0 as well. It is now handled in 2.0 at r6364.