Re: [mkgmap-dev] Strange error in mkgmap

2018-02-12 Thread franco_bez
a resulting bad map : bad_gmapsupp.img Just one tile less - no problem - good_gmapsupp.img -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html

Re: [mkgmap-dev] Strange error in mkgmap

2018-02-12 Thread franco_bez
now hrer's the link to the data: test_cases.tar.gz No, the map is not that big at all, some 200 tiles. I build several maps from the same tiles, and only two of them have issues. One that is drawing the administrative

Re: [mkgmap-dev] Strange error in mkgmap

2018-02-12 Thread Andrzej Popowski
Hi Franco, there is a limit for maximum number of tiles, that GPS can process. It depends on device, I think it could be like 2000 or 4000 tiles. Is your map that big? -- Best regards, Andrzej ___ mkgmap-dev mailing list

[mkgmap-dev] Strange error in mkgmap

2018-02-12 Thread franco_bez
Hi all, I stumbled over a problem in mkgmap when I build a map with my bikeroute style (an overlay-map to highlight bicycle routes) I get a non-functional map for bigger areas. There is no error message during the build process, just the resulting map file is faulty. When I remove some tiles the

Re: [mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Andrzej Popowski
Hi Gerd, TDB doesn't need much info. There is a function FileInfo.getFileInfo(), which seems to provide all what is needed. You probably would have to comment parts of code, which deals with overview map and mdr index, but it is too difficult for me to find these parts in all sources. So I'm

Re: [mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Gerd Petermann
Hi Andrzej, I want to create a new tdb for these three files and use the new map in MapSource. I was able to create a *.tdb but MapSource doesn't display the map, only a light blue rectangle. I've also tried to modify the original Garmin files to reproduce the error, but without success. Gerd

Re: [mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Andrzej Popowski
Hi Gerd, I'm not sure, what are you asking about. Are you trying to create a TDB? I think this should work if you bypass creating of overview and mdr. If you only want to convert map to gmap format, then Garmin's MapConverter should work. -- Best regards, Andrzej

Re: [mkgmap-dev] Error in style since MKGMAP mkgmap-r4106.zip

2018-02-12 Thread Gerd Petermann
Hi lasemax, I guess the problem is in the above. Gerd Von: mkgmap-dev im Auftrag von lasemax Gesendet: Montag, 12. Februar 2018 18:19:25 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev]

[mkgmap-dev] Error in style since MKGMAP mkgmap-r4106.zip

2018-02-12 Thread lasemax
I get following message during my style check: Error in style: Error: (points:169): Unrecognised command 'amenity' My point file in line 169 say´s amenity=arzt { set amenity=doctors } I have many code in my style with "set" and all line with set x get an error. Regards lasmax -- Sent

Re: [mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Gerd Petermann
Hi Andrzej, seems that mkgmap has problems with the tiles in TopoGuide Hungary 2.12c. With JRE option -ea it fails, without it is very slow, probably because it tries to read wrong data :-( The display tool doesn't show these problems. Are you able to create a gmap folder for the tiles

Re: [mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Gerd Petermann
Hi Andrzej, thanks for the hints. Will try that as well. Gerd Von: mkgmap-dev im Auftrag von Andrzej Popowski Gesendet: Montag, 12. Februar 2018 10:26:25 An: mkgmap-dev@lists.mkgmap.org.uk

Re: [mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Andrzej Popowski
Hi Gerd, > It might be that MapSource is much more restrictive when the tdb file > says that the map is not from Garmin, e.g. it is not lockable or > whatever MapSource might use to detect that. This is the byte before "lowest map level", locked maps get value 1 there. I think you could use

[mkgmap-dev] changes in dem-tdb branch

2018-02-12 Thread Gerd Petermann
Hi all, slowly I seem to get closer to a solution for the crash problem. I've re-activated the dem-tdb branch to test some changes. With r4111 I've implemented a special option to force the problem case, so that the crash doesn't depend on the content of the hgt file or the dem-poly, see