logo separator

[mkgmap-dev] Tiles missing

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Jun 17 11:03:05 BST 2020

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 292.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 292.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0010.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 288.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 288.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0011.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 296.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 296.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0012.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 256.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 256.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0013.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 266.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 266.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0014.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 271.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 271.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0015.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 284.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 284.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0016.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 277.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 277.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0017.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 281.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 281.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0018.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 301.bmp
Type: image/bmp
Size: 288054 bytes
Desc: 301.bmp
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/b5eff99b/attachment-0019.bmp>


More information about the mkgmap-dev mailing list