Ticket #1543 (closed defect: fixed)
ST_GetFaceGeometry exception on invalid edge, null on unexistent face
| Reported by: | strk | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | topology | Version: | trunk |
| Keywords: | Cc: |
Description
The SQL/MM document says that an exception should be raised IF the face argument references an unknown face. Doesn't say anything about faces bound by no ring (would be due to invalid topology).
The current implementation results in an exception in the latter case (no ring) but not in the former (unknown face).
In turn this doesn't help validating a topology in that the exception on invalid topology makes the whole validateTopology function bail out.
Change History
Note: See
TracTickets for help on using
tickets.
