alus-it / AirspaceConverter

Tool to convert airspace files between different formats: OpenAir, openAIP, KML/KMZ, Polish and Garmin
https://www.alus.it/AirspaceConverter
GNU General Public License v3.0
37 stars 10 forks source link

OpenAir output: repeated points when outputting in DP (points) only #109

Closed alus- closed 4 years ago

alus- commented 4 years ago

Output in OpenAir with option to output only points (DP) may cause repeated points. This should not be the case.

alus- commented 4 years ago

Points are now verified if too close: difference less than 0.00005 minutes (~ 0.926 m) on both latitude and longitude will make a point to be skipped. In case outputting in OpenAir with DD:MM:SS coordinates are checked if equal with seconds precision in order to avoid repeated points also in this case.