Re: Latitude / longitude distance and bearing.



I have two locations, call them 'a' and 'b' .
a) Altitude of a and b (call them alt_a and alt_b).
b) Latitude of b and b (call them lat_a and lat_b)
c) Longitude of a and b (call them long_a and long_b) 'a' and 'b' are
fairly close together (10 - 20 km) and in line of sight distance. (Two
mountain peaks).
I want to find 1) The straight line distances from a to b. (*Not* the
distance along the circumference of the earth, which I can get from the
Haversine formula)


Consider land surveying.

Latitude and longitude are often projected to plane rectangular coordinate
systems. These plane rectangular coordinate systems can be the size of a
state or the size of a country. UTM is a plane rectangular coordinate system
to cover large areas of the globe. If the coordinate area is long North and
South then often a Transverse Mercator projection is used.

Now the distance from point A to point B is a horizontal distance when
projected to the plane rectangular coordinate system. But one choice of
radius could be used in the projection parameters (and this might be found
in different parameters used by different states for their
state-plane-coordinate-systems). And there could be a choice of latitude to
project from. Now with the horizontal distance and the difference in
elevation of course a slope distance is possible.

Here is a user link to 'Geodetic/UTM-Grid Utility':

http://www.kbhscape.com/gps.htm



.



Relevant Pages

  • Re: MySQL GIS
    ... >> projections, you'll have to convert them prior to doin calculations, ... >> data in arc then load it into mysql once its all in the same projection. ... so that the distance measurements will ... preserve area, or they may preserve shape, or neither. ...
    (comp.infosystems.gis)
  • Re: Calculating a Distance on the Surface of the Earth
    ... latitude and longitude. ... I'd actually be above the surface of the earth due to the ... to the surface of the earth, I'd like to know the distance between ... longitude of the second point. ...
    (sci.geo.satellite-nav)
  • Re: Finding nearby zip codes (or maybe area codes) programatically
    ... Bill H wrote: ... Mileage differences between the same two longitudes ... are different depending upon the latitude. ... distance of these records to see if they are within 100 miles of the ...
    (comp.lang.php)
  • Re: Finding nearby zip codes (or maybe area codes) programatically
    ... are different depending upon the latitude. ... miles of your zips distance then you need only check the actual ... distance of these records to see if they are within 100 miles of the ... try crating an index on latitude and longitude so that enquires that are ...
    (comp.lang.php)
  • Re: MySQL GIS
    ... Distance on the spheroid is already done in PostGIS, ... they make distance calculations look pleasant by comparison. ... >>> data in arc then load it into mysql once its all in the same projection. ... > preserve area, or they may preserve shape, or neither. ...
    (comp.infosystems.gis)