[Script] WME US Government Boundaries

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 (actually, ZIP Code Tabulation Areas)
  • Counties
  • Time Zones

https://greasyfork.org/en/scripts/25631-wme-us-government-boundaries

If ZIP Codes are enabled, it displays the ZIP Code and USPS “recommended city” for the center point of the map view (displayed in the black header bar at the top of the map). Click the ZIP Code there to open the USPS’s “ZIP Code to city” conversion web page.

IMPORTANT NOTE: ZIP Code Tabulation Areas (ZCTA) are only approximate representations of USPS Zip Codes. Actual USPS ZIP Codes can be a single point or a single street. See this article for more information: Zip Code Tabulation Areas

1 Like

Thanks for this very useful script!!!

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.

The discussion is here: https://www.waze.com/forum/viewtopic.php?f=1636&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/Road_names/USA/City_names

Thanks, I never saw the Wiki

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.

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.

… 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).

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.

The USPS zip code city function has been restored in v0.4.6. You should see USPS city name next to the zip code in the black header bar again.

Thanks to XanderB for hosting the zip -> city lookup script on his site, and thanks to others for offering to do the same. Hopefully this time it won’t get flagged as a suspicious site by antivirus services.

Love this simple script… however, any chance you can make this script have a click on/off in the layers area?

Release v2017.12.08.001

  • Adds a Counties layer
  • Layers can be toggled on/off in the Layers menu.
  • Adds a settings tab (USGB) where you can toggle dynamic positioning of labels (attempts to keep the labels centered on the visible portion of each boundary).
    2017-12-08_15h20_21.png

Did I mention I love this script too? Makes life so much easier for not only no name areas, but fence lines. :slight_smile:

Sent from my iPhone using Tapatalk

Doesn’t seem to be working today for me. Just checking to see if anyone else is having trouble as well or if it is just me…

There has been reports in Discord Scripts Server that the script is currently not working

Just started working again… :slight_smile:

In version 2018.06.30.001, I’ve added an option to include the state abbreviation in county labels. You can disable it in the settings.

This script has stopped working for me again. I have disabled all scripts except this one, deleted and reinstalled it (2018.08.18.001), disabled and re-enabled all of its options, bypassing the corporate network, and yet it is still not functioning and the error console is blank except for a recaptcha timeout.

What should I check next?

Apologies for the late reply. Did this fix itself or are you still having issues?