Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » Distance - geodesic - Vincenty - very accurate
Re: Distance - geodesic - Vincenty - very accurate [message #26056 is a reply to message #26055] |
Sat, 27 March 2010 05:31 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
That glitch is fixed, not yet for all instances.
if (ic < 0) ic = 32;
And for the multiple spaces:
changed if (j==1) to if (j==1 && Dms!="")
I tried this and several others:
12°34'56"N,12°34'56"W
12° 34' 56" N , 12° 34' 56" W
http://nlneilson.com/apps/Distance.exe
It still seems strange the integer representation of
any character would be less than 0.
edit: Still have a glitch, works fine in theIDE and then
when it is copied to a directory with other apps.
When I upload and then download the .exe has problems with the extra spaces.
With Build->clean, Build->Clean UPPOUT I could get the error re extra spaces
using Debug->Execute but Debug->Run(in debugger) only the break points in the main would work.
Downloaded 2272 and the break points work OK.
This is with Vista, I think I will try with XP, Vista has been a real pain.
I found the problem with the break points (it had nothing to do with theIDE)
and only some times with extra spaces.
It checks the latlon for decimal degrees first and I have a comment:
// with ',' ' ' '~' but only one
I will add a count for spaces and if >1 get out of that loop.
The code will also work with the input of a GGA GPS sentence so it gets a bit complicated.
[Updated on: Sat, 27 March 2010 07:42] 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:30:00 CEST 2024
Total time taken to generate the page: 0.02659 seconds
|