[Script] WME Road Selector

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein, Glodenox, JustinS83

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Re: [Script] WME Road Selector

Postby voludu2 » Mon Sep 28, 2015 1:32 pm

Is it possible to add a selector for "has real time closure"?
This would be very useful, for example, cleaning up after a mega-event which closed freeways in Philadelphia, and the closures have ended earlier than predicted by the city.

Thanks!
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Tue Nov 10, 2015 1:06 pm

Thank you for this.

Small UI suggestion
Please put the "Select Roads" button at the top.

This would save me the step of scrolling down to find the button every time I save and pan the screen.

Thanks
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Fri Dec 04, 2015 6:00 pm

I attempted
Has closure AND Road Type = "Ramp"

in order to select some ramp closures, but nothing was selected when I pressed the button.
https://www.waze.com/editor/?env=usa&lon=-80.07771&lat=40.41085&layers=1957&zoom=5&segments=62349147,66357275,42933029,42924929,42916869,42941120,42941119,82784828
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Fri Dec 04, 2015 7:21 pm

That's it! If a segment has closures on it, it is not editable.
Once I unchecked "editable only" road selector selected the ramps.

This was not intuitive to me.
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Mon Mar 28, 2016 11:18 am

Would it be possible to have an expression containing something along the lines of

ID found in "41742092,41744239,41746168,61957170,61957236,61957256,62511987,63840509,76308773,76308781,82565347,82565348,41746077,61915583,41767559,62511991,41742175,62511886,62511877,62511999,41747790,62512034,62511864,61915810,502132370,63205876"


This would be really useful combined with
AND Manual Locks = 6

etc.
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Mon Apr 04, 2016 6:54 pm

Yes. That does work. I am not certain why I was not seeing that the last time I tried it.
That is perfect. Thank you.
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Tue May 03, 2016 1:32 pm

Is there a way to search for a speed in the visible direction only?

There has been a speed limit change on the entire Pennsylvania turnpike.
I want to select all segments that have alt name "Penna. Tpk" and a speed limit of 65
so I can set the speed limit to 70.

Some segments have a speed limit of 55. I do not want to change these.
I have discovered, to my horror, that all these segments with a speed limit of 55, for some reason, the speed limit in the hidden direction is 65. This is going to slow me down just a tad...
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Tue May 03, 2016 2:04 pm

Here's my workaround:

Has speed limit 65 mph in any direction AND ! (Has speed limit 65 mph in hidden direction AND (Has speed limit 65 mph in only one direction))
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Wed Jun 22, 2016 11:24 pm

In the meantime, a food workaround is to use toolbox "select segments inside place", paste that PL I to the "ID=" expression box, and add the other conditions to the expression.

As always, RSEL highlights is a great companion to RSEL.
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

Re: [Script] WME Road Selector

Postby voludu2 » Sun Sep 17, 2017 8:13 pm

Should !contains not be used for alt street names?

Here is the expression I used:
State = "Delaware" AND City = "" AND Street contains ("202") AND Alt. Street ! contains ("Concord")

I wanted to select this segment:
Name: US-202 N, No city, Delaware
Alt: US-202, No city

But not these two segments:
Name: US-202 N, No city, Delaware
Alt: US-202, No city
Concord Pike, No city

Name: US-202 N, No city, Delaware
Alt: Concord Pike, No City

But RSEL selected all three.

----------------------

So I tested another expression:
State = "Delaware" AND City = "" AND Street contains ("202") AND ! ( Alt. Street contains ("Concord") )

This expression seems to work OK.
voludu2
Country Manager
Country Manager
 
Posts: 3096
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 819 times
Been thanked: 1252 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: AquaZR1, Doctorblah, jm6087, KuniaKid, Mythdraug