[Script] WME UR-MP Tracking

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, JustinS83, Glodenox

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

Postby dummyd2 » Sun Jan 18, 2015 1:06 pm

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:
  1. Introduction
  2. GUI
  3. The UR tab
  4. The MP tab
  5. The Stats tab
  6. The Area tab
  7. Scans
  8. Background processes
  9. WARNINGS (the most important chapter)
  10. additional info
  11. Conclusion

  1. Introduction
    the main idea is to display a list of all UR and all MP you can access regarding your editing rights.

  2. 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
  3. 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:
      1. blacklist:
        click the icon to blacklist the UR (or whitelist a blacklisted UR)
      2. 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

      3. Type:
        tooltiptext shows the full text
        Sortable in the header of the table. Click again to reverse
      4. Description:
        text posted by the reporter
        "N/A" if not available
        Long text scrolls
        tooltiptext shows the full text
        Not sortable
      5. 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
      6. 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
      7. target:
        link to jump to the UR
        Opens the UR
        The UR will be marked as visited
        Not sortable
  4. 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:
      1. blacklist:
        click the icon to blacklist the MP (or whitelist a blacklisted MP)
      2. 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
      3. Type: P (problem) or TP (turn problem)
        Sortable in the header of the table. Problems will be sorted on description. Click again to reverse
      4. 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)
      5. 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
      6. target:
        link to jump to the MP
        Opens the MP
        The MP will be marked as visited
        Not sortable
  5. 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

  6. 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.

  7. 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!
  8. 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)
  9. 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!
  10. 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.

  11. Conclusion
    Did you read chapter "WARNINGS"? :(
    Sorry for this long user manual...
    humm... ENJOY!
Last edited by dummyd2 on Thu May 17, 2018 3:39 pm, edited 2 times in total.
Dummyd2 AKA D2.
Retired - retraité de Waze
dummyd2
Experts
Experts
 
Posts: 1319
Joined: Wed Oct 23, 2013 12:01 pm
Location: Mentoring Bordeaux + CUB, Lot-et-Garonne
Has thanked: 321 times
Been thanked: 1116 times

Re: WME UR-MP Tracking

Postby carloslaso » Sun Jan 18, 2015 4:45 pm

dummyd2 wrote:Many thanks to Havanaday for drawing all US states borders


I have WKTs for the country of México and its states if you are interested in adding it to yours script. :)
[ img ][ img ]
Coordinador de Comunidad en México / Foro MX / Waze Status
Supervisor Noroeste México

iPhone XS Max / iOS 13ß / Waze ß 4.x
carloslaso
Global Champ Mentor
Global Champ Mentor
 
Posts: 3091
Joined: Fri Aug 20, 2010 1:30 am
Location: Sonora, Mexico
Has thanked: 1731 times
Been thanked: 2405 times

Re: WME UR-MP Tracking

Postby dummyd2 » Sun Jan 18, 2015 5:20 pm

Yes of course! PM sent ;)
Dummyd2 AKA D2.
Retired - retraité de Waze
dummyd2
Experts
Experts
 
Posts: 1319
Joined: Wed Oct 23, 2013 12:01 pm
Location: Mentoring Bordeaux + CUB, Lot-et-Garonne
Has thanked: 321 times
Been thanked: 1116 times

Re: WME UR-MP Tracking

Postby Olestas » Sun Jan 18, 2015 10:21 pm

OMG, you finally made it! Thanks.
What do hidden mean?

56 URs (102 hidden)
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6316
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3455 times
Been thanked: 2349 times

Re: WME UR-MP Tracking

Postby dummyd2 » Sun Jan 18, 2015 10:30 pm

hidden are UR or MP not in the table because filtered.
The filter "hide closed" is enabled by default. It must be that.
Dummyd2 AKA D2.
Retired - retraité de Waze
dummyd2
Experts
Experts
 
Posts: 1319
Joined: Wed Oct 23, 2013 12:01 pm
Location: Mentoring Bordeaux + CUB, Lot-et-Garonne
Has thanked: 321 times
Been thanked: 1116 times

Re: WME UR-MP Tracking

Postby Dave2084 » Mon Jan 19, 2015 11:59 am

Nice work!
iPhone 6S Plus (Jailed) • iOS 11.x • Waze 4.x
Level 6 Editor • UK Country Administrator • iOS Beta Tester • English (UK) Localisation Co-ordinator
UK WikiUK ForumWaze UK on FacebookBecome a UK Area ManagerWaze Status
Dave2084
Global Champs Localizers
Global Champs Localizers
 
Posts: 2434
Joined: Tue Feb 09, 2010 12:58 am
Location: Lincoln, UK
Has thanked: 392 times
Been thanked: 384 times

Re: WME UR-MP Tracking

Postby masvbr » Mon Jan 19, 2015 12:16 pm

Thanks, it works! :)

Is it possible to add one more Filter (or column), for Country ... it should scan only one Country or mark/filter somehow one Country in results.
It would help us eliminate "jumps" to surround Countries and we can focus on URs that we would/can really solve (in our Country).
LC, [L5] CM Czech Republic, WME Beta, Android + Waze Beta Client, https://www.wazer.cz
masvbr
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 1232
Joined: Mon Feb 11, 2013 1:25 pm
Location: Brno, Czech Republic
Has thanked: 377 times
Been thanked: 189 times

Re: WME UR-MP Tracking

Postby Olestas » Tue Jan 20, 2015 8:27 am

This script breaks Toolboxes Suppress unneeded junctions.
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6316
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3455 times
Been thanked: 2349 times

Re: WME UR-MP Tracking

Postby dummyd2 » Tue Jan 20, 2015 1:41 pm

masvbr wrote:Thanks, it works! :)

Is it possible to add one more Filter (or column), for Country ... it should scan only one Country or mark/filter somehow one Country in results.
It would help us eliminate "jumps" to surround Countries and we can focus on URs that we would/can really solve (in our Country).


UR and MP don't have country information in WME. The feature you request is available for CM because they can add countries as an area from an external database, and URMPT can test if a UR or MP is in this country. For non-CM, it is the case for custom areas and filter 'hide all but " followed by a combo list containing areas.

I think I can allow to add countries for all, and allow manual scan only for CM. Then you will have access to the filter by country, and stats, but no scan.
Dummyd2 AKA D2.
Retired - retraité de Waze
dummyd2
Experts
Experts
 
Posts: 1319
Joined: Wed Oct 23, 2013 12:01 pm
Location: Mentoring Bordeaux + CUB, Lot-et-Garonne
Has thanked: 321 times
Been thanked: 1116 times

Re: WME UR-MP Tracking

Postby dummyd2 » Tue Jan 20, 2015 2:07 pm

Olestas wrote:This script breaks Toolboxes Suppress unneeded junctions.

:shock: No problem for me. FireFox? Chrome? Do you have a permalink?
Dummyd2 AKA D2.
Retired - retraité de Waze
dummyd2
Experts
Experts
 
Posts: 1319
Joined: Wed Oct 23, 2013 12:01 pm
Location: Mentoring Bordeaux + CUB, Lot-et-Garonne
Has thanked: 321 times
Been thanked: 1116 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: jangliss