Distance 1 Second Latitude

broken image


  1. What Is Latitude Article
  2. Distance 1 Second Latitude And Longitude

The distance on the ground equivalent to one degree of arc will be the same at any latitude (assuming the earth as a perfect sphere).But this will not be so for the distance equivalent to a degree of longitude as circles of constant latitude get smaller towards the poles.How does one take account of this to calculate distance on the ground in terms of both latitude and longitude anywhereon the. One second of longitude is one sixtieth of that amount: about 31 meters or 100 feet. However: Arc-seconds of latitude remain nearly constant, while arc-seconds of longitude decrease in a trigonometric cosine-based fashion as one moves toward the earth's poles. Arc seconds aren't really a great way to measure distance. Table 1: Latitude Distance vs Latitude. Longitude: 1° of longitude = 111.413 cosine (latitude) - 0.094 cosine (3 x latitude) kilometres The following table shows the distance between 1° (degree), 1' (minute) and 1' (second) of longitude as the latitude changes.

Active5 months ago

If I have a latitude or longitude reading in standard NMEA format is there an easy way / formula to convert that reading to meters, which I can then implement in Java (J9)?

Edit:Ok seems what I want to do is not possible easily, however what I really want to do is:

Say I have a lat and long of a way point and a lat and long of a user is there an easy way to compare them to decide when to tell the user they are within a reasonably close distance of the way point? I realise reasonable is subject but is this easily do-able or still overly maths-y?

Pacerier
78.9k9292 gold badges336336 silver badges609609 bronze badges
Adam TaylorAdam Taylor
6,99388 gold badges4040 silver badges5252 bronze badges
10

Here is a javascript function:

Explanation: https://en.wikipedia.org/wiki/Haversine_formula

Graphic river s8 galaxy modern android mockups download free. The haversine formula determines the great-circle distance between two points on a sphere given their longitudes and latitudes.

Brian Burns
16.5k77 gold badges7373 silver badges6767 bronze badges
b-h-b-h-
2,38111 gold badge1616 silver badges99 bronze badges
5

Given you're looking for a simple formula, this is probably the simplest way to do it, assuming that the Earth is a sphere with a circumference of 40075 km.

Length in meters of 1° of latitude = always 111.32 km

Length in meters of 1° of longitude = 40075 km * cos( latitude ) / 360

BenBen
3

For approximating short distances between two coordinates I used formulas from http://en.wikipedia.org/wiki/Lat-lon:

.

In the code below I've left the raw numbers to show their relation to the formula from wikipedia.

The wikipedia entry states that the distance calcs are within 0.6m for 100km longitudinally and 1cm for 100km latitudinally but I have not verified this as anywhere near that accuracy is fine for my use.

JJonesJJones
4

Latitudes and longitudes specify points, not distances, so your question is somewhat nonsensical. If you're asking about the shortest distance between two (lat, lon) points, see this Wikipedia article on great-circle distances.

John FeminellaJohn Feminella
289k4242 gold badges328328 silver badges352352 bronze badges
4

Here is the R version of b-h-'s function, just in case:

Brian Burns
16.5k77 gold badges7373 silver badges6767 bronze badges
RodrigoRodrigo
4,04166 gold badges4343 silver badges7777 bronze badges

There are many tools that will make this easy. See monjardin's answer for more details about what's involved.

However, doing this isn't necessarily difficult. It sounds like you're using Java, so I would recommend looking into something like GDAL. It provides java wrappers for their routines, and they have all the tools required to convert from Lat/Lon (geographic coordinates) to UTM (projected coordinate system) or some other reasonable map projection.

What Is Latitude Article

UTM is nice, because it's meters, so easy to work with. However, you will need to get the appropriate UTM zone for it to do a good job. There are some simple codes available via googling to find an appropriate zone for a lat/long pair.

CommunityBot

Distance 1 Second Latitude And Longitude

Reed CopseyReed Copsey
531k7272 gold badges11031103 silver badges13491349 bronze badges

The earth is an annoyingly irregular surface, so there is no simple formula to do this exactly. You have to live with an approximate model of the earth, and project your coordinates onto it. The model I typically see used for this is WGS 84. This is what GPS devices usually use to solve the exact same problem.

NOAA has some software you can download to help with this on their website.

T.E.D.T.E.D.
42k99 gold badges6666 silver badges131131 bronze badges

One nautical mile (1852 meters) is defined as one arcminute of longitude at the equator. However, you need to define a map projection (see also UTM) in which you are working for the conversion to really make sense.

Judge MaygardenJudge Maygarden
25.8k99 gold badges7878 silver badges9898 bronze badges
1

There are quite a few ways to calculate this. All of them use aproximations of spherical trigonometry where the radius is the one of the earth.

try http://www.movable-type.co.uk/scripts/latlong.html for a bit of methods and code in different languages.

rcavalrcaval
dbasnettdbasnett
10.2k22 gold badges2222 silver badges3232 bronze badges
1

To convert latitude and longitude in x and y representation you need to decide what type of map projection to use. As for me, Elliptical Mercator seems very well. Here you can find an implementation (in Java too).

MegamozgMegamozg
BlazeBlaze
Distance 1 Second Latitude
55322 gold badges55 silver badges1212 bronze badges

If its sufficiently close you can get away with treating them as coordinates on a flat plane. This works on say, street or city level if perfect accuracy isnt required and all you need is a rough guess on the distance involved to compare with an arbitrary limit.

BartBart
2hbkhbk
10.2k99 gold badges8383 silver badges112112 bronze badges

Based on average distance for degress in the Earth. Movavi video editor 15 4 1 activation key.

1° = 111km;

Converting this for radians and dividing for meters, take's a magic number for the RAD, in meters: 0.000008998719243599958;

then:

JaykonJaykon
5

If you want a simple solution then use the Haversine formula as outlined by the other comments. If you have an accuracy sensitive application keep in mind the Haversine formula does not guarantee an accuracy better then 0.5% as it is assuming the earth is a sphere. To consider that Earth is a oblate spheroid consider using Vincenty's formulae.Additionally, I'm not sure what radius we should use with the Haversine formula: {Equator: 6,378.137 km, Polar: 6,356.752 km, Volumetric: 6,371.0088 km}.

Samuel Crawford LoveysSamuel Crawford Loveys
1

You need to convert the coordinates to radians to do the spherical geometry. Once converted, then you can calculate a distance between the two points. The distance then can be converted to any measure you want.

Arlie WintersArlie Winters

Not the answer you're looking for? Browse other questions tagged mathgeolocationgeo or ask your own question.





broken image