Ticket #965 (closed defect: fixed)
ST_AddIsoNode allows adding non-isolated nodes (nodes with containing_face=null)
| Reported by: | strk | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | topology | Version: | trunk |
| Keywords: | Cc: |
Description
According to SQL/MM, the ST_AddIsoNode function allows passing 'null' as the "containing face". This is allowed specifically for the case in which an isolated node is not inside a face.
Now, since the same document also refers to an "universal face", which has (again, in the spec) a special face identifier 0, I guess that's the value we should write in "containing_face" field of the node table, to distinguish the node from a non-isolated one.
This would be pretty much equivalent to forbid passin 'null' and allow passing '0', but the specs are confusing on the matter.
Change History
Note: See
TracTickets for help on using
tickets.
