[mkgmap-dev] Tiles missing
From Pierre Brico pierre.brico at gmail.com on Wed Jun 17 12:56:46 BST 2020
Hi Gerd, Yes I know for the release 4546. I don't think it has an impact on the missing tiles. That's why I give you my logs. Nevertheless, I've just generated a new map using version 4550 of mkgmap. Here is the complete log: Pierre at DESKTOP-T8V8V7L MINGW64 /d/Garmin/build $ ./build-default.sh -c France -i FR | tee output.log + SPLITTER_DIR=/d/Garmin/tools/splitter-r597 + MKGMAP_DIR=/d/Garmin/tools/mkgmap-r4550 + SEA_FILE=../sea-latest.zip + BOUNDS_FILE=../bounds-latest.zip + GEONAMES_FILE=cities15000.txt + getopts i:c: opt + case "$opt" in + COUNTRY=France + getopts i:c: opt + case "$opt" in + COUNTRY_ISO=FR + getopts i:c: opt + shift 4 ++ grep -n France familyId.txt + findFamily=18:France + '[' -z 18:France ']' ++ echo 18:France ++ cut -f1 -d: + let FAMILY_ID=18 + '[' -z FR ']' ++ command -v java + '[' -x '' ']' + export 'PATH=/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/c/Program Files/Java/jdk1.8/bin' + PATH='/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/c/Program Files/Java/jdk1.8/bin' + '[' -z 18 ']' + let FAMILY_ID+=100 + '[' '!' -f France-latest.osm.pbf ']' + '[' '!' -d ./data-FR ']' + mkdir data-FR + java -Xmx4000m -jar /d/Garmin/tools/splitter-r597/splitter.jar --output-dir=./data-FR --geonames-file=cities15000.txt france-latest.osm.pbf + pushd data-FR ++ date +%d-%m-%Y + java -Xmx8G -jar /d/Garmin/tools/mkgmap-r4550/mkgmap.jar --gmapsupp --family-id=118 --product-id=0 --product-version=1 --draw-priority=20 '--family-name=OSM FR' '--series-name=OSM FR' --country-name=France --country-abbr=FR --latin1 --index --split-name-index --housenumbers --reduce-point-density=4 --reduce-point-density-polygon=8 --min-size-polygon=8 '--polygon-size-limits=24:12, 18:10, 16:8, 14:4, 12:2, 11:0' --route --make-opposite-cycleways --add-pois-to-areas --process-destination --process-exits --order-by-decreasing-area --keep-going --style-file=/d/Garmin/tools/mkgmap-r4550/resources/styles --style=default --bounds=../bounds-latest.zip --precomp-sea=../sea-latest.zip -c template.args ../typ/2000.typ '--description=OSM custom routable(FR_17-06-2020)' Time started: Wed Jun 17 11:59:43 CEST 2020 Setting max-jobs to 8 SEVERE (StyledConverter): 63240059.osm.pbf: Attention: Tile contains both drive-on-left (7656) and drive-on-right roads (24363) SEVERE (StyledConverter): 63240060.osm.pbf: Attention: Tile contains both drive-on-left (6905) and drive-on-right roads (19475) SEVERE (StyledConverter): 63240089.osm.pbf: Attention: Tile contains both drive-on-left (1) and drive-on-right roads (23189) Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Wed Jun 17 12:28:34 CEST 2020 Total time taken: 28 minutes 50 seconds + RC=0 + '[' 0 -ne 0 ']' ++ date +%Y%m + mv gmapsupp.img ../osm-france-202006.img + popd Note that I remove the option --max-jobs from the command line but the tool says "Setting max-jobs to 8". I think it just uses all the cores available on my laptop. Maybe I should force the max-jobs to 1 to check if multi-threading has an impact. After copying the newly generated map on both my 66s and 64s, I tried to display the missing area: Screenshot on the 66s: [image: 555.bmp] There are missing tiles on the right of the map but when I zoom on them, tiles are well displayed. But on the left, the big area where the cursor is, is totally missing (even I zoom in). Screenshot on the 64s: [image: 848.bmp] As you can see, there is no issue on the 64s. So it seems to be linked to the 66s. Is there a kind of cache for tiles which I need to clean every time I change the map ? Do you know where I can send this issue to Garmin ? Another question not related to the missing tiles: on the 64s, there are labels on the major roads (A20,A10, ...) which are not displayed on the 66s. Do you have an idea why ? Thanks, Pierre On Wed, Jun 17, 2020 at 12:11 PM Gerd Petermann < gpetermann_muenchen at hotmail.com> wrote: > Hi Pierre, > > the error messages from HousenumberGenerator are caused by a bad version > of mkgmap, please use r4550 or never. > Anyhow, I don't think that this error causes a problem like a missing tile. > So, it seems that mkgmap compiles all tiles. I have no idea why some tiles > are not displayed. Did you already try the complete map on a different > device? > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von > Pierre Brico <pierre.brico at gmail.com> > Gesendet: Mittwoch, 17. Juni 2020 11:31 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] Tiles missing > > > Hi Ticker, Joris and Gerd. > > Thanks all for your support and suggestions. I'm very happy to see that > I've so many answers. > > I've rebuilt a new map of France using mkgmap r4546 which was broken. > However here is the log I had: > > Time started: Mon Jun 15 18:56:03 CEST 2020 > SEVERE (StyledConverter): 63240059.osm.pbf: Attention: Tile contains both > drive-on-left (7656) and drive-on-right roads (24363) > SEVERE (StyledConverter): 63240060.osm.pbf: Attention: Tile contains both > drive-on-left (6905) and drive-on-right roads (19475) > SEVERE (StyledConverter): 63240089.osm.pbf: Attention: Tile contains both > drive-on-left (1) and drive-on-right roads (23189) > SEVERE (HousenumberGenerator): 63240177.osm.pbf: addr:interpolation node > not found in way WAY: 134536088 null(50.38686275482178/3.5048317909240723) > [addr:interpolation=odd, addr:street=rue des Poilus, > mkgmap:admin_level2=FRA, mkgmap:admin_level3=France mΘtropolitaine, > mkgmap:admin_level4=Hauts-de-France, mkgmap:admin_level6=Nord, > mkgmap:admin_level7=Valenciennes, mkgmap:admin_level8=Beuvrages, > mkgmap:node-ids=1479077266,1479077260, mkgmap:postcode=59192] > SEVERE (HousenumberGenerator): 63240186.osm.pbf: addr:interpolation node > not found in way WAY: 79828412 null(50.69347143173218/3.158891201019287) > [addr:city=Roubaix, addr:country=FR, addr:interpolation=odd, > addr:postcode=59100, addr:street=Rue du Luxembourg, building=yes, > mkgmap:admin_level2=FRA, mkgmap:admin_level3=France mΘtropolitaine, > mkgmap:admin_level4=Hauts-de-France, mkgmap:admin_level6=Nord, > mkgmap:admin_level7=Lille, mkgmap:admin_level8=Roubaix, > mkgmap:cache_area_size=8.912, mkgmap:city=Roubaix, mkgmap:country=FRA, > mkgmap:node-ids=7469558672,7469558673,7469558674,7469558675,7469558676,7469558669,7469558670,7469558671, > mkgmap:postal_code=59100, mkgmap:postcode=59100, mkgmap:region=Nord, > mkgmap:street=Rue du Luxembourg] > SEVERE (HousenumberGenerator): 63240186.osm.pbf: addr:interpolation node > not found in way WAY: 79828973 null(50.693321228027344/3.1586337089538574) > [addr:city=Roubaix, addr:country=FR, addr:interpolation=odd, > addr:postcode=59100, addr:street=Rue du Luxembourg, building=yes, > mkgmap:admin_level2=FRA, mkgmap:admin_level3=France mΘtropolitaine, > mkgmap:admin_level4=Hauts-de-France, mkgmap:admin_level6=Nord, > mkgmap:admin_level7=Lille, mkgmap:admin_level8=Roubaix, > mkgmap:cache_area_size=57.621, mkgmap:city=Roubaix, mkgmap:country=FRA, > mkgmap:node-ids=7469558672,7469558673,7469558674,7469558675,7469558676,7469558669,7469558670,7469558671, > mkgmap:postal_code=59100, mkgmap:postcode=59100, mkgmap:region=Nord, > mkgmap:street=Rue du Luxembourg] > SEVERE (HousenumberGenerator): 63240186.osm.pbf: addr:interpolation node > not found in way WAY: 79830924 null(50.693535804748535/3.158998489379883) > [addr:city=Roubaix, addr:country=FR, addr:interpolation=odd, > addr:postcode=59100, addr:street=Rue du Luxembourg, building=yes, > mkgmap:admin_level2=FRA, mkgmap:admin_level3=France mΘtropolitaine, > mkgmap:admin_level4=Hauts-de-France, mkgmap:admin_level6=Nord, > mkgmap:admin_level7=Lille, mkgmap:admin_level8=Roubaix, > mkgmap:cache_area_size=8.510, mkgmap:city=Roubaix, mkgmap:country=FRA, > mkgmap:node-ids=7469558672,7469558673,7469558674,7469558675,7469558676,7469558669,7469558670,7469558671, > mkgmap:postal_code=59100, mkgmap:postcode=59100, mkgmap:region=Nord, > mkgmap:street=Rue du Luxembourg] > SEVERE (HousenumberGenerator): 63240186.osm.pbf: addr:interpolation node > not found in way WAY: 79832021 null(50.6934928894043/3.1588053703308105) > [addr:city=Roubaix, addr:country=FR, addr:interpolation=odd, > addr:postcode=59100, addr:street=Rue du Luxembourg, building=yes, > mkgmap:admin_level2=FRA, mkgmap:admin_level3=France mΘtropolitaine, > mkgmap:admin_level4=Hauts-de-France, mkgmap:admin_level6=Nord, > mkgmap:admin_level7=Lille, mkgmap:admin_level8=Roubaix, > mkgmap:cache_area_size=39.479, mkgmap:city=Roubaix, mkgmap:country=FRA, > mkgmap:node-ids=7469558672,7469558673,7469558674,7469558675,7469558676,7469558669,7469558670,7469558671, > mkgmap:postal_code=59100, mkgmap:postcode=59100, mkgmap:region=Nord, > mkgmap:street=Rue du Luxembourg] > Number of MapFailedExceptions: 0 > Number of ExitExceptions: 0 > Time finished: Mon Jun 15 19:24:29 CEST 2020 > Total time taken: 28 minutes 25 seconds > . > > There are still missing tiles when displaying the map on my GPSMAP 66s but > not the same as previously. I join some screenshots to show the result at > different scales (I just zoomed in without moving the cursor). Note that > the contour lines (residing in another .img file) are well displayed at > scale 5km. > > > [256.bmp][266.bmp][271.bmp][277.bmp][281.bmp][284.bmp][288.bmp][292.bmp][296.bmp][301.bmp] > > Sorry I don't keep the log of splitter. > > For your information, I was a developer a few years ago (C, C++, Java). > I'm working with MSYS2 on Windows 10. So as you suggested to me, I will try > to generate a new map without the --max-jobs option and I will post all the > logs (splitter and mkgmap r4550). > > Note that my previous test (with Ticker) showed that the file .img > corresponding to the missing tile was correct. As I didn't re-generate the > intermediate .img but generate a map with it. > > Thanks for your help, > Pierre > > > > > On Wed, Jun 17, 2020 at 9:23 AM Joris Bo <jorisbo at hotmail.com<mailto: > jorisbo at hotmail.com>> wrote: > > Hi Pierre, > > > > I'm not sure if you know how to view the errorlog. > > If you use windows you can add these "log - commands" to the execution of > mkgmap to find two logging files with more details. > > The first will capture the visual output which would also appear on your > screen, the second creates a file with mkgmap internal messages. > > By using double >> it Appends to an existing file, when using single > it > overwrites an existing file. Best always use quotes around the filenames to > avoid parsing problems. > > > > {Mkgmap command string} 1>>"C:\Garmin\Temp\France\build.log" 2>"C:\Temp\ > France\mkgmap_output.log" > > > > The full command could look something like this > > Java -Xmx8000m -jar "C:\mkgmap\mkgmap.jar" > --output-dir="C:\Garmin\Temp\France\Output Map" > --read-config="C:\Garmin\Temp\ France\mkgmap.args" --description="France > (8-6-2020)" --read-config="C:\Garmin\Temp\ France \Output > Splitter\template.args" "C:\Garmin\Temp\France\Output Map\mapnik.typ" > 1>>"C:\Garmin\Temp\France\build.log" > 2>"C:\Garmin\Temp\France\mkgmap_output.log" > > > > > > Kind Regards, > > Joris > > > > > > -----Oorspronkelijk bericht----- > Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto: > mkgmap-dev-bounces at lists.mkgmap.org.uk>> Namens Ticker Berkin > Verzonden: dinsdag 16 juni 2020 23:14 > Aan: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk<mailto: > mkgmap-dev at lists.mkgmap.org.uk>> > Onderwerp: Re: [mkgmap-dev] Tiles missing > > > > Hi Pierre > > > > There seems to be a long delay in some of the mails in this thread coming > thorough. > > > > If one of the tiles builds on its own, but not the whole lot then it is > probably the java multi-thread system running out of memory and there > should be obvious error messages. > > > > Restore the -c template.arg but not the --max-jobs and run it so you can > see the console log, something like: > > > > $ java -Xmx1540M -jar ../mkgmap.trunk/mkgmap.jar \ > > -c ../mkgmap.opts -c template.args ../mytyp.txt Time started: Tue Jun > 16 22:07:27 BST 2020 Number of MapFailedExceptions: 0 Number of > ExitExceptions: 0 Time finished: Tue Jun 16 22:08:37 BST 2020 Total time > taken: 1 minute 10 seconds > > + exit > > > > Adjust the memory parameter to fit your machine > > > > Ticker > > > > On Mon, 2020-06-15 at 18:41 +0200, Pierre Brico wrote: > > > > > > Hi Ticker, > > > > > > I've built a map with just the missing tile and the tile is correctly > > > displayed on my device: > > > > > > > > > > > > > > > This means that the data are correct, but the whole map not ? > > > > > > I've removed the --max-jobs option. > > > > > > > > > On Mon, Jun 15, 2020 at 3:13 PM Ticker Berkin <rwb-mkgmap at jagit.co.uk > <mailto:rwb-mkgmap at jagit.co.uk> > > > > wrote: > > > > Hi Pierre > > > > > > > > Try building one of the failed tiles on its own, ie replace > > > > -c template.args > > > > with > > > > --input-file=path/name-of-missing-tile.osm.pbf > > > > and then watch for any errors. > > > > > > > > Suggest just have --max-jobs without a value > > > > > > > > Ticker > > > > > > > > > > > > On Mon, 2020-06-15 at 14:08 +0200, Pierre Brico wrote: > > > > > > > > > > Hi Joris, > > > > > > > > > > I didn't install the map in basecamp but if it can help, I will. > > > > > > > > > > On my device I've moved all maps in a separated directories to > > > > > disable them. The only one left was mine. > > > > > > > > > > To create the France map, I started from belgium-latest.osm.pbf > > > > > downloaded from geofabrik.de<http://geofabrik.de>. Then I splitted > it using splitter > > > > > (r597) tool and then generated the map with mkgmap (r4525). The > > > > > mkgmap command line option was: > > > > > > > > > > java -Xmx8G -jar $MKGMAP_DIR/mkgmap.jar --gmapsupp \ > > > > > --family-id=$FAMILY_ID \ > > > > > --product-id=0 \ > > > > > --product-version=1 \ > > > > > --draw-priority=20 \ > > > > > --family-name="OSM $COUNTRY_ISO" \ --series-name="OSM > > > > > $COUNTRY_ISO" \ --country-name="$COUNTRY" \ > > > > > --country-abbr="$COUNTRY_ISO" \ > > > > > --max-jobs=8 \ > > > > > --latin1 \ > > > > > --index \ > > > > > --split-name-index \ > > > > > --housenumbers \ > > > > > --reduce-point-density=4 \ > > > > > --reduce-point-density-polygon=8 \ > > > > > --min-size-polygon=8 \ > > > > > --polygon-size-limits="24:12, 18:10, 16:8, 14:4, 12:2, 11:0" \ > > > > > --route \ --make-opposite-cycleways \ --add-pois-to-areas \ > > > > > --process-destination \ --process-exits \ > > > > > --order-by-decreasing-area \ --keep-going \ > > > > > --style-file=$MKGMAP_DIR/resources/styles --style=default \ > > > > > --bounds=$BOUNDS_FILE \ --precomp-sea=$SEA_FILE \ -c template.args > > > > > ../typ/2000.typ \ --description="OSM custom > > > > > routable(${COUNTRY_ISO}_$(date "+%d-%m -%Y"))" > > > > > > > > > > with template.args coming from the splitter step. > > > > > > > > > > Note that I've identified a (amongst several) missing tile and > > > > the > > > > > name of the tile was in the template.args. Moreover, the tile > > > > which > > > > > doesn't display on my device, is shown by GMapTool on the final > > > > IMG. > > > > > > > > > > Thanks for your help, > > > > > Pierre > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Jun 15, 2020 at 1:39 PM Joris Bo <jorisbo at hotmail.com > <mailto:jorisbo at hotmail.com>> > > > > wrote: > > > > > > Hi Brico, > > > > > > > > > > > > Does your newly created map displays in basecamp correctly? > > > > > > If no: The start is to find out why tiles are skipped by mkgmap > > > > or > > > > > > splitter by investigating the error logging (This is the tip > > > > of > > > > > > Ticker) > > > > > > If yes: A start could be to disable all maps on your device by > > > > > > renaming the *.IMG extension to *._IMG except your own map. > > > > > > You can find the maps on both the device as the SSD in the map > > > > > > garmin > > > > > > > > > > > > If you created the maps the most straight forward way (without > > > > > > specifying family id and tile number start for example) you can > > > > > > easily create duplicate tile numbers which could conflict with > > > > > > other mapmakers. Default all tiles start with 6324xxx1 > > > > > > > > > > > > > > > > > > > > > > > > Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto: > mkgmap-dev-bounces at lists.mkgmap.org.uk>> Namens > > > > > > Pierre Brico > > > > > > Verzonden: zondag 14 juni 2020 18:16 > > > > > > Aan: Development list for mkgmap < > > > > mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>> > > > > > > Onderwerp: Re: [mkgmap-dev] Tiles missing > > > > > > > > > > > > > > > > > > Yes, my GPSMAP 66s runs the latest firmware (4.20 see > > > > > > https://www8.garmin.com/support/download_details.jsp?id=14337). > > > > > > > > > > > > Note that the France OpenTopoMap on the same device is working > > > > > > properly. > > > > > > > > > > > > I can also try the map on my 64s if this can help to identify > > > > the > > > > > > problem... > > > > > > > > > > > > > > > > > > On Sun, Jun 14, 2020 at 3:46 PM Ralf Kleineisel < > > > > ralf at kleineisel.de<mailto:ralf at kleineisel.de> > > > > > > > wrote: > > > > > > Hi, > > > > > > > > > > > > Am 13.06.20 um 11:41 schrieb Pierre Brico: > > > > > > > > > > > > > A few months ago, I bought a Garmin GPSMAP 66s (I've already > > > > > > other > > > > > > > > > > > > > Now I would like to generate a map for my next holiday in > > > > France > > > > > > but I > > > > > > > have issues with missing tiles. > > > > > > > > > > > > does your device run the latest firmware? I had weird display > > > > > > problems with older firmware on my 64s. > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > 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 > > > > > > _______________________________________________ > > > > > > 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 > > > > > _______________________________________________ > > > > > 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 > > > > _______________________________________________ > > > > 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 > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 > > _______________________________________________ > 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 > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/c7f905c4/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 555.bmp Type: image/bmp Size: 288054 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/c7f905c4/attachment-0002.bmp> -------------- next part -------------- A non-text attachment was scrubbed... Name: 848.bmp Type: image/bmp Size: 115254 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/c7f905c4/attachment-0003.bmp> -------------- next part -------------- A non-text attachment was scrubbed... Name: splitter.log Type: application/octet-stream Size: 248778 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/c7f905c4/attachment-0001.obj>
- Previous message: [mkgmap-dev] Tiles missing
- Next message: [mkgmap-dev] Tiles missing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list