Wazeopedia Revamp is live! read the post and join the advanced editing webinar on Dec 4th
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] WME UR-MP Tracking

Post by
Hi all,

Download on Greasyfork
For FireFox: install it in GreaseMonkey
For Chrome: install it in TamperMonkey
DO NOT INSTALL AS EXTENSION

I wrote a long user manual below.
Even if some of you already know and use this script, I recommend to all to read carefully chapter 9 "Warning". Please, this is important.

Compared to previous version, the main adds are custom areas to scan, stats, and some filters. And for CM, the ability to scan their country and subsets if available.

Many thanks to Havanaday for drawing all US states borders, and all beta testers: Exolium, Myriades, Seb-d59, Sebiseba, Mboris34, Billoute720, Joker40, Fifibdx, Yopinet, OrbitC, and others.

Enjoy.

User Manual
TOC:
  • Introduction
  • GUI
  • The UR tab
  • The MP tab
  • The Stats tab
  • The Area tab
  • Scans
  • Background processes
  • WARNINGS (the most important chapter)
  • additional info
  • Conclusion
  • Introduction
    the main idea is to display a list of all UR and all MP you can access regarding your editing rights.
  • GUI
    The script adds a new tab in the left panel.
    This tab contains:
    1. a header:
      • the name of the script with a link to the forum topic
      • followed by the version number
      • followed by a check box to enable or disable the script
    2. a quick option
      • check box distance (explanations below)
      • check box auto scan (explanations below)
    3. a scan menu
      this menu contains a link "editable area", and optionally, others areas to scan
      Editable area is your drives and your managed area(s) if available. It corresponds to the layer "editable area" in WME.
      See chapter Scan for more details
    4. 4 tabs
      • UR: the list of URs
      • MP: the list of MPs
      • stats: statistics computed from the two lists
      • areas: manage areas to scan
  • The UR tab
    1. 2 links:
      • mark all UR as read (explanations below)
      • clear list: remove all URs: if you clear the list, and scan again to rebuild the list, you will loose the status of blacklisted and visited (see below)
    2. Filter menu
      Each entry of this menu will hide some URs. A tool tip text explains each filter.
      See chapter WARNINGS to setup the filter "Limit to". It is important!
    3. UR list
      is a table where each row is a UR
      Background color of the row could be:
      • White: UR visited
      • Grey: UR you follow
      • Blue: UR not visited
      • green: Last visited UR
      Columns are:
      • blacklist:
        click the icon to blacklist the UR (or whitelist a blacklisted UR)
      • Ages:
        the color shows the age of the UR.
        • From yellow to orange to red to purple = youngest to oldest
        • green: closed UR
        • black: blacklisted UR
        number: age in days of the last comment. If no comment, displays a "-"
        Sortable in the header of the table:
        • top icon = sort on UR age (colors). Click again to reverse
        • bottom icon = sort on last comment age (number). Click again to reverse
        tooltiptext shows the age of the UR and more informations for closed URs
      • Type:
        tooltiptext shows the full text
        Sortable in the header of the table. Click again to reverse
      • Description:
        text posted by the reporter
        "N/A" if not available
        Long text scrolls
        tooltiptext shows the full text
        Not sortable
      • Comments:
        Number of comments
        tooltiptext shows all comments with the limitation of your browser
        Sortable in the header of the table. Click again to reverse
      • Distance:
        length from your actual position on the map to the UR
        Sortable in the header of the table. Click again to reverse
        This length computation can be disabled in the quick option to let you deal with URs around you
      • target:
        link to jump to the UR
        Opens the UR
        The UR will be marked as visited
        Not sortable
  • The MP tab
    1. 2 links:
      • mark all MP as read (explanations below)
      • clear list: remove all MPs: if you clear the list, and scan again to rebuild the list, you will loose the status of blacklisted and visited (see below)
    2. Filter menu
      Each entry of this menu will hide some MPs. A tool tip text explains each filter.
      See chapter WARNINGS to setup the filter "Limit to". It is important!
    3. MP list
      is a table where each row is a MP
      Background color of the row could be:
      • White: MP visited
      • Blue: MP not visited
      • green: Last visited MP
      Columns are:
      • blacklist:
        click the icon to blacklist the MP (or whitelist a blacklisted MP)
      • Priority:
        the color shows the priority of the MP.
        • From yellow to orange to red to purple = less to most important
        • green: closed MP
        • black: blacklisted MP
        number: Priority value
        Sortable in the header of the table:
        tooltiptext: only on closed MP
      • Type: P (problem) or TP (turn problem)
        Sortable in the header of the table. Problems will be sorted on description. Click again to reverse
      • Description:
        Detail for "Problem". Turn problem will always displays "turn problem" since there is no subcategory
        Long text scrolls
        tooltiptext shows the full text
        Not sortable (sortable in previous column)
      • Distance:
        length from your actual position on the map to the MP
        Sortable in the header of the table. Click again to reverse
        This length computation can be disabled in the quick option to let you deal with MPs around you
      • target:
        link to jump to the MP
        Opens the MP
        The MP will be marked as visited
        Not sortable
  • The Stats tab
    shows statistics on all URs and MPs in your list
    Shows same statistics for each area (editable areas and others if available)
    Statistics are computed only when you click on the tab. It is recommended to change tab and go back to stats tab to be sure to get updated stats
    See chapter WARNINGS for more details
  • The Area tab
    Let you manage areas.
    It could be
    • a "country" area (or subset of a country) taken from a list (CM ONLY)
    • a "custom" area (a bounding rectangle picked from the map)
    Each area will be available for scan in the scan menu
    You can visualize areas in google earth with the export icon. CM only: see chapter 10 for more details.
  • Scans
    1. Auto scan.
      when enabled, URs and MPs will be added or updated when you scroll the map.
      See chapter WARNINGS about auto scan regarding closed URs and MPs
      This will not update statistics until you click on the stats tab
    2. Scan menu
      click on an area to full scan the area.
      This could take a while
      PLEASE, READ THE CHAPTER WARNINGS, IT IS VERY IMPORTANT!
  • Background processes
    if the script is enabled (top check box), it will:
    • update UR and MP if you close it
    • update UR if you follow or unfollow
    • update UR if you post a comment
    • URs and MPs are deleted from the list when they are closed and closed for more than 60 days (in order to keep good stats)
  • WARNINGS (the most important chapter)
    1. scan (not auto scan)
      The scan process will query the waze database. PLEASE, DO NOT ABUSE or waze staff could forbid this feature!
      A good way to use it is to scan once a day your editable area, or your country if you are a CM, and then, deal with URs and MPs.
      You can add several areas included in a bigger one, to have cool stats, and never scan them!
      If you have a country and subsets of this country, and if you scan the country, it is USELESS to scan subsets!
    2. Stats
      your editable area is unique: you are the only one who have those statistics. So, this is not representative of all your country, or all the world! This is not the case for CM.
      Best pipelette (chatterbox in google translate) is the user that posted most comments. This information is dangerous because it can tells several things:
      • the best pipelette is a bad editor that never understand problems
      • the best pipelette is a good editor that have a lot of time to deal with URs
      • if you are not a CM, the best pipelette is computed from your editable area which is unique, and this will be probably you!
    3. Since URs and MPs are deleted from the list when they are closed and closed for more than 60 days (in order to keep good stats), an UR or a MP could be in your list but no more available in WME.
    4. Auto scan will not add or update closed UR or MP if the layer is not active. You can use WME URO+ to hide closed UR and MP, and keep the layer active.
    5. If you are not CM, or if you scan an area where you are not allowed to edit, you will get only MPs (not URs). So you will be able to target them, but not modify them. Regarding stats, it will be a bad idea to compare the UR count to MP count, or closed ratio, etc.
    6. Filter "limit to": this filter limits the number of rows in the table. Big table slows your browser. It is recommended to enable this filter and set the limit to 100 or less.
    7. This document is written now, and there could be changes in the future. Check the forum!
  • Additional info
    Borders are taken from a free database, and are neither perfect, nor adapted to Waze.
    US states borders have been redrawn by havanaday. Many thanks to him!
    With the google earth icon, you can visualize borders. If you think they need to be redrawn or if you want to create a subset for your country (like states for US, or regions for France), send me a PM, and I will tell you how to.
  • Conclusion
    Did you read chapter "WARNINGS"? :(
    Sorry for this long user manual...
    humm... ENJOY!

POSTER_ID:16831518

1

Send a message
Last edited by dummyd2 on Thu May 17, 2018 3:39 pm, edited 2 times in total.

Post by Inactive user -1649923503-
Greetings, first of all I want to say what a great script this is and I just really started using it and enjoy it a lot. I was wondering about functionality to add a way to export the data reports? Currently we run a bunch of county level reports for stats and would love a way to export the results into a csv or other file so that it can be imported into excel?

Thanks
Inactive user -1649923503-
Posts: 1023
Has thanked: 404 times
Been thanked: 458 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 -1649923503-
Thank you again for your script. I was wondering with the Map Comments (MC) feature would it be possible to have UR-MP have a new tab to search for MC. Many notes may disappear and being able to find them would be valuable


Sent from my iPhone using Tapatalk
Inactive user -1649923503-
Posts: 1023
Has thanked: 404 times
Been thanked: 458 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 -1649923503-
If only this meant they were solved :(
Inactive user -1649923503-
Posts: 1023
Has thanked: 404 times
Been thanked: 458 times
Send a message
-John
-------
https://j.mp/1BqcgbWhttps://s.waze.tools/c5.png
VT - State Manager
New England - Multi State Manager

Post by aamazotr
Hi.

Anyone else having problems with the script? It doesn't work in production or beta, Firefox browser.

When scanning the area does not bring results.
aamazotr
PartnerCoordinator
PartnerCoordinator
Posts: 425
Has thanked: 777 times
Been thanked: 334 times
Send a message
Attachments

Post by abc1357
Scanning for URs only, I sometimes see that the distance listed is over 3,600 miles and I cannot select the UR.
UR-MP Distance Wrong.jpg
(16.35 KiB) Downloaded 398 times
UR-MP alerts in console.jpg
(128 KiB) Downloaded 387 times
abc1357
State Manager
State Manager
Posts: 729
Answers: 2
Has thanked: 272 times
Been thanked: 206 times
Send a message

Post by abc1357
Thank you very much.

However, with the latest WME update, I am no longer able to get UR-MP to load at all, even if it is the only script running.  I've attached my console logs with the hope that you can figure out what is wrong.
Screen Shot 2022-11-02 at 12.05.56.png
(440.7 KiB) Downloaded 270 times
 
Screen Shot 2022-11-02 at 12.12.46.png
(25.59 KiB) Downloaded 270 times
 

Thank you for making this very useful script.
 
 
abc1357
State Manager
State Manager
Posts: 729
Answers: 2
Has thanked: 272 times
Been thanked: 206 times
Send a message

Post by abc1357
Thank you @jangliss for taking over this script.

I am having the same issue as ojlaw.  I tried commenting out the line as you suggested and UR-MP doesn't load in TamperMonkey on Chrome in my Mac.  It does work when I use it in ViolentMonkey on Brave (another browser using the Chromium base) - however, it won't load in TamperMonkey on Brave.  I suspect it could be something in the Mac version of TamperMonkey (v4.18.0).

I didn't add my console error screenshot as it is essentially identical to ojlaw's.

Thanks.
 
 
abc1357
State Manager
State Manager
Posts: 729
Answers: 2
Has thanked: 272 times
Been thanked: 206 times
Send a message
Last edited by abc1357 on Wed Nov 09, 2022 3:30 pm, edited 1 time in total.

Post by ABelter
The latest WME update has broken the function to open the PUR when clicking on it from the table. It appears that only line 5342 needs updated from:

Code: Select all

    WMEURMPT.wazeMap.getLayerByUniqueName("landmarks").setVisibility(true);
to

Code: Select all

    WMEURMPT.wazeMap.getLayerByUniqueName("venues").setVisibility(true);
ABelter
Posts: 65
Has thanked: 29 times
Been thanked: 23 times
Send a message
Andrew aka ABelter
State Manager / North Carolina
Traffic Event Marshal / South Atlantic Region (NC, SC, TN, KY)
andrew@wazenc.us

Post by ajcadoo
Has the new WME update broken this script? I am not seeing it any longer, even after following the directions listed in the post before this.
ajcadoo
Map Editor - level 3
Map Editor - level 3
Posts: 72
Has thanked: 43 times
Been thanked: 11 times
Send a message

Post by ajcadoo
Are there plans to add additional MP filters?

For example:

Hide all but "Missing Parking Lot Place"
Hide all but "Parking Lot set as a Point"
ajcadoo
Map Editor - level 3
Map Editor - level 3
Posts: 72
Has thanked: 43 times
Been thanked: 11 times
Send a message