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

Re: [Script] WME Wide-Angle Lens

Postby vtpearce » Thu Sep 29, 2016 5:47 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)


I've just released a new version of the Streets plugin that allows you to use a RegEx filter on city.

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

Re: [Script] WME Wide-Angle Lens

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

GeekDriverPeaceful wrote: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!


The zoom level is set in such a way as to make sure the information that's needed is available. When scanning for everything except streets a zoom level of 2 is required. Adding in streets requires a zoom level of 4. If you scan places a zoom level of 5 is needed.

Of course, that's based purely on testing and personal experience. If you find that things are being missed at those zoom levels, please let me know. Zooming in further obviously increases the amount of time that a scan takes, so I attempted to figure out the highest zoom level I could use while still making sure all necessary information was available.

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

Re: [Script] WME Wide-Angle Lens

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

BellHouse wrote:Thanks for this very promising script!

I do suggest to remove the "debugger" statement from the code, though. ;)


Sorry about that - I usually try to remove those and must have missed one. It should be gone now.

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

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

Re: [Script] WME Wide-Angle Lens

Postby vince1612 » Fri Mar 24, 2017 5:25 pm

Great! Thank you very much! :)
Image
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: 6464
Joined: Sun Mar 17, 2013 2:30 pm
Location: DACH Group (Germany, Austria, Switzerland)
Has thanked: 3476 times
Been thanked: 3742 times

Re: [Script] WME Wide-Angle Lens

Postby vince1612 » Tue Mar 21, 2017 4:13 pm

Jut got a reply from vtpearce, he's going to try to take a look at it this week.
Image
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: 6464
Joined: Sun Mar 17, 2013 2:30 pm
Location: DACH Group (Germany, Austria, Switzerland)
Has thanked: 3476 times
Been thanked: 3742 times

Re: [Script] WME Wide-Angle Lens

Postby vince1612 » Thu Mar 16, 2017 6:34 pm

It's no longer working for me, scan is stuck at 0%
Image
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: 6464
Joined: Sun Mar 17, 2013 2:30 pm
Location: DACH Group (Germany, Austria, Switzerland)
Has thanked: 3476 times
Been thanked: 3742 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users