Nice! I like the option to limit the selection to the visible screen, I’m missing this option in the toolbox. Is the script restricted to area managers and up? I think it should.
Toolbox has the possibility to show In Screen column but Toolbox has another philosophy for segment section. It makes grouping and you can select groups. For some task is Toolbox philosophy better for some it the Road Selector better and sometimes is sufficient the new WME functionality “Select entire street”
WME Road Selector is not restricted to some user only. The script doesn’t change anything therefore cannot make anything wrong.
I don’t like any restriction policy for scripts. I wrote the first version of the script few months ago as L2 editor this means I would disable the script for myself :-).
Additionally it is technically impossible to disable some script distributed as source code.
The question is what you mean with “Unnamed”.
The condition “Unnamed segment” select segments where name was never assigned. Such segments has red color and they are reported by Validator as “Unconfirmed road”.
The selection you described selects segments with empty street name. It is different condition.
There is another usage of the condition “Unnamed segment”. In combination with “Alternate name (City or Street)” it selects segments with/without alternate name.
Meh, still not working right.
I selected the above to correct a parking lot at Zoom=5, and when I zoomed out, I found that everything on the screen without a name out to zoom-4 had been selected.
I cleared that, selected “On Screen” AND “Street=(”“)” and it would not select anything.
This is dangerous in the lands of an inexperienced editor as it is.
Yes. If you want to select only the currently visible segments you have to use the AND “On Screen” condition.
Without this condition it selects from the segments it has currently it buffer. It is not entire map but it is bigger area than the screen. It depends on you zoom and previous actions. In most of cases, you don’t need take care about the area because the condition is more specific. If you want to be sure what was selected you can use the AND “On Screen” condition or zoom out after selection and check it.
I don’t think it is dangerous.
I’ve released the new version 0.6 where the problem with the On Screen condition is corrected.
The WME function onScreen for segments I used for checking doesn’t work anymore. I had to write my own check.
It is hard live of script programmers using undocumented and unsupported API :-).