[josm-dev] Relation presets
Dirk Stöcker
openstreetmap at dstoecker.de
Sat Jan 31 21:10:56 GMT 2009
Hello,
now I started the first set of a better relation handling in JOSM. The
presets file now contains a hopefully complete description for
multipolygon and turn restriction relations. Not all elements are
evaluated ATM.
What's old:
- Relation presets have been possible since the time when relations where selectable.
What's new.
I introduced some new tags which need to be filled with life:
1) parameter "type" with values way,node and relation
-- should be used for all items to allow reducing user confusion.
displaying the wiki-symbol in the presets dialog and warning for
wrong selections should be done
2) New roles section:
<roles>
<role key="from" text="from way" requisite="required" count="1" type="way" />
</roles>
key: the member role
text: description
requisite: either optional or required
count: numbers: e.g. 1 or 2 or 1,2 or 1-3,6,8 if not given then unlimited numbers
type: see point 1)
I think the above should be enough for a complete description. Now the
coding may start.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list