From: JEMebius on
Grover Hughes wrote:
> On Jan 13, 2:18 am, William Elliot <ma...(a)rdrop.remove.com> wrote:
>> On Tue, 12 Jan 2010, Joe wrote:
>>> I've got an app that's sending me some spherical coordinates such as
>> What's an app? A misspelling of ape?
>>
>>> 4807.038,N
>>> 01131.00,E
>> That's not spherical coordinates.
>> That's not even degrees of latitude and longitude.
>> What are the units of measurement?
>> Is the 4807 miles or kilometers?
>>
>> Do you know what 4000 miles north or 1131 miles east mean?
>>
>>> I'm trying to convert these to cartesian coords so I can plot them,
>> A cord is three notes played in unison. There are minor and major cords,
>> aguemented and diminished cords. There are no Cartesian cords.
>>
>> You want to plot in the x,y Cartesian form? Nonsense.
>> Perhaps you want degrees of latitude and longitude.
>>
>>> but I think first I need to convert them to radians.
>>> Can anyone help me out here?
>> Learn up on cartography and navigation,
>> basic school stuff like latitude and longitude.
>
> I suggest that you "learn up" on music, for one thing. In music, it's
> spelled "chord", not "cord"; also "augmented", not "aguemented".
> Sounds to me as if your spelling might have a touch of
> "ague"..... :-)
>
> One last item: a musical chord is not precisely just 3 notes as you
> stated; it may have more than 3.
>
> Grover Hughes


Original post by Joe, without replies etc. interspersed
------------------------------------------------------------------------------------
I've got an app that's sending me some spherical coordinates such as

4807.038,N
01131.00,E

I'm trying to convert these to cartesian coords so I can plot them, but
I think first I need to convert them to radians.

Can anyone help me out here?
------------------------------------------------------------------------------------

Dear mr Hughes: I am afraid you are not yet street-wise enough to know that "app" is
shorthand for "application".

Dear mr Joe: I guess you want to spend seconds rather than minutes on typing newsgroup
posts: "app" instead of "application"; "coords" instead of "coordinates".
The burden to decipher your posts is now with the readers Let me give it a try:

"4807.038,N; 01131.00,E" means "48�07.038' N latitude; 011�31.00' E longitude":
Right or wrong? The original layout is that of a Garmin GPS receiver read-out?
I am afraid you gave away your whereabouts: somewhere not too far from Ulm and Munich
in the German Republic. True or false?

About handling arcs and angles: AFAIK all common programming languages that cover
goniometry follow the pure-mathematics convention of expressing arcs and angles in radians.
So indeed you have to convert to radians.
In summary: for sin, cos, tan: convert to radians; for atan: convert back to degrees if
desired.

Ciao: Johan E. Mebius