ebp-group / Switzerland_Tilemap

Square tilemap of Switzerland, as GeoJSON, SVG, and Shapefile. Please feel free to use. The only thing we ask for is to credit like so: "Tilemap CC-BY www.ebp.ch". For more infos see: http://www.geo.ebp.ch/2016/01/07/tilemap-der-schweiz

Home Page:http://www.geo.ebp.ch/2016/01/07/tilemap-der-schweiz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A tilemap for Switzerland

This repository contains a square tilemap of the cantons and half-cantons of Switzerland. This is roughly based on ideas in http://blog.apps.npr.org/2015/05/11/hex-tile-maps.html and in http://aftertheflood.co/projects/london-squared-map.

As of 02.2021, the tilemap is available as an official Datawrapper basemap. Upon creating a new map in Datawrapper, simply select "Choropleth Map", then look for "Switzerland > Cantons (square)". See also Weekly Chart: A tilemap of Switzerland cantons – with some twists.

What you get

This repository contains everything you need to make these:

Tilemap overlaid on geographically correct map (© swisstopo)

Tilemap (without lakes):

Example map 1: Result of the 1992 vote on accession to the EEA

Example map 2: Result of the 2016 vote on expulsion

Example map 3: Result of the 2016 vote on marriage taxation reform

Example map 4: GitHub preview map of the Switzerland Tilemap GeoJSON file

How to use

Please feel free to use all resources in this repository. The only thing to do: Please include a note saying "Tilemap CC-BY www.ebp.ch". Thank you.

Formats

The data folder contains the data behind the tilemap in GeoJSON (geo-web-native), Shapefile (not great, but most broadly usable industry 'standard'), and SVG (web-native) formats. The tilemap depicting regularly spaced and gridded squares (and half-squares) the data should not generally be re-projected. E.g., the tilemap file in Swiss projection does show squares when drawn, e.g., in a GIS. But if you reproject it to WGS 1984 and look at it, the squares won't be squares anymore. Thus, every projection system available below is its own product, not simply a reprojection.

GeoJSON files are always in WGS 1984 (EPSG:4326), since that is what the standard requires. However, the different GeoJSON files are made for displaying a regular (non-skewed, undistorted) tilemap in different spatial reference systems such as Web Mercator. The following files are available:

  • data for display in Web Mercator (EPSG:3857 / SR-ORG:7483) ...
    • ... as GeoJSON file (WGS 1984, EPSG:4326), for use in web mapping frameworks
    • ... as Shapefile, for use in web mapping frameworks such as CartoDB
  • data for display in Natural Earth Projection (cf.) ...
  • data for display in CH1903+ LV95 (EPSG:2056) as Shapefile, for use in desktop GIS or web mapping frameworks with custom projections
  • data for display in CH1903 LV03 (EPSG:21781, a deprecated spatial reference system) as Shapefile, for use in desktop GIS or web mapping frameworks with custom projections
  • data as SVG file

Additional material:

  • Example ArcGIS 10.3+ project illustrating the use of the shapefiles
  • Example graphics

For more infos see: http://www.geo.ebp.ch/2016/01/07/tilemap-der-schweiz (German) or http://www.ralphstraumann.ch/blog/2016/01/switzerland-tile-map (English).

About

Square tilemap of Switzerland, as GeoJSON, SVG, and Shapefile. Please feel free to use. The only thing we ask for is to credit like so: "Tilemap CC-BY www.ebp.ch". For more infos see: http://www.geo.ebp.ch/2016/01/07/tilemap-der-schweiz

http://www.geo.ebp.ch/2016/01/07/tilemap-der-schweiz