Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
64 user(s) are online (14 user(s) are browsing Forums)

Members: 0
Guests: 64

more...
Support us!
Recent OS4 Files
OS4Depot.net





Latidute/Longitude
Just popping in
Joined:
2007/1/18 0:04
From Worthing, West Sussex, UK
Posts: 57
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!

   Report Go to top

Re: Latidute/Longitude
Quite a regular
Joined:
2006/11/27 14:24
From Scarfskerry
Posts: 585
@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 ?

   Report Go to top

Re: Latidute/Longitude
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 3230
@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

   Report Go to top

Re: Latidute/Longitude
Just popping in
Joined:
2006/12/6 18:45
From Norway
Posts: 15
@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....

   Report Go to top

Re: Latidute/Longitude
Just can't stay away
Joined:
2006/11/24 18:52
From Gloucestershire, UK.
Posts: 1171
@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>
   Report Go to top

Re: Latidute/Longitude
Quite a regular
Joined:
2006/11/27 14:24
From Scarfskerry
Posts: 585
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

   Report Go to top

Re: Latidute/Longitude
Just popping in
Joined:
2007/1/18 0:04
From Worthing, West Sussex, UK
Posts: 57
@BillE
I don't need paper; I have the internet!

@Severin
PM'd

   Report Go to top

Re: Latidute/Longitude
Just can't stay away
Joined:
2006/11/24 18:52
From Gloucestershire, UK.
Posts: 1171
@amipal

replied...

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

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





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project