<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Gerd,<br>
<br>
This patched binary for 3316 seems to have solved the problem -
thank you very much!<br>
<br>
As regards the exponent format, I did not know it was there - must
be something to do with the rounding to 7 figures. There are 9
occurrences - all 'E-05'. I will modify the file generator to get
rid of them.<br>
<br>
Thanks again,<br>
<br>
Roger<br>
<br>
<div class="moz-cite-prefix">On 26/07/2014 11:15, Gerd Petermann
wrote:<br>
</div>
<blockquote cite="mid:DUB112-W37CAB94CA75A48F94AE5DD9EFD0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi all,<br>
<br>
attached is a patch that addresses the problem described be
Roger Calvert:<br>
<a class="moz-txt-link-freetext" href="http://gis.19327.n5.nabble.com/Incorrect-compilation-of-grid-lines-tp5809502.html">http://gis.19327.n5.nabble.com/Incorrect-compilation-of-grid-lines-tp5809502.html</a><br>
<br>
The problem is caused by the fact that we use a 2D formula for
objects which are on<br>
a spherical surface. In most cases the error is very small and
can be ignored, but <br>
sometimes it isn't. We use the formula to decide whether a point
is important or<br>
not, so I decided that to keep all points where the error is
big.<br>
A better way would be to use a correct formula in that cases,
but I am not clever<br>
enough to code the correct formula in Java :-(<br>
<br>
@Roger: Please check if the results are ok for you. <br>
BTW: osmconvert seems to have a problem with some coordinates,
e.g.<br>
<node id='90053000500' lat='54.3788936' lon='1.67E-05'
version='1'/><br>
is interpreted as <br>
<node id="90053000500" lat="54.3788936" lon="1.67"
version="1"/><br>
Don't know if the OSM api allows the exponent format?<br>
<br>
A compiled patched binary for mkgmap can be found here:<br>
<code><a class="moz-txt-link-freetext" href="http://files.mkgmap.org.uk/download/217/mkgmap.jar">http://files.mkgmap.org.uk/download/217/mkgmap.jar</a></code><br>
<br>
Gerd<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr style="width:50%;float:left;"><br>
Roger Calvert<br>
<a href="http://www.rogercalvert.me.uk">http://www.rogercalvert.me.uk</a><br>
<hr style="width:50%;float:left;"></div>
</body>
</html>