OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-12-03 17:54:59

Carlos_N
Member
Registered: 2017-09-21
Posts: 12

help with map generation

Hi, I'm asking for help with map generation. (OSM for Garmin)
First of all, I've never done this before, and I have no idea.

Reading the available wikis, I got an idea of how this works.

What I do now is:
I get from download.geofabrik.de the .pbf file of the country I'm interested in.
If it's too big I use the splitter to divide it.

I use Mkgmap and the parameters I use are the ones I copy below (now I have a map of Iceland):

--ignore-fixme-values
--latin1
--route
--add-pois-to-areas
--family-name=XXXXX
--Family ID=9999
--series-name=XXXXXXX
--name-tag-list=name:en,name:en,int_name,name
--bounds=bounds
--precomp-sea=sea
--index
--split-name-index
--gmapsupp
iceland-latest-internal.osm.PBF
mapnik.typ

bounds and sea are two folders where the corresponding files of borders and sea polygons are located.

By doing this the process ends without error messages and produces a map that in Basecamp allows you to make paths and apparently works well.

But there are two things that suggest to me that something is not right.

The generated map (Iceland) has a size of 19.5MB, while the web garmin.openstreetmaps.nl occupies 26.4MB.

In the gps I use, Garmin Montana, calculates the routes but takes a long time to do so, while with the maps of the web garmin.openstreetmaps.nl the plot is almost instantaneous.

Can you tell me if what I'm doing is right, or should I make changes?

Greetings

Offline

#2 2018-12-03 18:10:26

muralito
Member
Registered: 2012-09-04
Posts: 1,716

Re: help with map generation

Carlos_N wrote:

Can you tell me if what I'm doing is right, or should I make changes?

I think you should start your own thread.

Anyway, the parameters used for garmin.openstreetmap.nl are documented here https://github.com/ligfietser/mkgmap-style-sheets

Offline

#3 2018-12-04 04:47:34

Beddhist
Member
From: Doembang Nangbuat, TH
Registered: 2009-07-28
Posts: 414
Website

Re: help with map generation

Not quite: the link points to the "Generic new" style and it is almost entirely cosmetic. Lambertus has documented his mkgmap settings elsewhere.

Offline

#4 2018-12-04 08:40:18

ligfietser
Moderator
Registered: 2008-10-09
Posts: 5,030
Website

Re: help with map generation

Beddhist wrote:

Not quite: the link points to the "Generic new" style and it is almost entirely cosmetic. Lambertus has documented his mkgmap settings elsewhere.

The mkgmap settings are listed there too

Offline

Board footer

Powered by FluxBB