DeFROST Docs
Account DashboardAPI Reference
  • DeFROST Overview
  • Introduction
    • Use Cases
    • Development Quickstart
  • DeFROST Maps
    • Maps Overview
    • European Alps Map
    • Global Map
  • Product Roadmap
    • Changelog
    • Maintenance Schedule
  • Sources & References
  • Privacy Policy
  • Terms of Use
Powered by GitBook
On this page
  • Map Legend
  • Maps Authentication: JSON Web Tokens

Was this helpful?

  1. DeFROST Maps

Maps Overview

Integrate snow maps in your web mapping application

PreviousDevelopment QuickstartNextEuropean Alps Map

Last updated 5 years ago

Was this helpful?

DeFROST currently offers two different snow maps: one covering the and the other covering . Both maps display the snow depth in centimeters.

The table below quickly summarizes both maps' main characteristics:

Spatial resolution

20 meters

375 meters

Update time

Daily at 3AM CET

Daily at 4PM CET

Tile zoom levels

13 zoom levels

9 zoom levels

Tile size

256x256 pixels

256x256 pixels

Snow depth color range

Light blue (#35e9e6) to Bright pink (#ff01fb)

Light blue (#35e9e6) to Bright pink (#ff01fb)

Covered area

Alpine Convention

66.5°N to 66.5°S

Both maps are served via their own (TMS) based XYZ tiles endpoint, making it easy to display it as a layer on top of a basemap of choice, with any of the major web mapping libraries available today such as OpenLayers, Leaflet or Mapbox.

Map Legend

You can use the image below in your application so your users can interpret the snow depth seen on the map. Or feel free to use the JSON definition to programmatically display the range.

Maps Authentication: JSON Web Tokens

JWT is a highly secure, modern but relatively recent way of securing the access to a Tile Server, making it neccessary to write additional code in order to make it work with some web mapping libraries such as OpenLayers or Leaflet. The Mapbox library already supports JWT authentication method easily out of the box. However - we have already made that work for you:

In the same way as the DeFROST API, access to the Maps is protected using the industry standard. This means that any request to the XYZ tile endpoints must be authenticated by passing a valid JWT token in the HTTP Authorization request header.

Check the in the Development Quickstart for important details on DeFROST's Authentication functioning, applying to both the API and Maps.

You can check working code examples on either OpenLayers, Leaflet or Mapbox in the section or the .

JSON Web Tokens (JWT)
Development Quickstart
example project
European Alps Map
Global Map
European Alps
the entire globe
Tile Map Service
3KB
legend.json
JavaScript Definition of Snow Depth Range
Obtain your API tokens section