×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Geodetic Reference Systems, TRX, INDIR, Distance Calculated

## Geodetic Reference Systems, TRX, INDIR, Distance Calculated

(OP)
Hello,

I'm a materials engineer so i don't have a background or any schooling in geomatics and haven't bothered to do much reading in the field. I've been messing around with some online applications provided by the government of canada.

http://www.nrcan.gc.ca/earth-sciences/geomatics/ge...

Particularly the TRX and INDIR application.

I set myself the following problem:

Compare distance calculations between 2 points using INDIR and TRX application tools

Point 1: N53d 32m 31.63s 113d 39m 9.06s ** W positive
Point 2: N53d 25m 59.66s 113d 35m 9.25s

The results I get ("hopefully i didn't make any stupid data entry errors")

INDIR: 12899.428
TRX: 12899.049 (converted lat/long --> UTM --> distance = sqrt( (x2-x1)^2 + (y2-y1)^2 )

I got a difference of 379 mm between the two applications and am not quite sure why... perhaps a geomatics engineer can shed light on the findings or my stupid entry error.

### RE: Geodetic Reference Systems, TRX, INDIR, Distance Calculated

(OP)

it appears TRX and INDIR are based on the same ellipsoid so thats a good start...

"The NAD83 is an earth-centered datum based on a newly defined ellipsoid – the Geodetic Reference System of 1980 (GRS80) – and its reference point is the center of the earth, as opposed to a point on the earth's surface."

I used GRS80 in INDIR and NAD83 in TRX...

I have noticed that my calculation of the distance is smaller than the one provided by INDIR and so i'm thinking that i don't quite understand what "distance" means between two lat/long points. I obviously calculated a cartesian based straight line distance between the two points which is probably simplistic. My hunch is that I need to calculate the arc length of the ellipsoid? so my question is much simpler now...

What would be the proper equation for calculating distance between 2 points in lat/long or UTM (preferable). I would like it to be based on the ellipsoid. A link to a good website would be sufficient.

### RE: Geodetic Reference Systems, TRX, INDIR, Distance Calculated

(OP)
http://geographiclib.sourceforge.net/ --> free library saves me the coding i would have done when provided an equation.

also after realizing my fault with the basic Cartesian distance formula. i requested output from TRX in Cartesian coordinates and recalculated the distance.

ans = 12899.425

3 mm difference now... after the reading i've done i believe they should be the same value unless there is some loss of accuracy by performing the transformation to cartesian coordinates??? perhaps series truncation errors?

why 3 mm difference? that's the new question...

i wonder if anyone is enjoying reading my thoughts and watching me answer my own questions... i guess if someone finds this thread useful i suppose its still helpful.

### RE: Geodetic Reference Systems, TRX, INDIR, Distance Calculated

I don't know about your specific problem, but I've run across different distance formulas, and they can produce errors on the order of millimeters, which was OK for me, since I was concerned about total distances on the order of kilometers, so a few ppm weren't a big deal

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
There is a homework forum hosted by engineering.com: http://www.engineering.com/AskForum/aff/32.aspx

### RE: Geodetic Reference Systems, TRX, INDIR, Distance Calculated

(OP)
this is for 3D pipeline modelling in FEA software packages for stress analysis. 3 mm is acceptable error... so i'm satisfied now.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!