Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating IMG files #7

Open
dp7x opened this issue Apr 27, 2022 · 3 comments
Open

creating IMG files #7

dp7x opened this issue Apr 27, 2022 · 3 comments

Comments

@dp7x
Copy link

dp7x commented Apr 27, 2022

Hello
I don't know if this is the right place to ask, but I try.
I would like to create a IMG file of freemap central Italy to use on garmin devices.
Can you tell me if this is allowed and how to do it?

Thank you in advance

@kaylesk
Copy link
Member

kaylesk commented Apr 28, 2022

Hi,
it is allowed, OSM data are open. This is just rough description of the process.

You need JAVA to run splitter and mkgmap (https://www.mkgmap.org.uk/download/mkgmap.html) and osmosis to merge countors.

  1. download data from http://download.geofabrik.de/europe/italy.html
  2. run java -jar splitter.jar map_data_file.osm.pbf and copy new file areas.list file into fixdata/template.areas.list
  3. you need "fixdata/template.sk.args" (can send you current SK, but you must change family id)
  4. no contours, remove row with osmosis merging "inputdata/10m-100-50_SRTM1_SK.osm.pbf", if you need contours look at https://wiki.openstreetmap.org/wiki/Phyghtmap

Generate latin1 version of maps, not utf, some devices don't like when.

@dp7x
Copy link
Author

dp7x commented Apr 28, 2022

Hello Kaylesk, thank you for your fast answer
I downloaded all the files, but I don't understand where I can find "fixdata/template.sk.args". Can you help me ?

@kaylesk
Copy link
Member

kaylesk commented Apr 29, 2022

Here is sample file for template.sk.args: sample_template.sk.args.txt
Please add missing data as mapname, family-name, family-id: ...
Details in mkgmap manual - https://www.mkgmap.org.uk/doc/options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants