<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>HI all,<br></p><p>sometimes a little bit more explention to the options would be help.<br></p><p>Error messages would be helpfull too.<br></p><p>Arndt<br></p><p><br></p><blockquote><p>Gerd Petermann <GPetermann_muenchen@hotmail.com> hat am 30. April 2017 um 10:03 geschrieben:</p><p>Hi all,</p><p>I think the handling of options in mkgmap is a bit too tricky and has confused many users (myself included) in the past.<br>One obvious problem is that mkgmap has so many options, another is that the order matters, and a third is that the effect of the<br>options differ for different input files (osm format, polish (.mp) , type file .</p><p>I think about a rather simple change so that it prints the active options for each input file when the verbose option (or -v) is given, and also once for the combiner step<br>This would be a rather simple change and probably helps in most cases.<br>I also think that the --verbose option should print a hint that shows this link:<br><a href="http://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging">http://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging</a><br></p><p>Even better might be to warn about options which had no effect or which (probably) occured in the wrong order<br>Samples :<br>java -jar mkgmap.jar -c split_out\template.args --latin1 --bounds=bounds.zip --index --family-id=3212 3212.txt<br>(wrong order of options, input files are processed with default values)<br>java -jar mkgmap.jar --housenumbers --bounds=bounds.zip *.img<br>(these options have no effect when processing img files as input)<br>java -jar mkgmap.jar -description=my-map -c split_out\template.args --gmapsupp<br>(not good when template.args sets description for each input file)</p><p>This change is not so easy to implement and it might produce false warnings in special cases.</p><p>Comments?<br>Gerd</p><p>_______________________________________________<br>mkgmap-dev mailing list<br>mkgmap-dev@lists.mkgmap.org.uk<br><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br></p></blockquote></body></html>