Excellent - thank you!berestovskyy wrote:Sure, let's do it!davidg666 wrote:Would you consider adding country-specific checks for Ireland?
Both, I reckon: check that all roads beginning Mnn are of type Freeway, and all roads of type Freeway begin with Mnn.berestovskyy wrote:Shall we check if a Mnn road is Motorway, if a Motorway is named Mnn or both?davidg666 wrote:Only motorways (name begins with Mn or Mnn (eg M6, M18 or M50)) should have Freeway type.
Ah, OK - I thought I'd seen it complaining about a town with this pattern in its name. I'll keep an eye out and see if I notice it again, and give you a permalink if it does.berestovskyy wrote:Sure, Validator reports incorrect city name only if it sees "Blackwater (Wexford)" and "Blackwater" names during the same map scan. You can use "Clear report" button to clear the city cache.davidg666 wrote:Names in parentheses after city names *are* valid (for example "Blackwater (Wexford)").
Please give me a permalink if you have a problem with this check.
Yes - the cardinal direction should *almost* always be there (because motorways are always split) however motorways *occasionally* end with a roundabout or a short two-way stretch that doesn't have a cardinal direction.berestovskyy wrote:So, Motorways are either 'Mxx' or 'Mxx[space]<N, S, W or E>'davidg666 wrote:Cardinal direction indicators on motorways (such as the 'N' in "M7 N") are never in parentheses.
Almost, except that major highways can also have cardinal directions (just like motorways) when they're split. (although I guess the regex that matches 'Nxx[space]<local name, i.e. letters, digits, spaces or dots>' would also match 'Nxx[space]<cardinal direction>' too, so that's fine).berestovskyy wrote:Majors are 'Nxx' or 'Nxx[space]<local name, i.e. letters, digits, spaces or dots>'
Exactly! (split minor highways can also have cardinal directions (just like major highways) but the pattern for local name should match that too.berestovskyy wrote:Minos are 'Rxxx' or 'Rxxx[space]<local name, i.e. letters, digits, spaces or dots>'
Thank you!
++David \ davidg666
Re: [Script] WME Validator 0.4.6 (BETA) / 12.01.2014