<div dir="ltr">Oh thanks looks like it. I think it must have unset the value to empty due to some bug in my script.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 15 May 2021 at 20:40, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Felix,<br>
<br>
the error is probably in the --dem-dists option<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>><br>
Gesendet: Samstag, 15. Mai 2021 14:33<br>
An: Development list for mkgmap<br>
Betreff: [mkgmap-dev] java.lang.NumberFormatException: For input string: ""<br>
<br>
This error happens on conoturlines generation - any ideas? Should I upload the files for debug?<br>
<br>
I first thought phyghtmap may have produced data with an empty string and on the ft to m conversion this error appears. However I kinda excluded that from happening by making sure only lines with a number are used & ( ele>0 | ele=0 | ele<0 )<br>
<br>
Happens on a couple of countries worldwide and seems to be style related - but the same style works on most countries data so the style itself is not broken.<br>
<br>
<br>
<br>
SEVERE (global): Unexpected error<br>
java.lang.NumberFormatException: For input string: ""<br>
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)<br>
at java.base/java.lang.Integer.parseInt(Integer.java:662)<br>
at java.base/java.lang.Integer.parseInt(Integer.java:770)<br>
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)<br>
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)<br>
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)<br>
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)<br>
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)<br>
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)<br>
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)<br>
at uk.me.parabola.mkgmap.build.MapBuilder.parseDemDists(MapBuilder.java:280)<br>
at uk.me.parabola.mkgmap.build.MapBuilder.config(MapBuilder.java:275)<br>
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:113)<br>
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:70)<br>
at uk.me.parabola.mkgmap.main.Main.lambda$processFilename$1(Main.java:290)<br>
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)<br>
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)<br>
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)<br>
at java.base/java.lang.Thread.run(Thread.java:832)<br>
SEVERE (global): Exiting due to unexpected error<br>
Number of ExitExceptions: 1<br>
Time finished: Sat May 15 14:27:05 CEST 2021<br>
<br>
--<br>
Felix Hartman - Openmtbmap.org & VeloMap.org<br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div><br></div></div></div></div></div></div>