# \[Script\] WME UR-MP Tracking

**URL:** https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173
**Category:** Addons, Extensions, And Scripts
**Created:** [January 18, 2015, 1:06pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173 "2015-01-18T13:06:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dummyd2](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@dummyd2](https://www.waze.com/discuss/u/dummyd2)
#### Post date: [January 18, 2015, 1:06pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/1 "2015-01-18T13:06:08Z")

</div>

Hi all,

[Download on Greasyfork](https://greasyfork.org/scripts/368141-wme-ur-mp-tracking)  
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

> **Click to Expand**
>
> 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:
> 
> - The UR tab
> 
> - The MP tab
> 
> - 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
> 
> - Scans
> 
> - Background processes  
> if the script is enabled (top check box), it will:
> 
> - WARNINGS (the most important chapter)
> 
> - 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!

---

<div class="post-metadata">

### Author: ![carloslaso](https://www.waze.com/discuss/user_avatar/www.waze.com/carloslaso/32/5290_2.png) [@carloslaso](https://www.waze.com/discuss/u/carloslaso)
#### Post date: [January 18, 2015, 4:45pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/2 "2015-01-18T16:45:32Z")

</div>

> [@dummyd2](#):
>
> 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. 🙂

---

<div class="post-metadata">

### Author: ![dummyd2](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@dummyd2](https://www.waze.com/discuss/u/dummyd2)
#### Post date: [January 18, 2015, 5:20pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/3 "2015-01-18T17:20:55Z")

</div>

Yes of course! PM sent 😉

---

<div class="post-metadata">

### Author: ![Olestas](https://www.waze.com/discuss/user_avatar/www.waze.com/olestas/32/25401_2.png) [@Olestas](https://www.waze.com/discuss/u/Olestas)
#### Post date: [January 18, 2015, 10:21pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/4 "2015-01-18T22:21:38Z")

</div>

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

56 URs (102 hidden)

---

<div class="post-metadata">

### Author: ![dummyd2](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@dummyd2](https://www.waze.com/discuss/u/dummyd2)
#### Post date: [January 18, 2015, 10:30pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/5 "2015-01-18T22:30:29Z")

</div>

hidden are UR or MP not in the table because filtered.  
The filter “hide closed” is enabled by default. It must be that.

---

<div class="post-metadata">

### Author: ![Dave2084](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@Dave2084](https://www.waze.com/discuss/u/Dave2084)
#### Post date: [January 19, 2015, 11:59am UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/6 "2015-01-19T11:59:26Z")

</div>

Nice work!

---

<div class="post-metadata">

### Author: ![masvbr](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/m/0099FF/32.png) [@masvbr](https://www.waze.com/discuss/u/masvbr)
#### Post date: [January 19, 2015, 12:16pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/7 "2015-01-19T12:16:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Olestas](https://www.waze.com/discuss/user_avatar/www.waze.com/olestas/32/25401_2.png) [@Olestas](https://www.waze.com/discuss/u/Olestas)
#### Post date: [January 20, 2015, 8:27am UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/8 "2015-01-20T08:27:29Z")

</div>

This script breaks Toolboxes Suppress unneeded junctions.

---

<div class="post-metadata">

### Author: ![dummyd2](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@dummyd2](https://www.waze.com/discuss/u/dummyd2)
#### Post date: [January 20, 2015, 1:41pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/9 "2015-01-20T13:41:47Z")

</div>

> [@masvbr](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![dummyd2](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@dummyd2](https://www.waze.com/discuss/u/dummyd2)
#### Post date: [January 20, 2015, 2:07pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/10 "2015-01-20T14:07:14Z")

</div>

> [@Olestas](#):
>
> This script breaks Toolboxes Suppress unneeded junctions.

:shock: No problem for me. FireFox? Chrome? Do you have a permalink?

---

<div class="post-metadata">

### Author: ![Olestas](https://www.waze.com/discuss/user_avatar/www.waze.com/olestas/32/25401_2.png) [@Olestas](https://www.waze.com/discuss/u/Olestas)
#### Post date: [January 20, 2015, 2:33pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/11 "2015-01-20T14:33:48Z")

</div>

Chrome.  
[https://www.waze.com/editor/?env=row&lon=24.46961&lat=56.42865&layers=389&zoom=6&segments=272791925,272791928,272791932,272791935,272791936,272792056](https://www.waze.com/editor/?env=row&lon=24.46961&lat=56.42865&layers=389&zoom=6&segments=272791925,272791928,272791932,272791935,272791936,272792056)

Pressing suppress junctions does nothing. Turning off UR-MP - starts working 😃

---

<div class="post-metadata">

### Author: ![dummyd2](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/1BAB50/32.png) [@dummyd2](https://www.waze.com/discuss/u/dummyd2)
#### Post date: [January 20, 2015, 2:54pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/12 "2015-01-20T14:54:32Z")

</div>

:oops: you’re right!  
Fixed! (v2.0.1)  
Sorry for the inconvenience.

---

<div class="post-metadata">

### Author: ![Olestas](https://www.waze.com/discuss/user_avatar/www.waze.com/olestas/32/25401_2.png) [@Olestas](https://www.waze.com/discuss/u/Olestas)
#### Post date: [January 20, 2015, 3:09pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/13 "2015-01-20T15:09:04Z")

</div>

Wow, you fast 😃 THanks.

---

<div class="post-metadata">

### Author: ![Pizuz](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/p/963EFF/32.png) [@Pizuz](https://www.waze.com/discuss/u/Pizuz)
#### Post date: [January 20, 2015, 5:18pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/14 "2015-01-20T17:18:24Z")

</div>

Awesome, thanks! Say, any plans regarding Place updates?

---

<div class="post-metadata">

### Author: ![bz2012](https://www.waze.com/discuss/user_avatar/www.waze.com/bz2012/32/6722_2.png) [@bz2012](https://www.waze.com/discuss/u/bz2012)
#### Post date: [January 21, 2015, 7:37pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/15 "2015-01-21T19:37:04Z")

</div>

A problem I have been noticing: many ‘closed’ URs are appearing without the ‘green’ color and despite the fact I have the ‘hide closed’ box checked.

This becomes clear when I click on one of the links and the URComments box comes up with its green on.

The ‘hide closed’ box DOES work, because if I uncheck the box, then MANY greens show up.  
And I think that sometimes when I close a UR, it DOES get handled properly.

Not sure when it doesn’t, yet.

---

<div class="post-metadata">

### Author: ![iainhouse](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/i/0099FF/32.png) [@iainhouse](https://www.waze.com/discuss/u/iainhouse)
#### Post date: [January 22, 2015, 1:50am UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/16 "2015-01-22T01:50:29Z")

</div>

> [@bz2012](#):
>
> A problem I have been noticing: many ‘closed’ URs are appearing without the ‘green’ color and despite the fact I have the ‘hide closed’ box checked.
> 
> This becomes clear when I click on one of the links and the URComments box comes up with its green on.
> 
> The ‘hide closed’ box DOES work, because if I uncheck the box, then MANY greens show up.  
> And I think that sometimes when I close a UR, it DOES get handled properly.
> 
> Not sure when it doesn’t, yet.

Could this be for URs that have been closed since you last scanned? Without a fresh scan, the script doesn’t “know” they’ve been closed. If you have “hide closed” ticked and you target a closed UR, you should see it immediately disappear from the list as the script detects it’s closed.

A similar thing happens when you comment on a UR. The script doesn’t pick up this fact. You need to save or refresh the map layers, then “target” the UR again for the comment count to increase (and for it to be hidden if you’re hiding URs with comments).

---

<div class="post-metadata">

### Author: ![bz2012](https://www.waze.com/discuss/user_avatar/www.waze.com/bz2012/32/6722_2.png) [@bz2012](https://www.waze.com/discuss/u/bz2012)
#### Post date: [January 22, 2015, 10:36am UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/17 "2015-01-22T10:36:23Z")

</div>

Yes that seems to be what is happening. I guess I assumed [yea, I know that is a mistake] that it kept track of what happened ‘knew’ about these changes. 🙂

---

<div class="post-metadata">

### Author: ![ditchi56](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/d/0099FF/32.png) [@ditchi56](https://www.waze.com/discuss/u/ditchi56)
#### Post date: [January 23, 2015, 6:41pm UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/18 "2015-01-23T18:41:42Z")

</div>

> [@Pizuz](#):
>
> Awesome, thanks! Say, any plans regarding Place updates?

+1

I use this script a lot. 😃

But when I need to find place updates, I have to go back to the old methods ☹

---

<div class="post-metadata">

### Author: ![Twister-UK](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/t/1BAB50/32.png) [@Twister-UK](https://www.waze.com/discuss/u/Twister-UK)
#### Post date: [January 24, 2015, 12:46am UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/19 "2015-01-24T00:46:02Z")

</div>

> [@bz2012](#):
>
> Yes that seems to be what is happening. I guess I assumed [yea, I know that is a mistake] that it kept track of what happened ‘knew’ about these changes. 🙂

URO+ has the same problem, and it bugs me big time. I’d love to know where WME is hiding all of these recently saved bits of data, because they don’t show up in the properties of the relevant UR etc. objects (hence the reason our scripts aren’t seeing them), and I’ll be damned if I can find them anywhere else in the objects that WME makes visible. As Ian says, it’s not until you refresh WME that the new data gets copied into the object properties and becomes visible to scripts.

---

<div class="post-metadata">

### Author: ![bz2012](https://www.waze.com/discuss/user_avatar/www.waze.com/bz2012/32/6722_2.png) [@bz2012](https://www.waze.com/discuss/u/bz2012)
#### Post date: [January 24, 2015, 1:19am UTC](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173/20 "2015-01-24T01:19:47Z")

</div>

Sounds like there must be some ‘hidden’ or ‘shadow’ array of temporary data on the WME server, it gets updated with a ‘save’ but the data doesn’t get transferred to the ‘visible’ database until the ‘refresh’ is done.

I don’t know how difficult it would be to ‘mirror’ that data by maintaining a copy of saved data, and purge the ‘mirror’ when the refresh is done.

Perhaps the various scripts could share a single ‘mirror’.

[Next page](https://www.waze.com/discuss/t/script-wme-ur-mp-tracking/146173.md?page=2)
