Hi Andreas,

yep, please use r4017.
I've just noticed that with the latest versions MapSource doesn't create a 
gmapsupp for files with DEM.
I think that worked after I added the --x-dem-dists option. No idea what is 
wrong now.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von 
[email protected] <[email protected]>
Gesendet: Freitag, 22. Dezember 2017 20:43:13
An: mkgmap-dev; Development list for mkgmap
Betreff: Re: [mkgmap-dev] NullPointerExceptio

Hi Gerd,

probably your fix for „POI without a name in overview map“ made it not into the 
new branch?

Regards

Andreas



Node 240109644 [cityxx=yes, 
is_in=Gänserndorf,Niederösterreich,Österreich,Europe, 
mkgmap:label:1=Groß-Enzersdorf, mkgmap:residential=yes, name=Groß-Enzersdorf, 
place=town, population=8532] points2
DEM file calculation for C:\Garmin\Austria\.\44000036.img took 125 ms
DEM file calculation for C:\Garmin\Austria\.\44000035.img took 250 ms
DEM file calculation for C:\Garmin\Austria\.\44000037.img took 297 ms
Number of MapFailedExceptions: 0
Exception in thread "main" java.lang.NullPointerException
        at 
uk.me.parabola.mkgmap.combiners.OverviewBuilder.readPoints(OverviewBuilder.java:294)
        at 
uk.me.parabola.mkgmap.combiners.OverviewBuilder.readFileIntoOverview(OverviewBuilder.java:260)
        at 
uk.me.parabola.mkgmap.combiners.OverviewBuilder.onMapEnd(OverviewBuilder.java:89)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:588)
        at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
        at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:107)

C:\Garmin\Austria>del /F /Q 
"C:\Users\andreas\AppData\Local\Garmin\BaseCamp\TileCache\*.*"

C:\Garmin\Austria>pause
Drücken Sie eine beliebige Taste . . .

Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10

Von: Gerd Petermann<mailto:[email protected]>
Gesendet: Samstag, 9. Dezember 2017 10:39
An: Development list for mkgmap<mailto:[email protected]>
Betreff: Re: [mkgmap-dev] NullPointerExceptio

Hi Andreas,

thanks, I've fixed this in r4000. I wonder why this did not show up before. 
Seems that nobody else has POI without a name in his overview map?

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von 
[email protected] <[email protected]>
Gesendet: Samstag, 9. Dezember 2017 10:00:33
An: mkgmap-dev; Development list for mkgmap
Betreff: Re: [mkgmap-dev] NullPointerExceptio

Hi Gerd,

http://files.mkgmap.org.uk/detail/369

includes a zip-file including

* Mkgmap-call
* Style and typ – file
* 2 out of 37 pbf-files covering Austria

If I build a map only with *001.osm.pbf everything works fine (also with some 
others). If I do so with *0036.osm.pbf (also with some others), it doesn´t.

Regards

Andreas


Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10

Von: Gerd Petermann<mailto:[email protected]>
Gesendet: Freitag, 8. Dezember 2017 14:34
An: Development list for mkgmap<mailto:[email protected]>
Betreff: Re: [mkgmap-dev] NullPointerExceptio

Hi Andreas,

the problem occurs while reading the ovm*.img files for the overview map. It 
seems that mkgmap reads a POI without a label, thus the NullPointerException.
The code contains no check for this, so I guess it normally never happens, so 
maybe it is an I/O problem. If you can reproduce the problem and there is no 
simple
explanation like a full disk please post the style and describe how you create 
the pbf files so that I can reproduce the problem.

ciao,
Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von 
[email protected] <[email protected]>
Gesendet: Freitag, 8. Dezember 2017 14:02:07
An: Development list for mkgmap
Betreff: [mkgmap-dev] NullPointerExceptio

Way 341306282 [highway=path, mkgmap:label:1=Path[?], mkgmap:unpaved=1, 
radweg=?] nach
Way 341306281 [highway=path, mkgmap:residential=yes, mkgmap:unpaved=1, 
radweg=?] vor
Way 341306281 [highway=path, mkgmap:label:1=Path[?], mkgmap:residential=yes, 
mkgmap:unpaved=1, radweg=?] nach
Number of MapFailedExceptions: 0
Exception in thread "main" java.lang.NullPointerException
at 
uk.me.parabola.mkgmap.combiners.OverviewBuilder.readPoints(OverviewBuilder.java:284)
at 
uk.me.parabola.mkgmap.combiners.OverviewBuilder.readFileIntoOverview(OverviewBuilder.java:250)
at 
uk.me.parabola.mkgmap.combiners.OverviewBuilder.onMapEnd(OverviewBuilder.java:84)
at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:588)
at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136)
at uk.me.parabola.mkgmap.main.Main.main(Main.java:107)

I built many maps so far – never got this error. What do I have to obtain for 
further analysis?

java -Xmx1024m -jar ..\bin\mkgmap.jar --tdbfile --gmapi --max-jobs 
--generate-sea=extend-sea-sectors --add-pois-to-areas --route --latin1 
--family-id=7012 --mapname=44000000 --product-id=1 
--family-name=Andreas-Austria --index --order-by-decreasing-area 
--draw-priority=25 --style-file=".\style" .\typ\M07012.typ 6*.pbf

C:\Garmin\bin\mkgmap-r3997

Regards

Andreas

Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to