XCSoar / xcsoar-data-repository

XCSoar File Manager Data Repository
https://download.xcsoar.org/repository
8 stars 23 forks source link

Write airspace file generator for skylines airspace_list.txt #56

Open lordfolken opened 8 years ago

lordfolken commented 8 years ago

Skylines also requires current airspace. The file is located: https://github.com/skylines-project/skylines/blob/813cbd7c7c0874026737659fa3ae9a65b8146ec1/mapserver/airspace/airspace_list.txt This list should should be generated and imported to skylines on a commit basis.

lordfolken commented 8 years ago

The generator has been committed in 6b99248bf529efdd844c99282763c4d43a7d29dd What is left to do, is the automatic upload and import to skylines.

Turbo87 commented 8 years ago

I'm not sure if this is the right repo for that...

lordfolken commented 8 years ago

I was hoping to provision both applications from this repository. The CI path should also upload the results to skylines, as skylines currently has very old airspace data. Please make a suggestiion.

Turbo87 commented 8 years ago

the problem is that the skylines importing is a lot more involved and not quite as easy as just uploading a file. we could fire some sort of webhook from here, but I don't want to couple this repo too tightly to SkyLines.

TobiasLohner commented 8 years ago

Hi,

indeed, we're using GDAL/OGR to parse the airspace files. It's parser is not as robust as XCSoar's airspace parser and causes some problems sometimes. I'd like to use XCSoar parser for it's reliability, but then we'd need some more api functionality.

Additionally, airspace files often include FIRs and country borders which have to be removed manually (using the airspace_blacklist.txt) when importing into the database, otherwise the map will be a lot more cluttered.

Tobias

Am 2016-05-03 09:42, schrieb Tobias Bieniek:

the problem is that the skylines importing is a lot more involved and not quite as easy as just uploading a file. we could fire some sort of webhook from here, but I don't want to couple this repo too tightly to SkyLines.

You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub [1]

*

Links:

[1] https://github.com/XCSoar/xcsoar-data-repository/issues/56#issuecomment-216459809