[Script] WME Wide-Angle Lens

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

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

Postby vtpearce » Wed Sep 21, 2016 7:09 pm

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
Last edited by xanderb on Wed Mar 28, 2018 12:06 pm, edited 6 times in total.
Reason: Link change
[ img ]
AM: Tennessee
vtpearce
Area Manager
Area Manager
 
Posts: 25
Joined: Tue Aug 04, 2015 1:05 pm
Has thanked: 2 times
Been thanked: 47 times

Re: [Script] WME Wide-Angle Lens

Postby bummerdude69 » Wed Sep 21, 2016 11:45 pm

FYI Name and description don't match.
WME Wide-Angle Lens Places - Find segments that have missing or unverified speeds
bummerdude69
Map Raider
Map Raider
 
Posts: 181
Joined: Mon Jan 27, 2014 9:01 pm
Has thanked: 229 times
Been thanked: 48 times

Re: [Script] WME Wide-Angle Lens

Postby vince1612 » Thu Sep 22, 2016 11:10 am

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! :)
[ img ]
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.
vince1612
Waze Global Champs
Waze Global Champs
 
Posts: 7136
Joined: Sun Mar 17, 2013 2:30 pm
Location: DACH Group (Germany, Austria, Switzerland)
Has thanked: 3928 times
Been thanked: 4302 times

Re: [Script] WME Wide-Angle Lens

Postby DanCocoDotCom » Thu Sep 22, 2016 9:27 pm

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)
DanCocoDotCom
 
Posts: 44
Joined: Tue Jul 19, 2016 2:11 am
Location: Rochester, NY
Has thanked: 12 times
Been thanked: 1 time

Re: [Script] WME Wide-Angle Lens

Postby Bill473 » Sun Sep 25, 2016 10:28 am

Excellent scripts.

Some US regions (GLR, MAR) have adopted a lock level standard of +1 for one-way Streets and PS. (E.g. PS is locked at 2 unless one-way, then locked at 3.)

An enhancement to account for that (a check-box for one-way +1 next to the lock-level specification?) would be appreciated.
[ img ][ img ][ img ]
Large area manager: NW Ohio USA
Bill473
Area Manager
Area Manager
 
Posts: 197
Joined: Wed Jan 14, 2015 6:25 pm
Location: Richmond, Indiana USA
Has thanked: 113 times
Been thanked: 49 times

Re: [Script] WME Wide-Angle Lens

Postby GeekDriverPeaceful » Sun Sep 25, 2016 5:22 pm

I love this script!!! However, the zoom level is too high. I think zoom=5 or zoom=6 is best. I used the browser's find and replace function to get my preferred zoom. :) Excellent script!
GeekDriverPeaceful
Beta tester
Beta tester
 
Posts: 682
Joined: Mon May 30, 2016 4:28 pm
Location: USA
Has thanked: 732 times
Been thanked: 223 times

Re: [Script] WME Wide-Angle Lens

Postby BellHouse » Mon Sep 26, 2016 11:16 am

Thanks for this very promising script!

I do suggest to remove the "debugger" statement from the code, though. ;)
[ img ][ img ][ img ]
Global Champ / DACH Champ / CM Germany
BellHouse
Waze Global Champs
Waze Global Champs
 
Posts: 3873
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 923 times
Been thanked: 3250 times

Re: [Script] WME Wide-Angle Lens

Postby vtpearce » Wed Sep 28, 2016 7:30 pm

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
[ img ]
AM: Tennessee
vtpearce
Area Manager
Area Manager
 
Posts: 25
Joined: Tue Aug 04, 2015 1:05 pm
Has thanked: 2 times
Been thanked: 47 times

Re: [Script] WME Wide-Angle Lens

Postby vtpearce » Wed Sep 28, 2016 7:32 pm

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
[ img ]
AM: Tennessee
vtpearce
Area Manager
Area Manager
 
Posts: 25
Joined: Tue Aug 04, 2015 1:05 pm
Has thanked: 2 times
Been thanked: 47 times

Re: [Script] WME Wide-Angle Lens

Postby vtpearce » Wed Sep 28, 2016 7:34 pm

Bill473 wrote:Excellent scripts.

Some US regions (GLR, MAR) have adopted a lock level standard of +1 for one-way Streets and PS. (E.g. PS is locked at 2 unless one-way, then locked at 3.)

An enhancement to account for that (a check-box for one-way +1 next to the lock-level specification?) would be appreciated.


Thanks for the suggestion - I'll add that to the to-do list.

VTPearce
vtpearce
Area Manager
Area Manager
 
Posts: 25
Joined: Tue Aug 04, 2015 1:05 pm
Has thanked: 2 times
Been thanked: 47 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Mythdraug