<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Harri,</p>
<p>to keep your workflow you could possibly generate the .imgs with
overlay info --transparent and give them increasingly higher
--draw-priority to control, which is painted on top of which.
Modern devices allow to enable and use multiple map layers this
way, although heritage devices may not.</p>
<p>> Combine attempts with like "java -jar mkgmap/mkgmap.jar
--gmapsupp basemap.img fixme.img oneway.img"<br>
Wouldn't the mkgmap syntax treat at least the last file named on
the command line as typfile?<a
href="https://wiki.openstreetmap.org/wiki/Mkgmap/help/TYP_files"
title="https://wiki.openstreetmap.org/wiki/Mkgmap/help/TYP_files"
class="https"><br>
</a>(<a
href="https://wiki.openstreetmap.org/wiki/Mkgmap/help/TYP_files"
title="https://wiki.openstreetmap.org/wiki/Mkgmap/help/TYP_files"
class="https moz-txt-link-freetext">https://wiki.openstreetmap.org/wiki/Mkgmap/help/TYP_files</a>)
<br>
</p>
<p>But: In an old shellscript I do successfully merge multiple .imgs
into one final .img using mkgmap with an args-file for the final
map (including --gmapsupp) and several --input-file=....img lines
for the individual .imgs. The individual .img's typfiles all are
given individual names during the individual maps creation,
although they typically (but not enforced) where just copies of
the same source typfile in my usecase. No typfile named for the
final map. The outcome works on Garmin Edge devices as well as
QMapShack on Linux.<br>
</p>
<p><font face="monospace"> # concatenate maps from subregions (if
any) to main region <br>
...<br>
# create options.arg file<br>
echo "overview-mapname=${MAPNAME}" > ${ARGS}<br>
echo "overview-mapnumber=${MFID}0000" >> ${ARGS}<br>
...<br>
echo "draw-priority=30" >> ${ARGS}<br>
echo "transparent" >> ${ARGS}<br>
echo "gmapsupp" >> ${ARGS}<br>
for SUBDIR in $(ls -d "${PROJDIR}/${MREGION}/"*/)<br>
do<br>
if ! [ ${SUBDIR: -5} == ".bak/" ] 2> /dev/null<br>
then<br>
# ${SUBDIR} is subregion not .bak dir<br>
for IMGFILE in $(ls -d "${SUBDIR}"*.img 2>
/dev/null)<br>
do<br>
echo "input-file=${IMGFILE}" >> ${ARGS}<br>
done<br>
fi<br>
done<br>
echo "output-dir=${PROJDIR}/tmp/" >> ${ARGS}<br>
echo "verbose" >> ${ARGS}<br>
<br>
# run mkgmap to tmp<br>
mkgmap -c ${ARGS} <br>
...</font><br>
</p>
Cheers Felix
</body>
</html>