Exctract CUPX from Landewise zip-file(s) and format to consistent CUP and XCSoar Waypoint Details, (Chapter 14.5) file, including the corresponding images.
- Requires Python 3.10 or higher
- Clone project:
git clone https://github.com/ubx/Landewiese-to-XCSoar-Waypoints
- Download zip-file(s), in CPUX format from here. You need an account.
- Copy zip-file(s) to
data/
folder - Run
python convert [<name>]
. Default name is landewiesen - In the
output/
folder you will find<name>.cup
,<name>_details.txt
and images inpics/
- Copy the above files into the XCSoar folder, dependent on your os and version:
- for Android:
Android/data/org.xcsoar/files
- for Linux:
.xcsoar
- for Kobo:
/mnt/onboard/XCSoarData
- for Windows: ?
- for Android:
- In XCSoar: Config -> System -> Site File, select More Waypoints (or Watched Waypoints):
<name>.cup
Waypoint details:<name>_details.txt
Installing binwalk
seems to have problems, see ReFirmLabs/binwalk#352
git clone https://github.com/ReFirmLabs/binwalk.git
cd binwalk
sudo python setup.py install
git clone https://github.com/CypherpunkSamurai/binwalk-win.git
cd .\binwalk-win\
C:\Users\904906\PycharmProjects\Landewiese-to-XCSoar-Waypoints\venv\Scripts\python.exe setup.py install
Be sure the Windows path
contains jar.exe
(e.g. C:\Program Files\Java\jdk-19\bin
) and unzip.exe
(e.g. download from here https://www.somacon.com/p161.php)