[OSM-talk] JOSM Validator

Dermot McNally dermotm at gmail.com
Mon Apr 30 00:32:11 BST 2007


Folks,

I've been using the validator for a week or so in "reduced mode".
Specifically, I had it installed in such a way that the
preset/property spell check wasn't working - or rather, wasn't finding
any errors, which seemed a little strange. On getting it going
initially I had tried enabling "Check also property values from
presets", but trying to validate caused an exception to be thrown. So
although "Spell checker" was enabled, no errors were flagged.

Today, I upgraded everything - JOSM and validator.jar. I also followed
the procedure outlined in Christoph's tutorial for getting going with
presets. This has brought about (mostly) an improvement. I can now
switch on the "check presets" option and I now get some warnings under
the heading "unknown property values". Seems good so far. However:

* I can no longer click the "fix" button. Doing so used to work, but
now throws an exception. I can post the dump here if useful, or
failing that I'll send it to the address it proposes.

* It's catching values that seem to me to be valid and established.
For example, it dislikes highway=tertiary and amenity=theatre. I
haven't so far worked out where the list of valid values is defined.

* It's failing to find a deliberately mis-spelled way property
(hiiway=test). Am I wrong to assume that this should be within the
scope of the spell checker?

I haven't overlooked any documentation on this, BTW, have I?

Dermot

PS: After all those complaints, it's only fair to mention that
validator has been a hugely useful tool for me.




More information about the talk mailing list