[josm-dev] preset syntax (problems)

Dirk Stöcker openstreetmap at dstoecker.de
Fri May 3 20:45:22 UTC 2013


On Thu, 2 May 2013, colliar wrote:

> Finally I do not understand "match":
> Is it possible to have a entry only active for certain type of object
> and/or certain other tag on the objects ?
>
> E.g.:
> * have "<combo tag="service" values="..."" only active if
> highway=service is already chosen/tagged.
> * have "<text tag="width" " only active for ways but not for closed ways.

Match is do determine if a certain object is affected by that preset or 
not. This is mainly for the display of the matching presets for any 
object. This is necessary as otherwise some important presets would never 
be displayed automatically.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list