Re: [mkgmap-dev] Commit r4171: fix possible java.lang.AssertionError introduced with r4169

2018-04-21 Thread Gerd Petermann
Hi Bernd,

since a few days Microsoft puts all my mails which are returned from the list 
into the junk-mail folder.
No idea why, maybe you find it there?

Gerd


Von: mkgmap-dev  im Auftrag von Bernd 
Weigelt 
Gesendet: Samstag, 21. April 2018 19:00:49
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Commit r4171: fix possible
java.lang.AssertionError introduced with r4169

Am Samstag, 21. April 2018, 18:31:41 CEST schrieb svn commit:
> Version mkgmap-r4171 was committed by gerd on Sat, 21 Apr 2018
>
> fix possible  java.lang.AssertionError introduced with r4169
>
> nodecount has more than 8 bits
>
> http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4171
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


problem is solved

@Gerd:
I can see your answer in the mailing list archive, but i didn't received it
here

Bernd
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit r4171: fix possible java.lang.AssertionError introduced with r4169

2018-04-21 Thread Bernd Weigelt
Am Samstag, 21. April 2018, 18:31:41 CEST schrieb svn commit:
> Version mkgmap-r4171 was committed by gerd on Sat, 21 Apr 2018
> 
> fix possible  java.lang.AssertionError introduced with r4169
> 
> nodecount has more than 8 bits
> 
> http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4171
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


problem is solved

@Gerd:
I can see your answer in the mailing list archive, but i didn't received it 
here 

Bernd


signature.asc
Description: This is a digitally signed message part.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] java.lang.AssertionError: 270: Help needed

2018-04-21 Thread Gerd Petermann
Hi Bernd,

thanks for reporting. Please try r4171.

Gerd


Von: mkgmap-dev  im Auftrag von Bernd 
Weigelt 
Gesendet: Samstag, 21. April 2018 18:02:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] java.lang.AssertionError: 270: Help needed

java.lang.AssertionError: 270 [¹]
at
uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put1u(BufferedImgFileWriter.java:
154)
at uk.me.parabola.imgfmt.app.SectionWriter.put1u(SectionWriter.java:
78)
at uk.me.parabola.imgfmt.app.net.RoadDef.writeNet1(RoadDef.java:237)
at uk.me.parabola.imgfmt.app.net.NETFile.write(NETFile.java:67)
at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:314)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

[¹] this number is changing, but is the same when building different map
styles from one extract.

Hi
got a lot of messages like this, but only with larger extracts like DACH or
Benelux, the germany extract was build without an error
The version is mkgmap-r4170

This also happens with the default style

Bernd

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Commit r4171: fix possible java.lang.AssertionError introduced with r4169

2018-04-21 Thread svn commit
Version mkgmap-r4171 was committed by gerd on Sat, 21 Apr 2018

fix possible  java.lang.AssertionError introduced with r4169

nodecount has more than 8 bits

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4171
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] java.lang.AssertionError: 270: Help needed

2018-04-21 Thread Bernd Weigelt
java.lang.AssertionError: 270 [¹]
at 
uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put1u(BufferedImgFileWriter.java:
154)
at uk.me.parabola.imgfmt.app.SectionWriter.put1u(SectionWriter.java:
78)
at uk.me.parabola.imgfmt.app.net.RoadDef.writeNet1(RoadDef.java:237)
at uk.me.parabola.imgfmt.app.net.NETFile.write(NETFile.java:67)
at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:314)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

[¹] this number is changing, but is the same when building different map 
styles from one extract.

Hi 
got a lot of messages like this, but only with larger extracts like DACH or 
Benelux, the germany extract was build without an error
The version is mkgmap-r4170

This also happens with the default style

Bernd
 

signature.asc
Description: This is a digitally signed message part.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Unspecific warning

2018-04-21 Thread Gerd Petermann
Hi Carlos,

this happens when mkgmap tries to optimize the results for address search. When 
you see such a warning address search will not always find a point within the 
wanted range. The algo would like to add additional points to improve the img 
internal intervals but the road has already the
max. number of points. If you see this very often it might be better to split 
the road, I think it should be possible at that stage.

Gerd


Von: mkgmap-dev  im Auftrag von Carlos 
Dávila 
Gesendet: Samstag, 21. April 2018 12:19:40
An: Development list for mkgmap
Betreff: [mkgmap-dev] Unspecific warning

What the meaning of this kind of warnings? What data should be fixed to
avoid them?

(ExtNumbers): 55171060.o5m: can't change intervals, road has already 250
points


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Unspecific warning

2018-04-21 Thread Carlos Dávila
What the meaning of this kind of warnings? What data should be fixed to 
avoid them?


(ExtNumbers): 55171060.o5m: can't change intervals, road has already 250 
points



___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Error message WrongAngleFixer

2018-04-21 Thread Gerd Petermann
Hi Arndt,

I am working on a fix for this problem. I think I'll use the Douglas-Peucker 
filter with a very small error value to remove those duplicate points.

Something you might want to change:
I've noticed that your files contain a lot of elevation lines which also have 
many redundant points. I don't know which phyghtmap parameter would
change that but there is really no nead to write all those points, pass them 
through splitter and finally remove them again in mkgmap.

Gerd


Von: mkgmap-dev  im Auftrag von Arndt 
Röhrig 
Gesendet: Freitag, 20. April 2018 16:18:18
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Error message WrongAngleFixer

Hi Gerd,

thank you!

Arndt

Gerd Petermann hat am 20. April 2018 um 16:07 geschrieben:


Hi Arndt,

it seems that these ways are causing trouble:
https://www.openstreetmap.org/way/203282008
https://www.openstreetmap.org/way/450539752

In both cases the mapper has added a huge amount of nodes to map a circular 
part of the way and the 20 passes to reduce wrong angles are not enough.
Please ignore the error message for now, I'll need more time to find out why 
this is causing stress. It is probably related to the latest changes in the 
angles branch.

Gerd


Von: mkgmap-dev im Auftrag von Gerd Petermann
Gesendet: Freitag, 20. April 2018 13:57:53
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Error message WrongAngleFixer

Hi Arndt,

there is nothing that you can do. I'll try to reproduce why 20 passes are not 
enough.

Gerd


Von: mkgmap-dev im Auftrag von Arndt Röhrig
Gesendet: Freitag, 20. April 2018 13:20:35
An: Development list for mkgmap
Betreff: [mkgmap-dev] Error message WrongAngleFixer

Hi @all,

mkgmap r4165 tell me this:

SCHWERWIEGEND (WrongAngleFixer): 
.\Baustelle\Speiche_Fabrik_Splitter\88014475.osm.pbf: Removing wrong angles - 
didn't finish in 20 passes, giving up!
SCHWERWIEGEND (WrongAngleFixer): 
.\Baustelle\Speiche_Fabrik_Splitter\88013939.osm.pbf: Removing wrong angles - 
didn't finish in 20 passes, giving up!

What does that mean and what can i do to correct this error.


Greets

Arndt


www.speichenkarte.de/88014475.osm.pbf

www.speichenkarte.de/88013939.osm.pbf
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev