[Script] WME HN NavPoints

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, Glodenox, JustinS83

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 HN NavPoints

Postby russblau » Wed Sep 25, 2019 1:56 pm

HN NavPoints has stopped working entirely after this morning's WME update!
russblau
State Manager
State Manager
 
Posts: 1492
Joined: Fri Oct 19, 2012 11:36 pm
Has thanked: 301 times
Been thanked: 648 times

Re: [Script] WME HN NavPoints

Postby russblau » Tue Dec 10, 2019 5:02 pm

For those with the lines that stick around after moving or deleting HNs, a workaround (only slightly less disruptive than reloading the whole editor) is to zoom out to a point where the lines are no longer displayed, then zoom back in.
russblau
State Manager
State Manager
 
Posts: 1492
Joined: Fri Oct 19, 2012 11:36 pm
Has thanked: 301 times
Been thanked: 648 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Fri Oct 26, 2018 4:04 am

This provides basically what I was hoping to get when I posted this script request a little over a year ago!

THANK YOU!!!!
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Sat Oct 27, 2018 12:58 am

Upon further use, it actually doesn't go to the level that I had hoped.

Was looking for a way, without overloading the server with queries, to be able to visualize that HNs exist and where they're attached, without having to open the HN view first, and for more or less all HNs that would be visible in the edit window.

This script appears to scrape up the HN data each time the HN view is opened, and then keeps them visible until the screen is refreshed. While not nearly the time saver I had hoped it would be, it is still a step in the right direction, at least. Thanks!
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Tue Oct 30, 2018 5:00 am

woodvale wrote:You can do that in Toolbox. There's an option to highlight streets with house numbers (shaded blue). You won't see the actual house numbers - you still have to go into HN view first - but you'll quickly be able to see which streets do have house numbers set.


Yes, I have TB, thanks. Unfortunately, it isn't able to show you how many HNs are on that segment (false positive when there is only one HN but there should be six, etc.) or give any visual indication that any present HNs are positioned properly (ie. sometimes they are all attached at one end of the segment or something).

This script solves those problems, but still does it after the fact, after HN edit view opened.

I know there are issues with server calls if you want all this HN info up front, it is discussed on the other thread.
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Fri Nov 02, 2018 2:25 am

Updated script, and yes, it works! THANK YOU!
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Fri Nov 09, 2018 1:27 am

Here is the first place I used it to reveal a notable HN mess. A bunch of HNs for 47th Circle were incorrectly imported as attached to 47th Ave. At some point the HNs missing from 47th Circle were noticed and added, but without this script there would have been no obvious way to notice all these extra and incorrect HNs still attached to 47th Ave.

HUGE thank you for this script!
Attachments
Capture.JPG
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Fri Nov 16, 2018 1:36 am

RichardPyne wrote:I've found several like that, but I found one that makes me want a new feature, jump to address point. I followed one for nearly 100 miles before I gave up on finding it.


LOL. Sorry, but that did make me literally laugh out loud. :)

That could happen if there is more than one matching HN for the road name, but perhaps in a different county (assuming USA/NA addressing). If two roads have the same name and have no primary city set but are in the same state, you'll get the "already exists" error.

For example, say some small unincorporated community with no primary city has a "101 Main Street", and another unrelated unincorporated community far away but in the same state also has a "101 Main Street" with no primary city. I've run into this a few times.

Alt city naming with USPS cities solves the problem for searching purposes when someone wants one of them specifically, especially since it will give the closer search result first (which is probably almost always the desired result), but at the end of the day, both "101 Main St" addresses with no primary city in the same state are correct even though WME doesn't want you to do it

In order to get this to work so both addresses are searchable with alt cities, I will change the segment name, add the troublesome HN, then change the segment name back. Next time you open HNs on that segment, the "hack-forced" HN appears with a red border instead of green, but is still correct. As long as you leave it alone you are OK, but if you bump it you won't be able to save your changes. There are a lot of these double HNs that have existed ever since the initial HN imports, and were not created by an editor.

I'm guessing your long distance HN is from something like this.
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Thu Jan 24, 2019 1:16 am

russblau wrote:
MajkiiTelini wrote:Define overlap.

Two (or more) HNs at precisely the same coordinates.


This condition occurs by design virtually all the time in cul-de-sacs, so there will be a significant number of false positives.
Capture.JPG


Is it not enough to visually notice when a bunch of attachment lines converge on a single point where they shouldn't?
Capture1.JPG
Capture1.JPG (41.47 KiB) Viewed 138 times
Capture2.JPG


And as for the original request prompting this discussion - closely-spaced HNs that aren't precisely stacked on top of each other - that can also exist by design when there are a bunch of street-facing units piled close together in real life, so even if some level of logic was developed to detect close-spaced HNs, there might be more false positives where nothing is wrong.
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

Re: [Script] WME HN NavPoints

Postby SeveriorumPatrem » Thu Jan 24, 2019 9:41 pm

russblau wrote:No, what you have identified is multiple stop points at the same coordinates, not multiple HNs. Two different issues.


Ah yes, I understand the difference now, thanks for the clarification!
SeveriorumPatrem
State Manager
State Manager
 
Posts: 961
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 533 times
Been thanked: 346 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users