Skip to content

The file maps.json

Stefan Kebekus edited this page Dec 19, 2021 · 2 revisions

The list of available maps is published on the internet in a JSON file whose internet address is hardcoded into the app enroute flight navigation. At the time of writing, this is https://cplx.vm.uni-freiburg.de/storage/enroute-GeoJSONv001/maps.json. The content of this file describes aviation-maps and base-maps that are available for download available. This is used by the app enroute flight navigation to provide the following functionality.

  • Show a list of available maps to the user on the page "Download Maps"

  • Inform the user when map updates become available.

This document describes the content of the JSON file.

The Top-Level Object

The top-level object in maps.json is a dictionary with the following entries.

  • url - the base URL where all maps can be downloaded. At the time of writing this document, this entry was https://cplx.vm.uni-freiburg.de/storage/enroute-GeoJSONv001

  • maps - an array of dictionaries, one for every available map. These "map objects" are described below.

  • whatsNew - a string with an English message that informs the user about changes in map covering, …

The Map Objects

These are standard JSON dictionaries with the following entries.

  • path - Path of the downloadable file, relative to the url that was specified in the top-level object

  • size - Size of the map file on the server

  • time - A string that describes the file creation day for the map file. This string is of the form YYYYMMDD.

Clone this wiki locally