This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

JOSM Validator: Cannot add MapCss rule: Cannot add instruction fixremove

0

I have this JOSM validator mapcss-rule below, which works fine.

*[ADDRESS] {
  throwerror: tr("{0} should not be uploaded", "{0.key}");
  group: tr("no-import tag");
  /* fixremove: "{0}"; */
}

If I try to uncomment the line with fixremove JOSM gives me this message in the terminal

SEVERE: Cannot add MapCss rule: Cannot add instruction fixremove: {0}!

And this is the same for any value of "fixremove" or "fixadd" I try.

What is the problem here? What do I have to do to get this working?

asked 24 Oct '19, 20:07

FredrikLindseth's gravatar image

FredrikLindseth
815132435
accept rate: 13%

edited 24 Oct '19, 20:19

Source code available on GitHub .