[OSM-dev] Datamodel relation/member constraints
Stefan de Konink
skinkie at xs4all.nl
Fri May 30 22:26:02 BST 2008
Thomas Wood schreef:
>> type=node ref=1 role=from
>> type=node ref=2 role=at
>> type=node ref=1 role=at
>> type=node ref=3 role=to
> If by ref you mean node id, then yes, the second 1 is not allowed.
> The API used to throw an unhandled exception back at you (500) if you
> did it because of an index constraint on the database.
> This has recently been fixed to actually return a nice error and stop
> corrupting the database. (Although it may not have been deployed yet)
Then I would suggest a change for 0.6 to allow a relation as a path :)
More information about the dev