You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2011-01-10 13:35:31

Rogerc
Member
Registered: 2011-01-10
Posts: 3

Problem with mkgmap -c option and multiple img files

I am attempting to build a gmapsupp.img file by combining multiple .img files with mkgmap.

It works fine when the files are listed on the command line, but not when they are included in a data file with the -c option.

My command line is:

java -Xmx1000m -jar mkgmap.jar --gmapsupp -c filelist.txt

and the file is in the current directory. It is being read - confirmed by putting an invalid option in it, which generates an error message.

I have tried with the file names on separate lines, and space separated. There are about 90 files. A gmapsupp of about 4k is generated.

Any suggestions would be appreciated.

Offline

#2 2011-01-11 06:27:29

Seldom
Member
Registered: 2009-01-25
Posts: 193

Re: Problem with mkgmap -c option and multiple img files

I've never had any success with the -c option to compile multiple files.
This is a link to an old batch file request I posted.
Triggerfish's batch file was extremely helpful.
http://forum.openstreetmap.org/viewtopi … 706#p48706

Offline

#3 2011-01-11 11:14:56

csdf
Member
From: UK, living in Abu Dhabi
Registered: 2009-08-11
Posts: 313
Website

Re: Problem with mkgmap -c option and multiple img files

I use the -c to compile multiple img files as a matter of course during my weekly builds. 
Can you post your filelist.txt file somewhere?

Offline

#4 2011-01-11 12:33:00

Lambertus
Inactive
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: Problem with mkgmap -c option and multiple img files

I just saw this on the Mkgmap mailinglist, maybe it helps:

family-id: 10010
product-id: 1
draw-priority:28
series-name: OpenFietsMap (Benelux)
family-name: OpenFietsMap (NL)
area-name: OpenFietsMap (Benelux)
description: Routable cycling map of The Netherlands,Belgium and Luxembourg
country-abbr:
country-name:
style-file: c:\Garmin\mkgmap\Styles
overview-mapname: 10010000
generate-sea: no-mp,extend-sea-sectors,close-gaps=1000,land-tag=natural=background
tdbfile
latin1
code-page: 1252
location-autofill: 1
ignore-maxspeeds
remove-short-arcs
merge-lines
add-pois-to-areas
road-name-pois: 0x6500
preserve-element-order
keep-going
net
route
index

mapname: 10010001
description: Vlaanderen_W
input-file: Downloads\10010001.osm.gz

mapname: 10010002
description: W-Zeeland
input-file: Downloads\10010002.osm.gz

mapname: 10010003
description: Midden-Zeeland
input-file: Downloads\10010003.osm.gz

mapname: 10010004
description: Brussel-Antwerpen
input-file: Downloads\10010004.osm.gz

[[snipped, you get the idea]]


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#5 2011-01-12 11:18:47

Rogerc
Member
Registered: 2011-01-10
Posts: 3

Re: Problem with mkgmap -c option and multiple img files

Many thanks all. I have now found the answer - it is that each line in the file must be prefixed with

input_file:

or

input-file=

Offline

Board footer

Powered by FluxBB