Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (30 user(s) are browsing Forums)

Members: 3
Guests: 55

sailor, emeck, AMIGASYSTEM, more...

Headlines

 
  Register To Post  

Latidute/Longitude
Just popping in
Just popping in


See User information
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:
Resized Image

Thanks!

Go to top
Re: Latidute/Longitude
Quite a regular
Quite a regular


See User information
@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 ?

Go to top
Re: Latidute/Longitude
Amigans Defender
Amigans Defender


See User information
@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

Go to top
Re: Latidute/Longitude
Just popping in
Just popping in


See User information
@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....

Go to top
Re: Latidute/Longitude
Just can't stay away
Just can't stay away


See User information
@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>
Go to top
Re: Latidute/Longitude
Quite a regular
Quite a regular


See User information
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

Go to top
Re: Latidute/Longitude
Just popping in
Just popping in


See User information
@BillE
I don't need paper; I have the internet!

@Severin
PM'd

Go to top
Re: Latidute/Longitude
Just can't stay away
Just can't stay away


See User information
@amipal

replied...

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

Ps. I hate the new amigans website. <shudder>
Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project