Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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] Snapshot Mode

Post by CoolCanuck
Hi all,

I would like to share something I came across. This script will show a link titled "Enable Snapshot Mode" in the top left corner beside the country selection menu on the editor page.

I'm not certain what Snapshot mode does, but it looks like it allows you to view what the map looks like in-client/before the next map tile update. For segments, not places. This tool could be used to help revert vandalism, or to recover from a bad edit (etc).

Waze staff says this is OK-to-share. (Thanks for the communication, PesachZ!)

Any feedback/comments are appreciated :)

Important: You MUST have your WME top bar enabled (where it says Live map, your username, country etc).

There are currently two versions available:
Bookmarklet Page - do not drag this, click for page to add bookmark. Bookmarklet is a toggle. There will be no option in the top right added, it's just an on/off button itself.
Userscript (Grease/Tampermonkey)


PesachZ's description:

Code: Select all

Allows you to preview a section of the map showing it in the state it was when the tiles were last built. This allows you to see how WME looked at the time of the last tile build, and hides any edits made after that point. The code when used puts a link in the top right of WME to "Enter Snapshot Mode", and when used, it reloads the roads as they were at the time of the last tile build. I'm attaching two screenshots to demonstrate (showing an interchange which was edited significantly since the last build but the UR has traces from the old configuration).
It is a tool that could be very helpful when diagnosing routing and user reported issues especially in areas where the map has since been updated. It could even be used to repair damage to the map if we catch it before the tile build by giving us a reference to how it was before. 
CoolCanuck
Posts: 289
Has thanked: 195 times
Been thanked: 72 times

POSTER_ID:16958919

1

Send a message
Last edited by CoolCanuck on Sat Aug 27, 2016 2:25 pm, edited 8 times in total.

Post by Inactive user -1649923503-
Any update as the latest WME in theory returned snapshot mode?


Sent from my iPhone using Tapatalk
Inactive user -1649923503-
Posts: 1023
Has thanked: 404 times
Been thanked: 460 times
Send a message
-John
-------
https://j.mp/1BqcgbWhttps://s.waze.tools/c5.png
VT - State Manager
New England - Multi State Manager

Post by Inactive user -1697532064-
Thanks, CoolCanuck! I haven't tried the script, but it looks like the bookmarklet doesn't work for me. It says snapshot mode is enabled, but nothing is different on-screen, like voludu2 described a few weeks ago. Is anyone else able to use it? Running Chrome on Win7.
Inactive user -1697532064-
Wiki Master
Wiki Master
Posts: 1308
Has thanked: 549 times
Been thanked: 703 times
Send a message
Last edited by Inactive user -1697532064- on Fri Apr 08, 2016 7:27 pm, edited 1 time in total.
Galaxy S20 FE on Mint
Retired SM Ohio
Then you will know the truth, and the truth will set you free.
-John 8:32

Post by aBshield
Is the issue with the script or WME snapshot mode itself?

The script seems to work fine for me in that it enters snapshot mode, or so the WME banner says like in the past. Trouble is, there aren't any changes present, and it just seems to show the current map.

If that's the case, and this script merely exposes a slightly hidden feature of WME, I'm thinking it may be better to report the issue against WME itself, if that hasn't already been done.
aBshield
Waze Mentor
Waze Mentor
Posts: 308
Has thanked: 77 times
Been thanked: 39 times
Send a message

Post by aBshield
Besides my personal stake in losing access to the feature, I really can't think of a single reason why access for all would be a dangerous prospect for Waze. I would echo the same reasons that have been brought up already.

I found this feature incredible useful when...
  • ...coming on the scene where partial fixes had been attempted and the current editor requesting help has got them-self into a jam.
  • ...helping myself out of a jam.
  • ...determining if all the latest changes have been incorporated into the map. If I'm testing a certain setup, this was also useful to ensure alt names etc (that do not show up on Livemap) are incorporated before proceeding with test.
  • ...determining if URs or other issues are the result of a delayed tile updates.
I'm aware that one can just check the tile update status dates for some of these, but it's not always that simple. Changes in WME are not logged by time of day, so often it's necessary to wait and ensure there's at least one full calendar day difference between the current tile update status and the "last modified" attribute. There's also time zone changes to consider etc. and you really couldn't beat a quick click of snapshot mode telling you instantly what the last tile update has on record, all right in WME.
aBshield
Waze Mentor
Waze Mentor
Posts: 308
Has thanked: 77 times
Been thanked: 39 times
Send a message

Post by aBshield
Challenger3802 wrote:Looks like this feature has now been rolled out to all users, negating the need to install it as a script.

Ian.
Can you be more specific on how to activate? I don't see anything with or without the script enabled at this point. Disabled all add-ons and scripts; same deal.
aBshield
Waze Mentor
Waze Mentor
Posts: 308
Has thanked: 77 times
Been thanked: 39 times
Send a message

Post by aBshield
Okay, thanks. I've followed the L4+ debate until this point and made my personal case earlier in this thread and elsewhere. I was just a little too literal (hopeful) with Challenger3802's usage of "all users." :cry:
aBshield
Waze Mentor
Waze Mentor
Posts: 308
Has thanked: 77 times
Been thanked: 39 times
Send a message

Post by AlanOfTheBerg
Maybe Snapshot mode is broken in WME, but after I add new segments, then enable snapshot mode from the bookmarklet, all I get is the message at the top center of the map window about Snapshot mode enabled, but the map looks exactly the same, with the segments I just added.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3478 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by caltedde
AlanOfTheBerg wrote:Maybe Snapshot mode is broken in WME, but after I add new segments, then enable snapshot mode from the bookmarklet, all I get is the message at the top center of the map window about Snapshot mode enabled, but the map looks exactly the same, with the segments I just added.
+1
caltedde
Posts: 2966
Has thanked: 995 times
Been thanked: 1424 times
Send a message
Cal Tedde
Global Champ Mentor, Beta Lider
https://s.waze.tools/s0500.pnghttps://s.waze.tools/beta.png

Post by Challenger3802
Looks like this feature has now been rolled out to all users, negating the need to install it as a script.

Ian.
Challenger3802
Map Raider
Map Raider
Posts: 1127
Has thanked: 453 times
Been thanked: 163 times
Send a message
CW South Africa & Sri Lanka | AM Kent & Essex, UK | AM Southern Pakistan
IRL work for TfL
https://s.waze.tools/mapr.png https://s.waze.tools/am.png https://s.waze.tools/c5.png https://s.waze.tools/s0500.pnghttps://s.waze.tools/p1000.png
https://i.ibb.co/ZNbYyt5/RIPIain.png R.I.P. Iainhouse 21-Oct-2021