|
|
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » Distance - geodesic - Vincenty - very accurate
Re: Distance - geodesic - Vincenty - very accurate [message #26022 is a reply to message #26021] |
Fri, 26 March 2010 13:08 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
TrimBoth(); I will try that.
One thing I noticed that seemed odd in upp:
The character for the degree symbol ° as int = -80
I thought that should be 176
I am handling it in upp with:
// if (ic>122 || ch=='°' || ch==''' || ch=='"') ic = 32;
if (ic>122 || ic==-80 || ic==39 || ic==34) ic = 32;
That could have something to do with the problem.
Sometimes for ° ic = -62 AND ch = -62 rather than ch = '°'
With my code the ° should be replaced with a space.
To take care of some strange stuff I have:
if (ic < 0) continue;
I could change that to:
if (ic < 0) ic = 32;
and then a few lines of code in C++ to check/remove the consecutive space/s similar to .replaceAll("\\s+", " "); in Java.
[Updated on: Fri, 26 March 2010 14:09] Report message to a moderator
|
|
|
|
|
Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Sat, 20 March 2010 08:23
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Sat, 20 March 2010 21:31
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: Didier on Sat, 20 March 2010 22:29
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Sun, 21 March 2010 07:57
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Sun, 21 March 2010 18:11
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Mon, 22 March 2010 22:24
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Mon, 22 March 2010 23:11
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Tue, 23 March 2010 11:57
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Fri, 26 March 2010 12:30
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
By: koldo on Fri, 26 March 2010 20:07
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
|
|
Re: Distance - geodesic - Vincenty - very accurate
|
Goto Forum:
Current Time: Sat Apr 27 13:52:21 CEST 2024
Total time taken to generate the page: 0.90929 seconds
|
|
|