logo separator

[mkgmap-dev] Sample basic mkgmap config file

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Nov 13 17:50:59 GMT 2019

Hi Ticker,

I use "svn add" to add a new file. A following svn diff produces the patch with the file.
I think the README is not distributed, so you have to change build.xml as well.

If you use svn patch with my patch the file is "automagically" svn-aded

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Mittwoch, 13. November 2019 18:43
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Sample basic mkgmap config file

Hi Gerd

I've tweaked the file a bit and put a hint to it in the README in the
root directory of the distribution; this file is very out-of-date but I
didn't want to start re-writing it.

Attached is the updated patch and resources/sample.cfg (which I
couldn't work out how to get into the patch because it's a new file)

I don't think we can solve all a new users build problems, but the idea
of this was just to start the user off with a good set of options and
how they can be specified, along with the splitter generated
template.args, to mkgmap.

Ticker

On Wed, 2019-11-13 at 11:12 +0000, Gerd Petermann wrote:
> Hi Ticker,
>
> I don't think that it will be of much help when we distribute a
> sample without any hint regarding the usage.
>
> The attached patch shows how to change build.xml so that it copies a
> sample.cfg to examples directory. I think we need at least a
> README.html or HOWTO.html
> that explains how to use it and I have no idea where to start with
> this.
>
> Here is a brief description how I create a map for my bicycle tours:
> 1) Extract attached zip file to produce a directory map containing
> makemap.cmd and mkgmaps.args
> 2) Create a gpx file with a router like brouter
> http://brouter.de/brouter-web
> 3) Load the gpx file into JOSM and draw a polygon around it, store it
> as map.poly in the map directory
> 4) Download osm.pbf from geofabrik that covers the map.poly
> (typically europe-lastest.osm.pbf)
> 5) Modify the first rows in script makemap.cmd so that the wanted osm
> input file is used and map name is set
> 6) Execute the script (don't try it, it will only work on my PC)
>
> If you look at the script you will find that it requires some tools
> and input files in exactly the right places
> and there is no code to react on errors, so it may help some people
> but probably it will only be confusing for a newbie, esp.
> one who uses Linux.
>
> The program map-composer (1)  tries to solve this problem with a
> dialog, but it is only available in German.
>
> (1) http://composer.waldpfa.de/
>
> Gerd


More information about the mkgmap-dev mailing list