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.

Post Reply
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.

[Script Idea] - Choose two way street as default

Post by
Hi there,

I am really looking for a feature that when I create a new street I do not have to change always from one way to two way streets.

A default setting for two way street (or anything else in the drop down menu) would make editing so much easier and faster ;-)

What do you think about it?

Greets Phil

POSTER_ID:16246189

1

Send a message

Post by AlanOfTheBerg
jondrush wrote:We made the request to waze to make two way the default for new roads, and they seemed very receptive of the idea. Let's see if it makes it to production.
I thought they would have made the change right away, but said they needed to discuss with Ehud first.

Didn't see this in the bug list, so go here to vote: https://bugs.waze.com/show_bug.cgi?id=5467
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3479 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by AlanOfTheBerg
GrimesGuy wrote:Any news on this? Also have the name fields be already open would be more efficient.
Waze answered for the bug report in terms of what WME will eventually do natively. However, it doesn't appear anyone has written any kind of script.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3479 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by AlanOfTheBerg
berestovskyy wrote:Ok, here is the script:

Code: Select all

Waze.Feature.Vector.Segment.prototype.DEFAULT_NEW_SEGMENT_ATTRIBUTES.revDirection = true
So someone could easily drop this into a plugin to load at startup. This works fine, but, as expected, it reverts whenever a permalink is loaded.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3479 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by AlanOfTheBerg
GrimesGuy wrote:So could this be added to the WME Toolbox?
Easily.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3479 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by AlanOfTheBerg
GrimesGuy wrote:Is there a spot to request new features for it?
The WME Toobox thread
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3479 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by AlanOfTheBerg
Keep in mind that I believe this will cause roundabouts to also be set as 2-way by default because that segment drawing is done using the same code and relies on the prototype setting. Perhaps someone could verify this.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3479 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by berestovskyy
Ok, here is the script:

Code: Select all

Waze.Feature.Vector.Segment.prototype.DEFAULT_NEW_SEGMENT_ATTRIBUTES.revDirection = true
UPD:
AlanOfTheBerg wrote:Keep in mind that I believe this will cause roundabouts to also be set as 2-way by default
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message
Last edited by berestovskyy on Sun Jan 19, 2014 6:18 pm, edited 1 time in total.

Post by berestovskyy
UPD:
AlanOfTheBerg wrote:Keep in mind that I believe this will cause roundabouts to also be set as 2-way by default
1. Userscript: (removed)
2. Or you can just drop the line into your favorite script:

Code: Select all

Waze.Feature.Vector.Segment.prototype
	.DEFAULT_NEW_SEGMENT_ATTRIBUTES.revDirection = true
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message
Last edited by berestovskyy on Sun Jan 19, 2014 6:17 pm, edited 2 times in total.

Post by berestovskyy
I'll include the option into the next WME Validator release.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
AlanOfTheBerg wrote:Keep in mind that I believe this will cause roundabouts to also be set as 2-way by default
Thanks, fixed in Validator 0.4.9.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message