Sections

 Who's Online 35 user(s) are online (25 user(s) are browsing Forums) Members: 0 Guests: 35 more...

 Support us! Donate

 Headlines mce.lha - game/utility Jul 13, 2024 reportplus.lha - utility/misc Jul 13, 2024 sdl2.lha - library/misc Jul 10, 2024 amiarcadia.lha - emulation/gamesystem Jul 6, 2024

# Latidute/Longitude

 Register To Post

Latidute/Longitude
I only seem to be able to get lat/long information in the following format:
Latitude: 50.83,
Longitude: -0.3.

This example is from the BBC weather site. How to I convert this into the format that Wet expects:

Thanks!

Re: Latidute/Longitude
@amipal

The input looks the normal way for inputting such data as Lat and Long are usually given in Degrees, minutes and seconds.

Are the ones you have fractional ?

eg 5.5 degrees will equal 5d 30m 00s

It is exactly the same conversion you would use to convert a time expressed as .xxx hours to hours minutes and seconds.

Start of shameless plug.
If a lot of division by 60 seems to tedious the calculator HP11C at http://os4depot.net/index.php?functio ... lity/scientific/hp11c.lha has a couple of buttons to do it for you. f 2 will convert a decimal time or angle to HMS or DMS and g 2 will convert HMS or DMS to a decimal time/angle.
End of shameless plug

Oh I nearly forgot:

50.83 -> 50:49:48 - a plus value means North
-0.3 -> 00:18:00 - the minus sign means East.

Bill

PS. Where on earth did you manage to find your Lat and Long as a decimal fraction of degrees, it is not the usual format ?

Re: Latidute/Longitude
@amipal

A workaround:
6.AmigaOS:> rx "options results;address wet.1 'findicao 50.83 -0.3';say result"
EGKA

Then type EGKA into the ICAO box in Wet.

Wet can convert between degrees and decimal notation internally (I think... maybe it can only go one way), I'll see about exporting this as an ARexx command.

The easy way to convert is with a scientific calculator - type in 50.8, then press the button which looks like this:

``` <-- ?'" ```

(or use hp11c as Bill said)

Chris

Re: Latidute/Longitude
@amipal

There are several online format converters:

http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html

You need to convert from decimal degrees to regular lat/long....

Re: Latidute/Longitude
@amipal

Hassocks is:

50?56'17.65? N
0?7'58.19? W

if you PM me your postcode I'll PM you the exact position.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Re: Latidute/Longitude
Another alternative is, if you have AmiAtlas click on the place where you live and it will give you the Lat and Longitude.

Or even find it on a real map made of paper

Re: Latidute/Longitude
@BillE
I don't need paper; I have the internet!

@Severin
PM'd

Re: Latidute/Longitude
@amipal

replied...

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>

 Register To Post

Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )