Ticket #124 (closed defect: fixed)
Missing CompoundCurve parser test when disjoint segments
| Reported by: | colivier | Owned by: | colivier |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.4.0 |
| Component: | postgis | Version: | 1.4 |
| Keywords: | Cc: |
Description
What steps will reproduce the problem?
1) Should work (and do) COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,30 5),CIRCULARSTRING(30 5,34 56,67 89))
2) Should not work (and do neither): SELECT asewkt(geomfromewkt('COMPOUNDCURVE(CIRCULARSTRING(0 0, 1 1, 1 0), (1 0, 30 6),CIRCULARSTRING(30 5, 34 56, 67 89))'));
What is the expected output? What do you see instead? The second query should end with error as all segments in compoundcurve are not join (first point is the same than the latest from previous segment)
Change History
Note: See
TracTickets for help on using
tickets.
