Skip to content

espwx/xcsoar-data-content

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xcsoar-data-content

Repository URL checker

This repository currently maintains all the data necessary to create the XCSoar File Manager application's repository manifest file as well as enable some XCSoar website functionality.

This data consists of:

  1. content: The content itself, like:
    1. Waypoints
    2. Airspaces
  2. remote: URLs to external content, like:
    1. Waypoints hosted on https://soaringweb.org/, etc.
  3. source: Configuration parameters specifying how to generate content, like:
    1. map bounding box co-ordinates.

Within the above three parent directories, the child directories specify the XCSoar data type (E.g. type=map in repository ). This is fully specified by the directory name (e.g. map, waypoint, airspace, etc.)

The directory level below this, specifies the geographic area of the data, and is simply used to enforce various validity checks. For example, files in any country directories, must have a filename stem (filename sans extension) that is an ISO3166.alpha2 country code (e.g. AR, DE, ZA, etc.). This is used as the repository area field.

Additionally, for files in region subdirectories, the repository area field will be best-effort extracted from the filename prefix (underscore separated). E.g. ca_quebec.* implies Canada.

The repository's update field is generated from the git commit date.

Output

The following manifest files are built by, with, and from, this repo (required by ...):

  1. https://download.xcsoar.org/repository (XCSoar)
  2. https://download.xcsoar.org/waypoints/waypoints.js (website)
  3. https://download.xcsoar.org/waypoints/waypoints_compact.js (website)
  4. https://download.xcsoar.org/maps/maps.config.js (website & mapgen)
  5. https://download.xcsoar.org/waypoints/xcsoar_waypoints.cup (mapgen)

Contributions

Please feel free to add missing data and correct errors by submitting a pull request!

When doing so, please write in the comments the source of the new data, so that it is easy to verify.

Contributions here have to pass:

  1. A review by another contributer
  2. A parsing check by aerofiles
  3. Validity check depending on file type. E.g. remote URLs must exist, file extensions must be correct, etc. Please look in and run script/check/check.bash to verify validity.

They are then merged, built, and deployed to https://download.xcsoar.org .

About

The contents of download.xcsoar.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.8%
  • Shell 22.2%