Replaced deprecated method which was causing console warnings.
Fixed compatibility issues with WME Color Highlights. Both now play nicely.
Added option to choose dashed highlight.
Added option to choose either orange or magenta for highlight colour.
Other code cleanup bits and pieces.
As with most scripts I don’t have the time to test thoroughly so please post any issues here (I don’t guarantee that I will be able to do anything about it though :mrgreen: ).
Added option to turn layer off in Layers menu in ‘Scripts’ group.
Road types in left side panel reflect locale, eg. if you use the en-GB browser it should say ‘Parking Roads’ instead of ‘Parking Lot Roads.’
I’m bringing this question here from Discord as it’ll help me keep track of it.
The list of abbreviations has changed significantly since SNC was first built. I intend to bring it up to date to match the current list however there are some that are causing problems with RPPs. Discussion here.
It has been suggested that we don’t highlight the problematic ones until the problems are sorted but SNC works by highlighting any segment that does not match a list of given abbreviations. I propose having SNC accept any of the ones under discussion as valid (ie. not highlight them) until the current issues are sorted out, at which point I will update it.
Another issue is that of service roads. I seem to recall a discussion concluding that either “Blah St Service Rd” or “Blah St Service Road” is acceptable. Should SNC accept both?
Highlighting service roads, etc. isn’t a problem, personally. The script is a tool to draw my attention to 95% of problems, it won’t replace my editing discretion, and I know what I need to ignore. Maybe you could add some advice of what to ignore into the “settings page” though?
Thanks again, Big K, for maintaining this script! It’s incredibly valuable to me as I find the highlighter tool extension on RSel unreliable.
And darn, there are some good points I didn’t consider either.
Settings now persist after switching to Event mode and back.
The valid abbreviations have been updated to match the wiki.
I have changed the Ignore list to include the proposed abbreviations listed at the discussion above – with the exception of ‘Ter’ – so that you can choose to include them or not.
And I just remembered I forgot to do anything about service roads so I’ll include that in the next update.
Let me know if you find anything that needs to be added.
Currently if a street starts with "The " it will not trigger as being invalid. This is to allow names such as “The Corso” and “The Esplanade”, etc.
However it will highlight if the word “The” is not at the start of the name. This results in a valid name such as “C312 - The Circuit” being highlighted. To address this I propose changing it so that the word “The” followed by any other word anywhere in the name will not trigger the highlight. Can anyone see a problem with this approach?
Looks like there’s a bug in the script as it is still highlighting unnamed parking lot, private, etc despite the setting set to FALSE. I’ve reported it to the dev.
Can this be rolled back as there are ramp names which are also affected. I would suggest his change is causing way more issues than the attempt to fix the Saint problem.
I’m a bit confused by this Saint/Street thing. The way SNC works – and it’s been this way from the start – is it will allow ‘St’ at the end of the string. If ‘St’ appears anywhere else in the string it will highlight.
It is the opposite for ‘St.’ It will allow ‘St.’ at the start and middle but not at the end. This has worked with the way TTS was set up because TTS would pronounce ‘St’ as ‘Street’ and ‘St.’ as ‘Saint.’
My plan was to wait until all this Saint/Street thing was sorted out and then make any adjustments if necessary. If anyone has an example of where it is highlighting incorrectly post a permalink and I’ll check it out.
[Edit] Some confusion might be coming from the fact that “Service Road” is treated as a valid extension such as “East”, “West” etc and is trimmed off before the test is made. So “Murray St Service Road” would be treated as if it were “Murray St”
Came on here to try & find out why my Waze has recently started calling local streets “Saint” instead of street. I guess it’s a problem for others too.
I’m finding it to be inconsistent - some streets are fine, but the next street is not. On a drive yesterday I went from a Street, into a Saint, then another Saint and back into a Street.