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

Re: [Script] WME Wide-Angle Lens v1.4.8

Postby crazycaveman » Mon Feb 11, 2019 12:29 pm

New release! Quite a few things were added, in addition to fixing up WAL for the latest WME release:
  • Add new update alert from WazeWrap
    Now all plugins will list updates in one location
  • If scan is running, alert the user when they leave the page
  • Fix bug where output destination not saved
Streets plugin
  • Fix unknown direction issue being reported as none
  • Add option to scan only roundabouts
  • Add check for missing house numbers

If you have something you'd like added or fixed, just let me know or open an issue in GitHub
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 826
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 351 times
Been thanked: 512 times

Re: [Script] WME Wide-Angle Lens

Postby HBiede » Sat Feb 16, 2019 6:38 pm

Could we get an issue type in the streets plugin for streets that don't have a city name in the primary or as an alt?
[ img ][ img ][ img ][ img ][ img ][ img ]
State Manager - Nebraska and Large Area Manager - Montana
Layer Saver Script
HBiede
State Manager
State Manager
 
Posts: 108
Joined: Sat Feb 17, 2018 5:05 am
Location: Nebraska, USA
Has thanked: 83 times
Been thanked: 70 times

Re: [Script] WME Wide-Angle Lens

Postby ehcool68 » Thu Feb 28, 2019 4:02 am

CrazyCaveman -- thanks for keeping this script going! Running a streets scans in various counties in Pa (e.g., Washington Co), I'm getting this error; I was able to get past it by setting the option Ignore Roundabouts:

Code: Select all
app-2fa2743c9a7311ded98e.js:1 Error getting features TypeError: segment.getRoundabout is not a function
    at Object.ScanExtent (userscript.html?id=6a4cc9ad-3796-4426-afd4-f9c637540981:922)
    at scanExtent (userscript.html?id=683a7885-5e25-4b90-9e64-ab6313fc9603:2283)
    at Function.onOperationDone (userscript.html?id=683a7885-5e25-4b90-9e64-ab6313fc9603:2342)
    at Array.eval (userscript.html?id=683a7885-5e25-4b90-9e64-ab6313fc9603:2411)
    at Array.<anonymous> (vendor-2468fb91ad44e63a878c.js:1)
    at d (vendor-2468fb91ad44e63a878c.js:1)
    at Object.fireWith [as resolveWith] (vendor-2468fb91ad44e63a878c.js:1)
    at Object.<anonymous> (vendor-2468fb91ad44e63a878c.js:1)
    at d (vendor-2468fb91ad44e63a878c.js:1)
    at Object.fireWith [as resolveWith] (vendor-2468fb91ad44e63a878c.js:1)


It seems to be happening at line 922 on this code:

Code: Select all
    if (!settings.Roundabouts) {
                        addSegment(segment, (!segment.isInRoundabout() ? null : segment.getRoundabout().attributes.id ), issues, newSegment);


Thanks!

Eric
ehcool68
State Manager
State Manager
 
Posts: 36
Joined: Sun Apr 05, 2015 12:41 am
Location: Montgomery County, PA
Has thanked: 3 times
Been thanked: 16 times

Re: [Script] WME Wide-Angle Lens

Postby RafaCintron » Tue Mar 05, 2019 3:56 pm

Hello.
I've been using WAL for a couple of days. I get inconsistent results (missing venues) everytime I run it. I'm not using any filters. Is there a zoom level I need to be when creating the areas? What about when scanning?
Other strange thing is the bigger the area, the less results I get. When I scan a whole province I get 130 results for places, but when I scan a much smaller area (a neighborhood) I get 420 results.
Are these issues related to the recent changes to the WME?
Any guidance would be appreciated.
RafaCintron
Waze Local Champs
Waze Local Champs
 
Posts: 372
Joined: Fri Dec 20, 2013 6:06 pm
Location: Dominican Republic
Has thanked: 5 times
Been thanked: 94 times

Re: [Script] WME Wide-Angle Lens

Postby crazycaveman » Fri Mar 29, 2019 4:48 pm

RafaCintron wrote:Hello.
I've been using WAL for a couple of days. I get inconsistent results (missing venues) everytime I run it. I'm not using any filters. Is there a zoom level I need to be when creating the areas? What about when scanning?
Other strange thing is the bigger the area, the less results I get. When I scan a whole province I get 130 results for places, but when I scan a much smaller area (a neighborhood) I get 420 results.
Are these issues related to the recent changes to the WME?
Any guidance would be appreciated.

That's an interesting issue. Would you mind sharing a PL where it happens? Maybe not everything loads before the scan moves to the next area, but the zoom is set to 5 in order to get every place, doesn't matter the area size or your zoom level when starting the scan.
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 826
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 351 times
Been thanked: 512 times

Re: [Script] WME Wide-Angle Lens

Postby RafaCintron » Fri Mar 29, 2019 8:51 pm

I tried it again today, and it's working great. The only thing is, accented characters are displaying with symbols.
RafaCintron
Waze Local Champs
Waze Local Champs
 
Posts: 372
Joined: Fri Dec 20, 2013 6:06 pm
Location: Dominican Republic
Has thanked: 5 times
Been thanked: 94 times

Re: [Script] WME Wide-Angle Lens

Postby crazycaveman » Sat Mar 30, 2019 12:42 am

Ok, thanks for verifying. I'll see if I can get that fixed, try to hunt down a few to play with
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 826
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 351 times
Been thanked: 512 times

Re: [Script] WME Wide-Angle Lens

Postby timtamcan » Sat Mar 30, 2019 5:47 am

crazycaveman wrote:Ok, thanks for verifying. I'll see if I can get that fixed, try to hunt down a few to play with


You can probably fix it by inserting a UTF BOM ("\ufeff" + CSV Content).

Code: Select all
var blob = new Blob(["\ufeff" + csvContent], {type: "data:text/csv;charset=utf-8;"});
timtamcan
 
Posts: 6
Joined: Sat Mar 23, 2019 7:17 am
Has thanked: 1 time
Been thanked: 5 times

Re: [Script] WME Wide-Angle Lens

Postby LysdexiaEht » Thu Apr 04, 2019 12:37 am

Would it be possible to add to the WAL Streets Issues "No Connection" segments?

I'm finding more and more of them in rural areas which are otherwise impossible to find at the zoom level needed to cover large areas.
[ img ]
AM: Regional Queensland
LysdexiaEht
Area Manager
Area Manager
 
Posts: 97
Joined: Fri Mar 08, 2019 4:04 am
Has thanked: 40 times
Been thanked: 11 times

Re: [Script] WME Wide-Angle Lens

Postby W1QA » Sun Apr 14, 2019 4:11 pm

Wondering if there is a way to take an existing area shape in WME and use that in the WAL script. For example, I've drawn this area comment to cover a village within a town:
https://www.waze.com/en-US/editor?env=u ... 146.289655

(or is there a way in WME to export that such that it can be imported into WAL?)
Bob W1QA
area manager: north and central VT -- western MA

[ img ] [ img ] [ img ] [ img ] [ img ]
W1QA
 
Posts: 24
Joined: Sun Nov 25, 2018 3:05 am
Has thanked: 26 times
Been thanked: 6 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: n4dog