Giter Site home page Giter Site logo

flugfeld's Introduction

WeGlide flugfeld

Tests

flugfeld

Maintained list of worldwide airfields with gliding activity with number of launches and link to OpenAIP.

This list is used internally at WeGlide to make airports appear on the map based on their 'importance' in the gliding world. We are syncing the number of flights from the airfields (uploaded on WeGlide) on a yearly basis.

Additionally, this repo contains all kinds of sectors/regions one might want to filter for. Contributions are always welcomed!

OpenAIP Link

To link flugfeld to OpenAIP, you first need to get a custom export URL from them. Then you can download the data into data dir

export OPENAIP_URL=your_custom_url
bash download.sh

Link the data (creates a .geojson file) with

python openaip.py

Contributing

Missing airfield

If you find an airfield with gliding activity missing, there are two steps.

  • make sure it is available on OpenAIP - if not, you can add it there
  • add the missing row and open a pull request

Airfield not in administrative region

OpenAIP does not provide administrative regions. All airfields that are not in this list (For example EDDF) only belong to a country, not to a particular region. If there is in fact gliding activity on this airfield, you can add it here.

Number of launches

The provided number of launches is used as an indicator as to when airports appear on the map. If you add a new airfield, you may add a reasonable number. Number of launches is only important in comparison with near by airfields, as we compute a 'reign' parameter.

Naming

Naming of the gliding sites is following local conventions, so if you spot an error, please open a pull request.

Missing

Areas with missing information include:

  • Russia
  • South America
  • Japan

This in parts due to airport information missing on OpenAIP

Sectors

The sectors.json file describes all sectors that do not match administrative regions. You may add relevant sectors of your choice. Just copy and paste the content of the file here or look at the GitHub preview to get an overview of already existing sectors.

Order of languages is German, English, French, Dutch, Czech, Italian, Polish.

Multi Regions

Multi regions are filters that combine multiple regions or countries. You may add relevant multi regions of your choice. Multi regions can contain both, countries and regions.

Tiles

To render mbtiles from geojson, we suggest using tippecanoe. Install on OS X with

brew install tippecanoe

or on Ubuntu with

git clone https://github.com/mapbox/tippecanoe.git
cd tippecanoe
make -j
make install

Then, to render the tiles

tippecanoe -Z3 -z14 -f -r1 -pk -pf -J airport_filter.json -o airport.mbtiles airport.geojson

To have a look at the tiles, run the code below and open localhost:8080 in your browser.

docker run --rm -it -v $(pwd):/data -p 8080:80 maptiler/tileserver-gl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.