[mkgmap-dev] Sample basic mkgmap config file
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Nov 13 17:43:57 GMT 2019
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: sample_v2.patch Type: text/x-patch Size: 1059 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20191113/16f36653/attachment-0001.bin> -------------- next part -------------- # Sample mkgmap option file to create a map for a GARMIN GPS and compatible PC Programs # # The options given here are a reasonable set for generating a routable map, but you # will probably need to copy this file into your working environment and adapt it by # fixing paths, adjusting options etc. # # Generally, where the default value for an option as acceptable, it isn't specified here. # Please see the standard help information for details of what the options do. # # Typical command line invocation, after using the splitter to generate a set of tiles: #> java -jar mkgmap-rel/mkgmap.jar -c mkgmap-rel/examples/sample.cfg -c template.args mkgmap-rel/examples/typ-files/mkgmap.txt # gmapsupp gmapi route index bounds=bounds.zip precomp-sea=sea.zip location-autofill=is_in,nearest housenumbers max-jobs drive-on=detect add-pois-to-areas link-pois-to-ways process-destination process-exits code-page=1252 check-routing-island-len=700 remove-ovm-work-files # # Other common options you may wish to consider: # #style-file=mkgmap-rel/examples/styles/default # The above is the default style, change and enable this to use your own style #road-name-config=mkgmap-rel/examples/roadNameConfig.txt #split-name-index #make-opposite-cycleways #order-by-decreasing-area #name-tag-list=name:en,int_name,name,place_name,loc_name
- Previous message: [mkgmap-dev] Sample basic mkgmap config file
- Next message: [mkgmap-dev] Sample basic mkgmap config file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list