Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giggls/ocm4garmin
Generate POI-files from OpenCampingMap https://opencampingmap.org
https://github.com/giggls/ocm4garmin
Last synced: 6 days ago
JSON representation
Generate POI-files from OpenCampingMap https://opencampingmap.org
- Host: GitHub
- URL: https://github.com/giggls/ocm4garmin
- Owner: giggls
- License: gpl-3.0
- Created: 2023-04-13T18:03:23.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T09:44:38.000Z (over 1 year ago)
- Last Synced: 2024-11-17T07:15:13.588Z (2 months ago)
- Language: Python
- Size: 131 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scripts for generating Garmin POI files (via gpsbabel) from OpenCampingMap
# Usage
First of all one might need to install the international-address-formatter python
package.```
pip install international-address-formatter
```Unfortunately this package seems to be broken.
I was able to fix this using the following command:
```
recode latin1..utf8 $(python -m site --user-site)/international_address_formatter/data/worldwide.yml```
Afterwards it is possible to call gen_garmin_poi.py. Currently supported output
langages are German and English. Feel free to send patches for others :)This script has two modes. One for generating POI-Output for a single
given country and one to do this for all countries of the world.The script will generate GPX-Files which can then be converted to Garmin
POI-Format using gpsbabel in a second step.To do this just call the provided script gpx2poi.
This stuff will likely run on Unix only. Just go for WSL if you are forced to
use Windows.