<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.E-MailFormatvorlage17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear geotoolkit developers!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My name is David Cemernek and I am working for the company Infonova. We are using the geotoolkit (version 3.19) in one of our projects for calculating distances between locations.</p>
<p class="MsoNormal">For a pair of locations, we get an exception while calculating the distance for these two locations. I am sorry to bother you but I downloaded the source code of geotoolkit and I do not know why the attached program is producing an exception.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Program to reproduce error: TestGeotoolkit.java (also with .txt ending in case an antivirus software deletes it
<span style="font-family:Wingdings">J</span></p>
<p class="MsoNormal">Output of the program: Output_TestGeotoolkit.txt</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Due to that fact I don’t know what the loop in line 1062 is actually doing, I don’t want to open an Jira issue, because I don’t know why this exception is thrown when the loop runs more than 12 times? Because I think that the distance between
 the given source and target location is below 20.000 km, and there for should be correct (or is the max distance in the used ellipsoid below this limit?)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I hope you can help me.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Yours sincerely, David</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:black">Mag. David Cemernek</span></p>
<p class="MsoNormal"><span style="color:black">Senior Technology Consultant</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><b><span style="color:#A50021">INFONOVA GmbH</span></b><span style="color:#A50021"></span></p>
<p class="MsoNormal"><span style="color:#A50021">A BearingPoint Company</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="color:black">Seering 6</span></p>
<p class="MsoNormal"><span lang="DE-AT" style="color:black">8141 Unterpremstätten/Graz</span></p>
<p class="MsoNormal"><span lang="DE-AT" style="color:black">Austria</span></p>
<p class="MsoNormal"><span lang="DE-AT" style="color:black"> </span></p>
<p class="MsoNormal"><span lang="DE-AT" style="color:#A50021">T</span><span lang="DE-AT" style="color:red">
</span><span lang="DE-AT" style="color:black">+ 43 316 8003 2317</span></p>
<p class="MsoNormal"><span lang="DE-AT" style="color:#A50021">M</span><span lang="DE-AT" style="color:#993300">
</span><span lang="DE-AT" style="color:black">+ 43 664 81 61 818</span><span lang="DE-AT" style="font-family:"Verdana","sans-serif"; color:#993300"></span></p>
<p class="MsoNormal"><span style="color:#A50021">F</span><span style="color:red">
</span><span style="color:black">+ 43 316 8003 1080</span><span style="color:#993300"></span></p>
<p class="MsoNormal"><span style="color:black">                                                                                              
</span><u><span style="color:blue"></span></u></p>
<p class="MsoNormal"><a href="mailto:david.cemernek@infonova.com"><span style="color:blue">david.cemernek@infonova.com</span></a><u><span style="color:blue"></span></u></p>
<p class="MsoNormal"><a href="http://www.infonova.com/"><span style="color:blue">www.infonova.com</span></a><u><span style="color:blue"></span></u></p>
<p class="MsoNormal"> </p>
</div>
<hr>
<span style="font-size:7.5pt; font-family:"Arial"; color:gray">INFONOVA GmbH<br>
Sitz: Unterpremstätten bei Graz<br>
Firmenbuchgericht: Landesgericht für ZRS Graz<br>
Firmenbuchnummer: FN 44354b</span> <br>
<br>
<span style="font-size:7.5pt; font-family:"Arial"; color:gray">The information in this email is confidential and may be legally privileged. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any
 action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof
 from your system.</span>
</body>
</html>