Calculating coordinates given a bearing and a distance

opinion you commit error. can prove..

# Calculating coordinates given a bearing and a distance

Can anyone tell me what the formula is to find the bearing between two known coordinates. Most land surveying related topics are evergreen - meaning the topics of discussion are many times timeless. If you have a question regarding Land Surveying in general, this is the place to ask your questions.

Add Discussion. Asking your questions inside these Hub Forums will ensure that you are asking a targeted audience of land surveyors who are following those topics. Likewise, you will find that all of our Location Based Chapter Hubs have dedicated forums for discussing land surveying topics related to specific locations around the world. Asking your question inside the appropriate place inside the community will most likely get you the most feedback.

Land Surveyor Scott D. Warner, PLS November 17, at pm. Does this help? Hakeeb A. Nandalal November 11, at am. This reply was deleted. Note: this page contains paid content. Please, subscribe to get an access. Cancel Subscribe. Stevens and Associates, Inc. Stevens in Land Surveying Jobs. Control surveying problem Started by shree ram bhandari in Land Surveying Jobs.

It only takes a minute to sign up. I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude. I have already looked into the haversine formula and think it's approximation of the world is probably close enough.

Are there any good websites that talk about this sort of thing? It seems like it would be common, but my googling has only turned up questions similar to the one above.

What I am really looking for is just a formula for this. I'd be curious how results from this formula compare with Esri's pe. A completely general, but more complicated algorithm is necessary if greater distances are allowed:.

### How to Calculate Whole Circle Bearings and Distances from Co-Ordinates.

Here's an html page for testing. These statements more or less define the sine and cosine. Although you are not in a plane--you're working on the surface of a curved ellipsoid that models the Earth's surface--any distance less than a few hundred kilometers covers such a small part of the surface that for most practical purposes it can be considered flat.

The only remaining complication is that one degree of longitude does not cover the same distance as a degree of latitude.

What is clsid

In a spherical Earth model, one degree of longitude is only cos latitude as long as a degree of latitude. In an ellipsoidal model, this is still an excellent approximation, good to about 2. We now have all the information needed to convert meters to degrees:. For example, at a latitude of Whence, starting at A more accurate answer, in the modern ITRF00 reference system, is To achieve higher accuracy you must use either ellipsoidal distance formulas which are far more complicated or a high-fidelity conformal projection with zero divergence so that the bearing is correct.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

Air conditioning unit cost for condo

Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more.

Asked 8 years, 5 months ago. Active 4 years, 11 months ago. Viewed 2k times. I'm trying to get a GPS coordinate given the current location, bearing and distance. But I can't find any related to cocoa-touch.

## Find Terminal Coordinates, Given a Bearing and a Distance

AReality AReality 69 1 1 silver badge 11 11 bronze badges. There's no built-in method.

Intel z490 motherboard

Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled.Ask all future questions in the New Excel Forum.

Calculating new coordinates based on bearing and distance of current position Here is what I have Here is what I need Position "B" is located on a bearing of degrees and a distance of 20 nautical miles from position "A".

What would be the coordinates for position "B"? Thank you so much for your time Re: Calculating new coordinates based on bearing and distance of current position The best I can do for you is to guide you to the sources where I would start getting guidance on how to do it. Have a great day! Sisyphus I do this for "honour and country" - much less of the latter, actually.

If I helped you, award points, plenty of them. If I bored you, deduct points for being too long-winded. I know, :lol. All though interesting, those site do not specifically address the problem as such. In the mean time however I have done some more research and eventually did find a website that answers the question. I'm glad you solved your problem.

Thank you for sharing your knowledge. Board index All times are UTC. We are not affiliated with Microsoft.This page is designed to help you calculate answers to some common geographic questions and draw maps from simple coordinates. If you have any problems or get unexpected results, please let me know!

This form will try to read whatever you enter and convert it to three formats: decimal degrees, degrees-minutes, and degrees-minutes-seconds. This calculator will find the distance between two pairs of coordinates to a very high degree of precision using the thoroughly nasty Vincenty Formulawhich accounts for the flattened shape of the earth. The "Draw map" button will show you the two points on a map and draw the great circle route between them. This calculator will find the straight-line great circle distance between two locations of any kind: street addresses, city names, ZIP codes, etc.

NOTE: If you just need the coordinates of an address, use the geocoding utilities. This form will simply show you two airports — represented by a 3-letter IATA code or 4-letter ICAO code — on a map, along with a line representing the shortest route between them and the distance, of course. In the form below, you can enter a list of routes airport pairs separated by commas to see all of them, and their distances, on a single map.

To create multiple rings, separate the values in the "radius" box with commas: e. This form will tell you what point lies at any distance and bearing from another point, along a great circle path.

## New Excel Forum

If you don't supply units in the distance box itself e. Note: this page used to be entitled "Geographic Calculators" until Blue Marble threatened to sue GPS Visualizer for the use of that common phrase, which apparently they have trademarked in the capitalized singular. Location 1. Location 2. Airport 1. Airport 2. Airport pairs. Starting Lat. Ending Lat. Make a profile Convert a file Draw on a map Calculators.

How to get the GPS Coordinates for a property in a subdivision using Google Earth

Coordinate Converter D. D, DM. M, DMS Calculate the great circle distance between two points Calculate the great circle distance between two addresses Draw a direct route between two airportsor multiple airport pairs Draw range rings concentric circles around a point Calculate coordinates at a given bearing and distance Coordinate Converter This form will try to read whatever you enter and convert it to three formats: decimal degrees, degrees-minutes, and degrees-minutes-seconds.By zeebobMay 23, in How Do I?

I am trying to determine the final coordinates of a multi-cache using a heading and distance I have worked out from the clues. The cache I am trying to find is impossible to locate by walking in a straight line on that heading for that distance so I need to work out the coordinates.

How do I calculate this best? Most GPS units and smart phone apps have the ability to calculate this automatically, so you might simply have to have a rummage around your phone or GPS unit to find it. If all else fails, you can use Google Earth to measure the required amount into the right direction and see where you end up. It is called "Projecting a point". If you are using a GPS, most of them have the capability to do this function. What it will do is exactly what you are asking.

If you encounter a distance and direction projection out in the field, that is your solution. But if you have that information while at your Windows computer, this could be an easier solution. Or just a double check. Or if you have a smart phone in the field you can use the GeoCache Calculator Then you can use it while out caching regardless of if you have reception or not. And like others have said, many GPS units have the ability to project a waypoint as well- another solution if you're trying to do it in the field.

Thanks for the tips. A quick look on the App Store and I found GeoTools that has a 'project coordinates' function that achieves this. I couldn't find any other apps or the ability in the Groundspeak Geocaching app to do this. At short distances, you really don't have to worry about the Great Circle effects. Don't do this. UTM northing can be up over 2 degrees off of true north, so it gives the wrong answer unless you are close to the center of a UTM zone.

Which you probably are not. It's printed on your local USGS map. There's a grid north, true north, and magnetic north. I haven't been able to master projecting, usually just mark where I am and go exploring until I arrive at a location the reverse of the projection. Just pick the waypoint you are at or record a new one where you're standing and hit the menu button. Select "Project Waypoint" from the list.

Craigslist monterey personals

Enter the bearing and distance and it will make the point you need to go to.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

I am having problems implementing the function described here here. I convert the degree bearing to radians and convert the distance km into a radians distance before calling the function - so that's not the problem. It works but for only for the latitude, for the longitude there is a problem because of the sign. If you start from Here we go back on the EAST Fundamentally, it appears that your problem is that you are passing latitude, longitude and bearing as degrees rather than radians.

Try ensuring that you are always passing radians to your function and see what you get back. PS: see similar issues discussed here and here. When I implemented this, my resulting latitudes were correct but the longitudes were wrong. For example starting point: In fact it's as if the bearing was Thanks for your python code I tried setting it up in my use case where I'm trying to find the lat lon of a point in between two others at a set distance from the first point so it's quite similare to your code appart that my bearing is dynamically calculated.

Everything is working as intended, but the problem is that your maths assumes the Earth to be a sphere when in reality it approximates an ellipsoid. Learn more. Calculating coordinates given a bearing and a distance Ask Question. Asked 11 years, 4 months ago. Active 1 year, 8 months ago. Viewed 30k times. PI - Math.

Laptop cursors

IAdapter Try some very simple inputs. Do you get your starting point back? Extend this to try other lats and lons, if so. Then try adding a range: do you get something sensible? Active Oldest Votes.

It seems like these are the issues in your code: You need to convert lat1 and lon1 to radians before calling your function. You may be scaling radialDistance incorrectly. Testing a floating-point number for equality is dangerous. Two numbers that are equal after exact arithmetic might not be exactly equal after floating-point arithmetic. I think you want to convert lat and lon from radians to degrees.