logo separator

[mkgmap-dev] Mkgmap new versions missing a way during compilation

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Dec 31 13:22:58 GMT 2016

Hi Felix,

the way is not in portugal.osm.pbf from geofabrik. The *.poly file
shows that it is not in this file:
http://download.geofabrik.de/europe/portugal.html

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Samstag, 31. Dezember 2016 13:59:44
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Mkgmap new versions missing a way during      compilation

here is my commandline:

start /low /b /wait java -jar -XX:StringTableSize=100003 -Xms4000M -Xmx13300m C:\openmtbmap\mkgmap.jar --max-jobs=8 "--generate-sea" --code-page=1252 "--precomp-sea=C:\openmtbmap\maps\sea.zip" "--style-file=C:\openmtbmap\velomap_style" --nsis --index --levels="0:24, 1:23, 2:22, 3:21, 4:20, 5:19, 6:18" --overview-levels="7:17, 8:16, 9:15, 10:14, 11:13, 12:12" --add-pois-to-areas --reduce-point-density=3.4 --reduce-point-density-polygon=6 --housenumbers --link-pois-to-ways --preserve-element-order --ignore-turn-restrictions --polygon-size-limits="24:16, 23:14, 22:12, 21:11, 20:10, 19:9, 18:8, 17:7, 16:6, 15:5, 14:4, 13:3, 12:2, 11:0, 10:0" --description=velomap_pt --show-profiles=1 --location-autofill=bounds,is_in,nearest --bounds=C:\openmtbmap\maps\bounds.zip --route --country-abbr=pt --country-name=portugal --mapname=66180000 --family-id=6618 --product-id=1 --series-name=velomap_portugal_31.12.2016 --family-name=velomap_pt_31.12.2016 --tdbfile --overview-mapname=mapsetc --keep-going --area-name="portugal_31.12.2016_velomap.org<http://portugal_31.12.2016_velomap.org>" -c E:\openmtbmap\maps\template.portugal 7*.img


I reduced my lines file to the following:
highway=tertiary                                                                                         [0x05 road_class=2 road_speed=1 resolution 24]
highway=tertiary_link                                                                                     [0x09 road_class=2 road_speed=1 resolution 24]

(I wanted to make sure it's not taken out due to no connecting roads).
I did try with --reduce options taken out - but did not make a change.


I updated mkgmap.jar/splitter.jar to the most up to date version (not self compiled) to be sure not to report something wrong.
I use the portugal.pbf from geofabrik (as I cannot analyse that file - it could be missing from their site too - though I would think that is pretty unlikely - it's been missing since minimum one week in that case).






On 31 December 2016 at 09:53, Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>> wrote:
Hi Felix,

I was not able to reproduce this problem. I've downloaded a small area around the way and tried different options
with the default style, the way is always in the map (split into two lines as expected).
My file is here:
http://files.mkgmap.org.uk/download/323/way_354826927.osm.pbf
Please let me know how to reproduce the problem.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>>
Gesendet: Samstag, 31. Dezember 2016 00:02:48
An: Development list for mkgmap
Betreff: [mkgmap-dev] Mkgmap new versions missing a way during compilation

I first thought it's my style - but then I checked some more maps from others - and it seems to be missing everywhere:

http://www.openstreetmap.org/way/354826927#map=17/37.38957/-7.44517&layers=CN


That seems to be quite a serious bug - the way is simply lost!
With older mkgmap versions this was fine - I can find it in a map I compiled last June - so mkgmap versions older May 2016 were not affected I guess (or it's a java bug?).

I took out "--reduce-point-density=3.4 --reduce-point-density-polygon=6 "
but it did not change anything. As far as I can see it's kinda strange to put a road like this into OSM - but I would not consider it wrong tagging. My maps do have tertiary_link included in the style - and it works in other places.
It must have something to do with the shape of the way - length of it.

Felix



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich


More information about the mkgmap-dev mailing list