• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    JavaScript
  • License
    Creative Commons ...
  • Created over 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A quintessentially American map style

OpenStreetMap Americana

A quintessentially American map style đź—ş View the map

Americana map style logo

The United States of America is such a glorious mess of contradiction, such a crazy quilt of competing themes, such a fecund mishmash of people and ideas, that defining us is pretty much pointless. There is, of course, a kind of faded notion of "Americana", one that concerns Route 66, diners, freak rock formations, and the like—but even in its halcyon days this "roadside attraction" version of America was never an accurate or nuanced distillation of our massively complicated culture.
-Hampton Sides, Americana: Dispatches from the New Frontier (2004)


The purpose of the Americana style is to:

  • Promote collaboration and common purpose in the American mapping community
  • Express the American experience through cartography, taking inspiration from the familiar features of North American paper maps
  • Challenge the status quo by showcasing innovation and invention

The Americana style is the first digital map to achieve concurrent, state-specific highway shields arranged along the path of road. Representative highway shield rendering is of considerable cartographic importance to the American community. We do this proudly in an open source project using vector tile technology.

How to use

You can install the OpenStreetMap Americana package and deploy it anywhere as a static webpage. For your convenience, we’ve deployed it on GitHub Pages. Click the Legend button to learn the meaning of each symbol, line, and color based on the features currently visible on the map.

The style tries to label places in your browser’s preferred language. To change this preference, consult your browser’s documentation: Chrome, Firefox, Safari for macOS, Safari for iOS. You can also override this preference by adding &language= to the URL, followed by a comma-separated list of IETF language tags. For example, here’s a map labeled in Portuguese, falling back to Spanish. If we don’t have the name of a place in any of your preferred languages, the style shows the name in the local language as a last resort.

Contributor’s guide

Contributors welcome!

The repository is organized as follows:

Some general guidelines:

  • Please follow the coding style guidelines described in each sub-folder. These guidelines are designed to make it easier for collaboration and reduce the chance of edit conflicts.
  • Innovation is encouraged! Please open a new ticket with your great ideas as a centralized focal point for discussion.
  • New contributors are welcome!
  • This style operates on the principle of consensus. Maintainers should ensure that changes represent a broad consensus within the American mapping community.
  • Maintainers are also responsible to ensure that this principle of consensus does not cause stagnation or inaction. Contributor time is valuable; accepting the responsibility of being a maintainer means committing to responding to issues and PRs on a reasonable timeline that encourages community participation.

Technology stack

The technology stack for this style can be summarized below:

Americana technology stack

The dynamic shield generator is included as a module in this repository and also published to npm.

Data sources

The OpenStreetMap Americana style is built upon the OpenMapTiles schema, which includes:

  • Feature data from OpenStreetMap
  • Translated name labels from Wikidata for places, POIs, airports, roads, bodies of water, parks, and mountain peaks.
  • Low-zoom ocean/water, boundary, and urbanized area data from Natural Earth.

The legend’s “Route markers” section is labeled using labels of Wikidata items that are tagged with the corresponding OSM tag.

Coverage

Americana is compatible with vector tiles covering the entire world.

Americana displays custom route shields for routes in all U.S. states and territories, and for routes in the following countries:

Countries

We are hoping that it will support more countries; you can help us!

Tile Server

Although the source code in this repository is dedicated to the public domain under a CC0 waiver, it is configured by default to load map tiles from a privately-donated community tile server. This server is available for use by other hobbyist and community projects with constraints. See the tile server usage policy for more details. This usage policy describes the allowable usage of the tiles for other projects, separate from this style or the application being developed in this repository.