[Script] WME US Government Boundaries

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.

[Script] WME US Government Boundaries

Postby MapOMatic » Tue Dec 13, 2016 4:15 pm

WME US Government Boundaries
Plots US boundaries (federal / state / local) as a layer on the map.
(not compatible with Firefox / Greasemonkey)

Currently supports:
  • ZIP codes
https://greasyfork.org/en/scripts/25631 ... boundaries

Version 0.3.3
Displays the ZIP code located at the center point of the map view in the black header bar. Click the ZIP code there to open the USPS's "ZIP code to city" conversion web page.

Planned Features
  • Add polygon preferences (color, fill, line thickness, opacity, etc)
  • Display "default" city name along with ZIP code in header bar
  • Add other boundary types (only if requested by users, so please comment here if you want to see more boundary types added).
[ img ] [ img ]

AM Central KY | CM USA
MapOMatic
Country Manager
Country Manager
 
Posts: 340
Joined: Sat Jul 16, 2011 11:43 am
Location: Lexington, KY
Has thanked: 227 times
Been thanked: 635 times

Re: [Script] WME US Government Boundaries

Postby LennyNRPD » Sat Dec 17, 2016 11:03 am

Thanks for this very useful script!!!!
LennyNRPD
State Manager
State Manager
 
Posts: 252
Joined: Fri Mar 18, 2016 12:05 pm
Location: Virginia
Has thanked: 107 times
Been thanked: 490 times

Re: [Script] WME US Government Boundaries

Postby SeveriorumPatrem » Thu Mar 09, 2017 10:47 pm

Can someone elaborate a little on the application of alt city names, or point me towards associated documentation? The only place I've seen them used so far, for the most part, is for border streets that have HNs in different cities on each side (or one in city, one not).
[ img ][ img ][ img ][ img ]
The Grumpy Dad
The more I learn, the more I discover how much I don't know.
SeveriorumPatrem
Area Manager
Area Manager
 
Posts: 884
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 491 times
Been thanked: 300 times

Re: [Script] WME US Government Boundaries

Postby jm6087 » Thu Mar 09, 2017 10:50 pm

SeveriorumPatrem wrote:Can someone elaborate a little on the application of alt city names, or point me towards associated documentation? The only place I've seen them used so far, for the most part, is for border streets that have HNs in different cities on each side (or one in city, one not).


I know there was/is a Wiki discussion regarding Alt City Names. Not sure if it has ever become official via Wiki or not.

The basic discussion, as I recall, is to add Alt City Name for segments that are not within the city limits to allow for better routing to addresses.
jm6087
US Waze Champs
US Waze Champs
 
Posts: 3315
Joined: Wed Jun 17, 2015 10:05 pm
Location: Texas
Has thanked: 560 times
Been thanked: 1349 times

Re: [Script] WME US Government Boundaries

Postby sketch » Thu Mar 09, 2017 11:08 pm

The discussion is here: https://www.waze.com/forum/viewtopic.ph ... 6&t=210822

From the "Done!" link in one of Pesach's latest posts in that thread, it looks like it made it to the US Wiki but somehow didn't get included in Wazeopedia.

Update – here too: https://wazeopedia.waze.com/wiki/USA/Ro ... City_names
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6424
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2017 times
Been thanked: 2519 times

Re: [Script] WME US Government Boundaries

Postby jm6087 » Thu Mar 09, 2017 11:23 pm

Thanks, I never saw the Wiki
jm6087
US Waze Champs
US Waze Champs
 
Posts: 3315
Joined: Wed Jun 17, 2015 10:05 pm
Location: Texas
Has thanked: 560 times
Been thanked: 1349 times

Re: [Script] WME US Government Boundaries

Postby SeveriorumPatrem » Fri Mar 10, 2017 12:21 am

Thanks for the replies, super helpful.

Big job.

But based on some past and recent search result URs that were like pulling teeth to figure out, this is a welcome development - both the guidance and this script.
[ img ][ img ][ img ][ img ]
The Grumpy Dad
The more I learn, the more I discover how much I don't know.
SeveriorumPatrem
Area Manager
Area Manager
 
Posts: 884
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 491 times
Been thanked: 300 times

Re: [Script] WME US Government Boundaries

Postby MapOMatic » Fri Apr 07, 2017 8:24 pm

Hi all,
I've gotten a couple reports of antivirus apps blocking the following site (used in this script), and at least one person even being flagged at work for suspicious network activity.

mapomatic.000webhostapp.com

I set this up on a free web hosting service so we could use a USPS service to lookup city names from the zip code. It couldn't be done directly from each person's PC, so this site acts as the middle man, receiving a zip code from us, looking it up at USPS, and returning the city name.

Apparently (unknown to me at the time) the domain 000webhostapp.com has been reported as suspicious by some antivirus services and is either completely blocked, or treated as a potential threat. I believe my site is *not* a threat, but that these services are being cautious because of the domain name itself.

In response, I've removed the section of code that performs the zip -> city name lookup in v0.4.5. I'll look for a more reputable free web hosting service so we can get it going again.

I apologize if this has caused trouble for anyone else.
Last edited by MapOMatic on Sat Apr 08, 2017 9:32 pm, edited 2 times in total.
[ img ] [ img ]

AM Central KY | CM USA
MapOMatic
Country Manager
Country Manager
 
Posts: 340
Joined: Sat Jul 16, 2011 11:43 am
Location: Lexington, KY
Has thanked: 227 times
Been thanked: 635 times

Re: [Script] WME US Government Boundaries

Postby MapOMatic » Fri Apr 07, 2017 8:37 pm

... for now, you can still click on the zip code in the black header bar to be taken to the USPS website, which will show you the city name(s).
[ img ] [ img ]

AM Central KY | CM USA
MapOMatic
Country Manager
Country Manager
 
Posts: 340
Joined: Sat Jul 16, 2011 11:43 am
Location: Lexington, KY
Has thanked: 227 times
Been thanked: 635 times

Re: [Script] WME US Government Boundaries

Postby JoshJMM » Fri Apr 07, 2017 8:39 pm

I have wanted something like this for a long time. It's a PITA trying to find the "Alt" name for roads in the middle of nowhere.
JoshJMM
State Manager
State Manager
 
Posts: 191
Joined: Sat Sep 14, 2013 7:01 pm
Location: Colorado Springs, Colorado
Has thanked: 95 times
Been thanked: 41 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users