logo separator

[mkgmap-dev] Tiles missing

From Joris Bo jorisbo at hotmail.com on Wed Jun 17 08:22:49 BST 2020

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> Namens Ticker Berkin
Verzonden: dinsdag 16 juni 2020 23:14
Aan: Development list for mkgmap <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

> > 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. 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200617/d2473ca0/attachment-0001.html>


More information about the mkgmap-dev mailing list