
Hi Franco, interesting! The file created with the patched version is quite different. It contains NET and NOD sections and also a MDR (the global index). Did you try option --x-center-poi-type=0x2f01 with the patched version? Maybe the type is important and 0x6601 was a bad choice. I've checked only a few tiles, but all of them contained at least one fuel station with additional address info (city/country/phone number). Maybe that's the important thing. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von franco_bez <franco.bez@web.de> Gesendet: Montag, 1. Juni 2020 23:44 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Performance of POI search on the Device Hi Gerd, some more test results: I switched back to the unpatched mkgmap-r4506. Instead I added some POIs to the boundary style (all fuel stations). This helped, now POI search is still fast. this file gives no problems, includes fuel stations <http://files.mkgmap.org.uk/download/476/dach_boundary_gmapsupp.img> the previous file (see below) triggers the problem. Ciao, Franco franco_bez wrote
Hi Gerd, thanks for the binary. I did a lot of testing. I do not get any difference. As soon as I have a transparent layer, like housenumbers or bundaries the POI search is slow. not matter if I have "route" and "index" in the options or not. I also tried with and without "--x-center-poi-type=0x3200".
I also can not find a POI named "center of map" do I have to add an additional option? a sample layer built with the patched mkgmap: dach_boundary_gmapsupp.img <http://files.mkgmap.org.uk/download/475/dach_boundary_gmapsupp.img>
Ciao, Franco
Gerd Petermann wrote
Hi Franco,
here is a quick hack to add a POI in the center of a map at resolution 24. If the source contains no POI. Default type is 0x6601. You can use e.g. --x-center-poi-type=0x3200 to change the type to a bollard. The name of the POI is "center of map"
I've only tested that the POI is added to the map and to the index of POIs.
The binary is here: http://files.mkgmap.org.uk/download/474/mkgmap.jar
Gerd
-- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev