AirspaceConverter
=================
A multi-platform and open source tool to convert between different airspace and waypoint formats.
Can read airspace and waypoint files in the following formats:
- _OpenAir_
- _openAIP_
- KML/KMZ
- _SeeYou_
- _LittleNavMap_
Can write in the following formats:
- KMZ
- _OpenAir_
- _SeeYou_
- _LittleNavMap_
- _Polish_
- _Garmin_ IMG
While converting to _OpenAir_ AirspaceConverter estimates if the points are part of arcs or circumferences in order to make use of arc and circumference definitions of the _OpenAir_ format and so avoiding to output all points one by one.
The ability to read **KML**/**KMZ** is based on the **KMZ** airspace files produced by _Austrocontrol_. This utility can convert also _SeeYou_ **.CUP** waypoint files to **KMZ** (for _Google Earth_). The conversion to **IMG** for _Garmin_ devices is done using _cGPSmapper_.
AirspaceConverter is written in C++11 and runs on _Linux_, _Windows_ and _macOS_. In order to be immediately easy to use it has _Qt_ and _Windows MFC_ user interfaces. But it can also work from command line.
For more information's about this project: [alus.it/AirspaceConverter](https://www.alus.it/AirspaceConverter)
Contributors are, always, warmly welcome!
Why this software?
------------------
Airspace represented in 3D in _Google Earth_ can help to visualize and better understand the airspace structure.
Not only, having the planned route or track of a flight (as GPX file), displayed as well in _Google Earth_ will make easy to check for airspace crossed or to be avoided.
This software can also be useful for maintainers of _OpenAir_ airspace and _SeeYou_ waypoints files, not only to visualize airspace and waypoints but also to verify the syntax of _OpenAir_ or _SeeYou_ lines entered.
Duplicate consecutive points will be ignored, the converter will warn about them while reading _OpenAir_ files. This will also detect the special case of an unnecessary point repeating the end of the arc defined on the previous line.
For the "landable" waypoints in the **CUP** files an estimation of the runway perimeter is drawn on the earth surface, in order to do that not only the position is used but also the runway orientation and length. This is particularly useful to verify that the position of the airfield in the **CUP** file matches exactly the runway in _Google Earth_. In software like _LK8000_ the airfield position is considered as the exact center of the runway, orientation and length are used to assist for landing with an HSI and glide slope indications thus the correctness of position, orientation and length becomes really important.
_openAIP_ (http://www.openaip.net/) provides a free, worldwide and updated airspace and waypoint repository but in his own format, while many devices and software support _OpenAir_ airspace files. This software can convert: _openAIP_ airspace to _OpenAir_ and _openAIP_ waypoints to _SeeYou_; so making _openAIP_ data available to many portable devices.
AirspaceConverter can be used also to merge together several airspace or waypoint files (_openAIP_ repeated airspaces will be automatically removed) and filter the result on a specific range of latitudes and longitudes.
Converting _openAIP_ files to _OpenAir_ has also the advantage to reduce significantly the size of the total airspace database used on a portable device. For example _LK8000_ recently supports also the _openAIP_ format (feature that I implemented) but it is not always possible to load bigger _openAIP_ files on older PNA devices, while the same files converted in _OpenAir_ yes.
There are also cases where the "official" airspace files are available only in KML format like the Austrian airspace from _Austrocontrol_, also in this case is possible to convert it to _OpenAir_.
In case is required to import long lists of points (like state borders) from KML LineString tracks: just use the option `-t` and the tracks found will be closed and treated as unknown airspace. Then it will be possible to adapt the airspace definitions manually in the so converted _OpenAir_ file.
About KML format
----------------
The _[Keyhole Markup Language](https://developers.google.com/kml/)_, used by _Google Earth_ is probably a good format to define models of buildings but it is not exactly practical to define airspace. This because it not possible, at least from my understanding, to define in the same 3D object points at altitudes with different references: it is the typical case of an airspace with AGL floor and AMSL ceiling.
One possible solution is to translate, where necessary all the altitudes to the same reference but to do that we need the know the altitude of the terrain at every location, reason why this software uses terrain maps.
Another important limitation of KML is that surfaces which follow the terrain are possible only at terrain altitude.
So please, be advised that, what you will see in _Google Earth_ will not exactly match how airspace definitions are really intended.
LK8000 terrain raster map files
-------------------------------
This program uses the same terrain raster maps (**.dem**) of _LK8000_ to convert altitudes from AGL to AMSL.
Also while importing _SeeYou_ waypoints with null altitude (except unknown and normal types) the ground elevation will be used as altitude of that point. For doing this the terrain raster maps must be loaded before the waypoints. Ground heights between -5 and 5 meters will be anyway considered AMSL.
In case the loaded terrain maps are overlapping, the one with the best resolution will be automatically used.
On the _LK8000_ website there is a [wide terrain raster map collection](https://www.lk8000.it/download/maps.html).
The part of this program reading and using the terrain maps has been derived and adapted from _LK8000_ project.
To know more about _LK8000_ project: [lk8000.it](https://www.lk8000.it/)
The repository of _LK8000_ is available here: [github.com/LK8000](https://github.com/LK8000/LK8000)
AirspaceConverter shared library
--------------------------------
This software is designed to keep completely separated functionalities from the user interfaces.
All the reading, writing and conversion features are in a common shared library: libAirspaceConverter can be compiled under different platforms and so used from different user interfaces.
AirspaceConverter command line
------------------------------
The `airspaceconverter` command line executable, works taking several arguments, for example:
`airspaceconverter -q 1013 -a 35 -i inputFileOpenAir.txt -i openAIP_asp.aip -w waypoints.cup -w openAIP_wpt.aip -m terrainMap.dem -o outputFile.kmz`
Possible options:
- **-q**: optional, specify the QNH in hPa used to calculate height of flight levels
- **-a**: optional, specify a default terrain altitude in meters to calculate AGL heights of points not covered by loaded terrain map(s)
- **-i**: multiple, input file(s) can be _OpenAir_ (**.txt**), _openAIP_ (**.aip**), _Google Earth_ **.kmz**, **.kml**)
- **-w**: multiple, input waypoint file(s) can be _SeeYou_ (**.cup**), _openAIP_ (**.aip**) or _LittleNavMap_ (**.csv**)
- **-m**: optional, multiple, terrain map file(s) (**.dem**) used to lookup terrain heights
- **-l**: optional, set filter limits in latitude and longitude for the output, followed by the 4 limit values: northLat,southLat,westLon,eastLon where the limits are comma separated, expressed in degrees, without spaces, negative for west longitudes and south latitudes
- **-o**: optional, output file **.kmz** (_Google Earth_), **.txt** (_OpenAir_), **.cup** (_SeeYou_), **.csv** (_LittleNavMap_), **.img** (_Garmin_) or **.mp** (_Polish_). If not specified will be used the name of first input file as **KMZ**
- **-p**: optional, when writing in _OpenAir_ avoid to use arcs and circles but only points (DP)
- **-s**: optional, when wr
没有合适的资源?快使用搜索试试~ 我知道了~
在不同格式之间转换空域文件的 工具:OpenAir、openAIP、KML/KMZ、Polish 和 Garmin _C++
共127个文件
cpp:22个
h:22个
png:22个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
3星 · 超过75%的资源 2 下载量 30 浏览量
2022-07-02
23:08:56
上传
评论
收藏 598KB ZIP 举报
温馨提示
_C++_代码_下载 一个多平台和开源工具,用于在不同的空域和航路点格式之间进行转换。 可以读取以下格式的空域和航点文件: OpenAir openAIP KML/KMZ SeeYou LittleNavMap 可以写成以下格式: KMZ OpenAir SeeYou LittleNavMap Polish Garmin IMG 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
在不同格式之间转换空域文件的 工具:OpenAir、openAIP、KML/KMZ、Polish 和 Garmin
_C++
(127个子文件)
airspaceconverter.1 8KB
packages.config 368B
packages.config 362B
packages.config 362B
KML.cpp 46KB
AirspaceConverterDlg.cpp 32KB
AirspaceConverter.cpp 31KB
OpenAir.cpp 25KB
mainwindow.cpp 22KB
CSV.cpp 22KB
OpenAIP.cpp 21KB
Geometry.cpp 20KB
Airspace.cpp 19KB
SeeYou.cpp 15KB
main.cpp 9KB
RasterMap.cpp 6KB
Polish.cpp 4KB
Processor.cpp 4KB
AirspaceConverterApp.cpp 2KB
aboutdialog.cpp 2KB
LimitsDlg.cpp 1KB
Airfield.cpp 1KB
limitsdialog.cpp 1KB
Waypoint.cpp 1KB
main.cpp 848B
stdafx.cpp 209B
MakefileGui.darwin-clang++ 16KB
Makefile.darwin-clang++ 4KB
AirspaceConverterLib.vcxproj.filters 3KB
AirspaceConverterMFC.vcxproj.filters 2KB
AirspaceConverter.vcxproj.filters 1KB
AirspaceConverter.gif 23KB
.gitignore 1KB
Geometry.h 9KB
Airspace.h 9KB
AirspaceConverter.h 6KB
resource.h 4KB
AirspaceConverterDlg.h 3KB
OpenAir.h 3KB
Waypoint.h 3KB
KML.h 3KB
mainwindow.h 3KB
stdafx.h 2KB
RasterMap.h 2KB
OpenAIP.h 2KB
Airfield.h 1KB
CSV.h 1KB
SeeYou.h 1KB
LimitsDlg.h 1KB
Processor.h 1KB
limitsdialog.h 979B
Polish.h 929B
AirspaceConverterApp.h 896B
aboutdialog.h 793B
targetver.h 306B
AirspaceConverter.icns 312KB
AirspaceConverter.ico 224KB
Logo.jpg 8KB
LICENSE 34KB
Makefile 3KB
README.md 14KB
CODE_OF_CONDUCT.md 3KB
CONTRIBUTING.md 882B
osxcross-dmg 14KB
PkgInfo 8B
Info.plist 1KB
glidersite.png 5KB
airfieldgrass.png 5KB
airfieldsolid.png 5KB
outlanding.png 5KB
sender.png 2KB
intersection.png 2KB
ndb.png 2KB
cooltower.png 1KB
tunnel.png 1KB
dam.png 1KB
vor.png 1KB
windturbine.png 1KB
airfield.png 1KB
mountpass.png 1KB
cathedral.png 1KB
undefined.png 1017B
bridge.png 917B
castle.png 911B
powerlinepole.png 878B
mounttop.png 866B
powerplant.png 734B
normal.png 292B
AirspaceConverterQt.pro 5KB
resources.qrc 108B
AirspaceConverterMFC.rc 21KB
AirspaceConverterMFC.rc2 818B
License.rtf 191KB
debianize.sh 15KB
makeApp.sh 6KB
build.sh 2KB
tstCsv.sh 2KB
makeDmg.sh 2KB
makeZip.sh 1KB
check.sh 1KB
共 127 条
- 1
- 2
资源评论
- 〇〇扁鹊2022-11-02哇 下载了一堆东西 不会用啊
- lyr0032022-11-12资源很赞,希望多一些这类资源。
快撑死的鱼
- 粉丝: 1w+
- 资源: 9149
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功