<div dir="ltr"><div>For me the patch worked without problems. @Carlos - best do a clean checkout of the whole mkgmap SVN.<br><br></div>(my way to apply patches is the following - copy my clean directory - then apply the patch on the copy. If a newer version comes out - delete the patched directory - and copy the clean directory again). My clean directory only has some patches that I use all the time (basically some copyright patch because I was too lazy still to change the copyright txt file, and some display priority patch so that maps have priority 31 by default not 25). It's a bit tedious but I would not know how to remove a patch quickly and safe.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 September 2015 at 09:58, Carlos Dávila <span dir="ltr"><<a href="mailto:cdavilam@orangecorreo.es" target="_blank">cdavilam@orangecorreo.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I had already done an ant clean dist build, but it didn't work. It seems some "not clean" file remains with that method, as using a clean checkout did solve the problem.<br>
<br>
El 16/09/15 a las 08:15, GerdP escribió:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Carlos,<br>
<br>
I've no access to my dev machine. Please use a clean<br>
checkout and check if the patch is applied without<br>
error messages.<br>
If that is okay, use<br>
ant clean dist<br>
to do a clean build.<br>
<br>
Gerd<br>
<br>
<br>
Carlos Dávila-2 wrote<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El 07/09/15 a las 17:42, Gerd Petermann escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
attached is v4 of the patch.<br>
Changes:<br>
1) The option --x--fix-sharp-angles is gone.<br>
2) A new option --x-ignore-sharp-angles can be used to disable<br>
the code that enlarges sharp angles<br>
3) The option --cylcle-map is now documented (not in detail,<br>
as I still work them out). Please try if the option improves routing<br>
in cycle maps. It allows changes up to 112° instead of only 45°.<br>
4) known errors were fixed:<br>
- use sum of speeds<br>
- take into account that values maybe rounded when calculating<br>
the new heading(s)<br>
<br>
A binary is here:<br>
|<a href="http://files.mkgmap.org.uk/download/282/mkgmap.jar%7C" rel="noreferrer" target="_blank">http://files.mkgmap.org.uk/download/282/mkgmap.jar|</a><br>
</blockquote>
Trying to build mkgmap with patch I get the following errors:<br>
Compiling 496 source files to /home/carlos/Paquetes/mkgmap/build/classes<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:422:<br>
error: class, interface, or enum expected<br>
[javac] package <a href="http://uk.me.parabola.imgfmt.app.net" rel="noreferrer" target="_blank">uk.me.parabola.imgfmt.app.net</a>;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:424:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.ArrayList;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:425:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.Collections;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:426:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.Comparator;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:427:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.HashSet;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:428:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.Iterator;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:429:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.List;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:430:<br>
error: class, interface, or enum expected<br>
[javac] import java.util.Map;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:432:<br>
error: class, interface, or enum expected<br>
[javac] import uk.me.parabola.log.Logger;<br>
[javac] ^<br>
[javac]<br>
/home/carlos/Paquetes/mkgmap/src/uk/me/parabola/imgfmt/app/net/AngleChecker.java:433:<br>
error: class, interface, or enum expected<br>
[javac] import uk.me.parabola.util.EnhancedProperties;<br>
<br>
</blockquote></blockquote>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
</div></div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div>Floragasse 9/11<br></div>1040 Wien<br></div>Austria - Österreich</div></div>
</div>