Skip to content

Instantly share code, notes, and snippets.

@igorsantos07
Last active January 13, 2024 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorsantos07/a535f8de545d84b63028167d8159105c to your computer and use it in GitHub Desktop.
Save igorsantos07/a535f8de545d84b63028167d8159105c to your computer and use it in GitHub Desktop.
USA+Canada subdivisions

A bunch of GeoJSON files for north-american uses

Canada

Plain and simple, copied from https://data.opendatasoft.com.

USA

Plain and simple, copied from https://data.opendatasoft.com. This includes the 50 states, DC, and the 5 territories.

Canada-USA

Mixed the two files above, simplifying extra fields by focusing on subdivision names and abbreviations only.

Canada-USA.compact-colors

Same as above, but moved the USA territories close together so they fit better as a base for charts. Also, USA states are colored blue, its territories are orange, and Canada is FIP Red. Those colors do not show up on all places which interpret GeoJSON files (such as GitHub's representation from Azure), but they are there (e.g. at geojson.io).

Canada-USA.compact-colors-not_above_75deg

Same as above, but removing the Canadian regions above the Parry Channel (roughly after the 75th parallel). Reasoning:

  • that area is sparsely populated 12;
  • split between only two Canadian territories (Nunavut and Northwest Territories);
  • most of it all: gets very stretched out to the top in the Mercator projection, which is sometimes used for graphs (hey, Metabase).

To-do

  • find a way to resize the USA island territories, so they appear better on charts without the need for zooming.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment