Skip to content

Style definition for rendering Garmin maps from OpenStreetMap data for hiking

License

Notifications You must be signed in to change notification settings

F462/OpenHikingMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkgmap style for OSM hiking maps

Style rules and TYP definitions for making a hiking map from OpenStreetMap data for a Garmin GPS using mkgmap. The cartography is mainly adopted from OpenTopoMap.

This project currently only offers a style, you have to render your maps on your own. If you are interested in pre-rendered maps, let me know it.

Note that the style is under heavy development, so you want to wait if you plan to use the style for productivity. A map preview follows as soon as the style is developed further.

How to render a map

The following steps describe how to get a Garmin map from OSM data using this style definition.

Fetching the data

You need to download OSM data somehow. This can be done by several methods, including download servers or direct download from the OSM page.

Rendering the map

Build the TYP file from OpenHikingMap.txt with mkgmap by using (expecting the parent directory as working directory):

mkgmap OpenHikingMap.txt

Then build the map file using mkgmap:

mkgmap -c OpenHikingMap/arguments --style-file=OpenHikingMap OpenHikingMap.typ all/osm/data/*.osm

For large areas you'll need to use a splitter.

Licensed under CC-BY-NC-SA.

About

Style definition for rendering Garmin maps from OpenStreetMap data for hiking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published