[Talk-GB] inferred single-carriageway NSL?

Ed Loach ed at loach.me.uk
Thu Mar 17 08:52:44 GMT 2011


Peter wrote:
> Then there are the '30mph' which should for consistency be '30
mph' (with a space).

Kevin replied:
> I don't see the point of editing just for consistency. Developers
should handle 
> leading/trailing spaces, or the lack thereof, and different
capitalisation, as 
> without any input validation the data will always be inconsistent.

I agree with Kevin on this point. JOSM's mph maxspeed highlighting
doesn't care about the space and anything that uses the RegEx
expressions on the Key:maxspeed page doesn't care either (I modified
the wiki page the other day having noticed that someone had added
"Note the space" to add "Which is optional" having tested the RegEx
expressions in question).

Certainly (for consistency) all roads in Tendring with maxspeed tags
don't have a space (and those that chriscf changed I changed back
when removing the FIXME:nsl tags) - mainly as that's how I started
adding them, and my Maperitive rules for maxspeed highlighting
didn't handle the space (I've amended the rules since when I
realised why lengths of road that had been highlighted weren't after
chriscf's changes), though checking Mapinfo it seems I might be in a
minority (e.g. ~32000 ways are "30 mph" compared with ~17000 which
are "30mph").

Ed




More information about the Talk-GB mailing list