logo separator

[mkgmap-dev] [Patch v2] sharp angles

From Felix Hartmann extremecarver at gmail.com on Thu Sep 3 14:13:04 BST 2015

Well that's exactly what I was reading - but as I did not get any log - I
guess I'm not really understanding it (it must miss some steps).
I did have:
-Dlog.config=logging.properties
in my java -jar call, and created the logging.properties file - but there
must be something I was missing (codepage, additional steps or so on...)

On 3 September 2015 at 14:26, Gerd Petermann <
gpetermann_muenchen at hotmail.com> wrote:

> Hi Felix,
>
> see here:
> http://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging
>
> Another basic sample is in mkgmap/resources/logging.properties
>
> Gerd
>
> ------------------------------
> To: mkgmap-dev at lists.mkgmap.org.uk
> From: extremecarver at gmail.com
> Date: Thu, 3 Sep 2015 14:10:11 +0200
>
> Subject: Re: [mkgmap-dev] [Patch v2] sharp angles
>
> I'm not really sure I got it right for debug:
>
>
> C:\OpenMTBMap\maps>start /low /b /wait java -jar
> -XX:StringTableSize=100003 -Xms6000M -Xmx10300M
> -Dlog.config=logging.properties c:\openmtbmap\mkgmap.jar --max-jobs=8
> "--generate-sea" "--latin1" "--precomp-sea=c:\openmtbmap\maps\sea.zip"
> "--style-fil
> e=c:\openmtbmap\openmtbmap_style" --x-fix-sharp-angles --x-cycle-map
> --nsis --index --levels="0:24, 1:23, 2:22, 3:21, 4:20, 5:19, 6:18"
> --overview-levels="7:17, 8:16, 9:15, 10:14, 11:13, 12:12"
> --add-pois-to-areas --reduce-point-density=3.4 --reduce
> -point-density-polygon=6 --housenumbers --link-pois-to-ways
> --ignore-turn-restrictions --polygon-size-limits="24:16, 23:14, 22:12,
> 21:11, 20:10, 19:9, 18:8, 17:7, 16:6, 15:5, 14:4, 13:3, 12:2, 11:0, 10:0"
> --description=openmtbmap_at --show-profiles=1
>   --location-autofill=bounds,is_in,nearest
> --bounds=c:\openmtbmap\maps\bounds.zip --route --country-abbr=at
> --country-name=austria --mapname=63650000 --family-id=6365 --product-id=1
> --series-name=openmtbmap_austria_03.09.2015 --family-name=mtbmap_at
> _03.09.2015 --tdbfile --overview-mapname=mapsetc --keep-going --area-name="
> austria_03.09.2015_openmtbmap.org" -c e:\openmtbmap\maps\template.austria
> 7*.img
> Time started: Thu Sep 03 14:04:01 CEST 2015
>
> and in
> C:\OpenMTBMap\maps
>
> I put a file called logging.properties (Unix EOL / UTF8 without BOM)
> with
> me.parabola.imgfmt.app.net.AngleChecker.level=INFO
>
> as content - but I don't see any outpout...
> So I'ld need a better description how to configure it for logging..
>
>
>
> On 03.09.2015 10:51, Gerd Petermann wrote:
>
> Hi Felix,
>
> okay, I'll try to reproduce it.
>
> Gerd
>
> ------------------------------
> Subject: Re: [mkgmap-dev] [Patch v2] sharp angles
> To: gpetermann_muenchen at hotmail.com
> From: extremecarver at gmail.com
> Date: Thu, 3 Sep 2015 10:45:05 +0200
>
>
>
> On 03.09.2015 10:43, Gerd Petermann wrote:
>
> Hi Felix,
>
> great!
> Do you have the log (created with
> me.parabola.imgfmt.app.net.AngleChecker.level=INFO
> in logging.properties)
> for this point and the one where the u-turn happens?
>
> Nope - did not use that.
>
>
> Does it also happen when you chose points which are not on the road
> but close to it?
>
> yes. Does not seem to matter.
>
>
> Gerd
>
>
> ------------------------------
> Date: Thu, 3 Sep 2015 10:25:50 +0200
> Subject: Re: [mkgmap-dev] [Patch v2] sharp angles
> From: extremecarver at gmail.com
> To: mkgmap-dev at lists.mkgmap.org.uk; gpetermann_muenchen at hotmail.com
>
> Hi Gerd - okay now with patched and removing --adjust-turn-headinfs - plus
> adding both options I can see (vs before with adjust-turns-headings)
> a) improvements on some tight turns (though not all tight turns)
> b) less of those errors (though some still exist - but much less)
> c) less erroneous detours on longer routes
> d) valid only for Car/Motorcycle routing - often on the same route shorter
> times - sometimes longer as well though. The other profiles are much less
> affected here.
>
> e) no difference at all in the maximum routable distance.
>
>
> Once a strange degradation (again same place as yesterday):
> Routing is alway correct on old map - but times are much slower. Old map
> nearly always had 1min
> [image: Inline images 1]
>
> Only on Driving profile this bug happens (but no other - even Motorcycle
> is fine). Still 1min. However all other profiles (except walking) are
> between 26-28seconds.
> [image: Inline images 2]
>
>
> Overall I would say it's a clear improvement (but yeah - those additional
> ways I guess would still be better).
>
>
>
>
> On 3 September 2015 at 08:43, Gerd Petermann <
> <gpetermann_muenchen at hotmail.com>gpetermann_muenchen at hotmail.com> wrote:
>
> Hi Felix,
>
> if you get the same differences with the unpatched version and
> --adjust-turn-headings turned on/off I see no miracles.
>
> Gerd
>
> ------------------------------
> Date: Thu, 3 Sep 2015 08:21:43 +0200
>
> From: extremecarver at gmail.com
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] [Patch v2] sharp angles
>
> Ah - thanks. Well too strange I still got some differences...
> I did not know and wondered why I found so little difference.
>
> So more results in 1-3 hours - back to testing now.
>
> On 3 September 2015 at 07:03, Gerd Petermann <
> <gpetermann_muenchen at hotmail.com>gpetermann_muenchen at hotmail.com> wrote:
>
> Hi Felix,
>
> got your mail with the pictures.
> Please check:
> You wrote that you used  --x-cycle-map, but you did not mention
> --x-fix-sharp-angles. I was probably not clear about these options.
>
> If you did not also use --x-fix-sharp-angles you measured the effect
> of the removal of the --adjust-turn-headings option, as --x-cycle-map
> on it own has no effect with the patch.
>
> Reg. testing: Please try to route to points close to but not on the road.
> Maybe this avoids the u-turns when the Garmin algo reaches the target
> on the "right" road (but "wrong" arc) and adds a u-turn to get on the road
> arc that was selected as target.
>
> Gerd
>
>
>
>
> ------------------------------
> Date: Wed, 2 Sep 2015 21:40:34 +0200
> From: <extremecarver at gmail.com>extremecarver at gmail.com
> To: <mkgmap-dev at lists.mkgmap.org.uk>mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] [Patch v2] sharp angles
>
>
> Well - I used
> --x-cycle-map
>
> but for some intersections it would still not work. In 4 out of 10 long
> distance routing examples I tried in Basecamp - the result was better. In 4
> it was the same, and in 2 it was slightly worse.
> So overall it is a modest improvement - but I would have hoped for a bit
> more. Still - clearly and improvement.
>
> On 29 August 2015 at 23:11, Felix Hartmann < <extremecarver at gmail.com>
> extremecarver at gmail.com> wrote:
>
> Sorry - I was on an enduro MTB Race for the last week - I will start
> testing on Tuesday...
>
> On 28 August 2015 at 17:34, Gerd Petermann <
> <gpetermann_muenchen at hotmail.com>gpetermann_muenchen at hotmail.com> wrote:
>
>
> oops. the link for the binary was missing:
> <http://files.mkgmap.org.uk/download/280/mkgmap.jar>
> http://files.mkgmap.org.uk/download/280/mkgmap.jar
>
> Gerd
> ------------------------------
> From: <gpetermann_muenchen at hotmail.com>gpetermann_muenchen at hotmail.com
> To: <mkgmap-dev at lists.mkgmap.org.uk>mkgmap-dev at lists.mkgmap.org.uk
> Date: Fri, 28 Aug 2015 17:33:39 +0200
> Subject: [mkgmap-dev] [Patch v2] sharp angles
>
>
> Hi all,
>
> attached is v2 of the patch, the binary is here:
>
>
> Correction: the previous versions did not change angles like  this: /\
> Improvement: For bicycle maps, the angle is changed up to 90° for arcs
> with high road speeds.
>
> Options (--x-fix-sharp-angles  and --x-cycle-map) are the same.
>
> @Felix: I wait for your feedback now, as I have no way to test with your
> style.
>
> Gerd
>
>
>
>
>
> _______________________________________________ mkgmap-dev mailing list
> <mkgmap-dev at lists.mkgmap.org.uk>mkgmap-dev at lists.mkgmap.org.uk
> <http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev>
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> _______________________________________________
> mkgmap-dev mailing list
> <mkgmap-dev at lists.mkgmap.org.uk>mkgmap-dev at lists.mkgmap.org.uk
> <http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev>
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> _______________________________________________ mkgmap-dev mailing list
> <mkgmap-dev at lists.mkgmap.org.uk>mkgmap-dev at lists.mkgmap.org.uk
> <http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev>
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
> _______________________________________________ mkgmap-dev mailing list
> 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
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Floragasse 9/11
> 1040 Wien
> Austria - Österreich
>
>
> --
> keep on biking and discovering new trails
>
> Felixopenmtbmap.org & www.velomap.org
>
>
>
> _______________________________________________
> mkgmap-dev mailing listmkgmap-dev at lists.mkgmap.org.ukhttp://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
> --
> keep on biking and discovering new trails
>
> Felixopenmtbmap.org & www.velomap.org
>
>
> _______________________________________________ mkgmap-dev mailing list
> 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
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
Floragasse 9/11
1040 Wien
Austria - Österreich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150903/3fbd6473/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00002
Type: image/png
Size: 12824 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150903/3fbd6473/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001
Type: image/png
Size: 16754 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150903/3fbd6473/attachment-0003.png>


More information about the mkgmap-dev mailing list