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)

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to