
On Fri, Oct 21, 2011 at 06:22:29PM +0200, WanMil wrote:
I think it's quite easy. I just wondered if it does anything because nobody complained. And of course I need a testcase to implement the feature. Can you send me the style files where it has an effect?
It should work with the default style. Let me try now. josm * hit ctrl-shift-o * download relation 155054 * download the bounding box minlat='60.146908999999994' minlon='24.9462708' maxlat='60.169635799999995' maxlon='24.9937026' * or just download the above bounding box straight away * save to file test.osm java -jar mkgmap.jar --gmapsupp --latin1 test.osm strings gmapsupp.img |grep 009 KAUPPATORI 0099(SUOMENLINNAN LAUTTA) SUOMENLINNA 0098(SUOMENLINNAN LAUTTA)+ The same thing with osm.pbf should omit the name of the ferry route relation from the "bus stop" labels: strings gmapsupp.img |grep 009 KAUPPATORI 0099 SUOMENLINNA 0098+ Strangely, I failed to convert the test.osm to test.osm.pbf: osmosis --rx test.osm --wb test.osm.pbf osmosis --rx test.osm --wb omitmetadata=true test.osm.pbf java -jar mkgmap.jar --gmapsupp --latin1 test.osm.pbf This would produce an empty gmapsupp.img for me (10k or 8k instead of the 92K). I have no idea what goes wrong. Maybe my Osmosis 0.39 is too old? This is the first time I have asked it to write osm.pbf. XML output and PBF and XML input have worked. Best regards, Marko