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] WME Wide-Angle Lens

Post by vtpearce
WME Wide-Angle Lens
https://greasyfork.org/en/scripts?set=23559

Features
  • Scan a very large area (even an entire state) for segments and/or places
  • Base script just provides functionality to manage areas
  • Plugins provide functionality to deep-scan area
  • Export results to a CSV file or browser tab
  • Save predefined areas for scanning again
  • Export/Import areas for sharing with other editors
WME Wide-Angle has only been tested in the US. This is a fairly early version, so please report any bugs and I will try to fix ASAP!

Usage
Features of WME Wide-Angle Lens are accessed from the Wide-Angle Lens tab in the user pane.

Define Area
An area that you wish to scan is created by "drawing" an area place/venue. The area can be as small or as large as you wish - some people have created one as large as an entire state. Do NOT save the area. Instead, give the area a name in the "Add Custom Area" section and click the save link. Should things work successfully you should see the area listed in the pane.

Plugins
The base script by itself does nothing other than allow you to define areas. You really need plugins to do something with that area. Plugins typically provide filter criteria as well as a mechanism to specify how you would like the output. Each plugin has a separate tab that is used for configuration.

Scan Area
Once you have at least one area saved you can scan it. First choose at least one plugin that you would like to use. Then choose the area to scan and press the Scan button. Sit back and watch as the map is panned throughout the area. When it's done the selected plugins should report their status and generate some output. Don't touch anything during the scan as this might interfere with the process. Depending on the size of the area that is being scanned, the process can take quite some time. There is currently no indicator of progress, but if you use WME toolbox you can use the Mini Map to monitor the scan.
If you need to cancel a scan in progress for any reason click the "Cancel" button.

Export/Import Area
If you would like to back up or share an area, choose the area and click the "Export" button. The area will be saved as a text file containing the Well Known Text representation of the area.
To import an area (either saved from WME Wide-Angle Lens or from some other tool that can generated a Well Known Text file), search for the file and click the "Import" button.

Notes
  • While scanning entire states is certainly possible, I would recommend not doing that for Streets. The zoom level required to "see" Streets is such that scanning a very large area can take a LONG time.
Version History
Core Script
1.3.1
  • Added support for new Map Comments plugin
1.3.0
  • Bug fixes to support latest release of WME
  • Areas are now sorted alphabetically
1.0.0
  • Initial release
Streets Plugin
1.3.5
  • Include last editor in output
1.3.4
  • Ability to filter based on last editor
  • Find segments with elevation <, >, or <> ground
  • Find segments based on length
1.1.0
  • Added city RegEx filter
  • Added Private Roads filter
  • Added equals/not equals to some other filters
1.0.0
  • Initial release
Places Plugin
1.2.2
  • Only include last editor in output (to match other plugins)
1.2.1
  • Ability to filter based on last editor
  • Include creator and last editor in output
1.1.0
  • Added city RegEx filter
  • Added equals/not equals to some other filters
1.0.0
  • Initial release
Locks Plugin
1.1.4
  • Added railroad segment type
1.1.0
  • Added city RegEx filter
  • Added equals/not equals to some other filters
  • Added +1 for one-way option for each road type
1.0.0
  • Initial release
Cities Plugin
1.0.0
  • Initial release - find segments whose city doesn't match the boundaries of a polygon layer.
Map Comments Plugin
0.0.2
  • Included create and update dates in the output
0.0.1
  • Initial release - find map comments based on filter criteria
VTPearce
vtpearce
Area Manager
Area Manager
Posts: 45
Has thanked: 2 times
Been thanked: 94 times

POSTER_ID:17115676

1

Send a message
Last edited by xanderb on Wed Mar 28, 2018 12:06 pm, edited 6 times in total.
Reason: Link change

Post by vtpearce
DanCocoDotCom wrote:Any documentation on this yet? I want to try to use this to find "Greater XXX Area" streets to update the city on them. Is it possible to search for a city with the Streets plugin? (I might be getting my RegEx wrong though)
There isn't currently a way to search for a specific city or city RegEx, but I'll add that to the to-do list.

VTPearce
vtpearce
Area Manager
Area Manager
Posts: 45
Has thanked: 2 times
Been thanked: 94 times
Send a message

Post by vtpearce
bummerdude69 wrote:FYI Name and description don't match.
WME Wide-Angle Lens Places - Find segments that have missing or unverified speeds
Thanks, got this fixed.

VTPearce
vtpearce
Area Manager
Area Manager
Posts: 45
Has thanked: 2 times
Been thanked: 94 times
Send a message

Post by vince1612
Great! Thank you very much! :)
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png

Post by vince1612
Jut got a reply from vtpearce, he's going to try to take a look at it this week.
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png

Post by vince1612
It's no longer working for me, scan is stuck at 0%
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png

Post by vince1612
@sketch: This is extremely helpful! Thank you VERY much!! :)
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png

Post by vince1612
What's the correct way to use a wild card when searching for Name RegEx that may have random names after a specific word you are looking for?

I tried scanning using a * symbol after typing a word to look it and any variation after that in the name, but that just gave me the list of all segments in the area, even ones which had no matching words at all.
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png

Post by vince1612
Could the report also show "created by" and "last edited by" information?

This would have been handy when I have scanned for a list of all places in one particular category.
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png

Post by vince1612
Just tested on the ROW server and it seems to work like a charm!

This script is awesome!! I for sure am going to use it ;)

Thanks for sharing! :)
vince1612
Waze Global Champs
Waze Global Champs
Posts: 9299
Has thanked: 2139 times
Been thanked: 2818 times
Send a message
https://storage.googleapis.com/wazeoped ... v18.10.png
Wiki & Forum: Wiki CH (D)(FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
https://i.ibb.co/2k1TJHH/RIPIain.png