[josm-dev] Disabling parts of internal style

Paul Hartmann phaaurlt at googlemail.com
Sun Nov 18 18:36:50 GMT 2012


On 11/17/2012 02:22 PM, Jiri Klement wrote:
> Hi,
>
> is there a way to do small custom modifications to internal element style?
> I know I can copy elemstyles.xml and do my modifications but I would prefer
> to have my own little style file that contains only changes I don't like in
> elemstyles.xml.
>
> To be specific, I don't like piste:difficulty rendering. It's wide solid
> line that hides path/track bellow. I would like to have it completely
> disabled.

Not only do pistes spoil the landscape in the summer, but now you cannot 
even get rid of them when editing the map. :)

[5591] should solve the problem. You can hide pistes with the following 
style:

way["piste:difficulty"][!is_prop_set("width", "under_1")] {
     width: 0;
}
way["piste:difficulty"]::under_1 { width: 0; }

Paul




More information about the josm-dev mailing list