Jump to content

How to make additions and subtractions with coordinates?


MrAxwolf

Recommended Posts

Hello everyone, 

 

I'd like to resolve some of mystery cache, but a lot of them require to addition or subtract number to the coordinates. I don't know how to proceed. 

 

An example with random numbers : 

N 56 47.000 + 37 + 62

W 084 15.000 - 40 - 39

Would it be :

N 56 47.099

W 084 14.921

 

If my operations are wrong, can someone tell me how to do the operations! :)

 

~MrAxwolf

Edited by MrAxwolf
Link to comment
1 hour ago, MrAxwolf said:

Hello everyone, 

 

I'd like to resolve some of mystery cache, but a lot of them require to addition or subtract number to the coordinates. I don't know how to proceed. 

 

An example with random numbers : 

N 56 47.000 + 37 + 62

W 084 15.000 - 40 - 39

Would it be :

N 56 47.099

W 084 14.921

 

If my operations are wrong, can someone tell me how to do the operations! :)

 

~MrAxwolf

That looks correct to me.  Although the CO may have intended something different, typically when a puzzle requires adding or subtracting a number (or numbers) from coordinates the values for those numbers are in "minutes".  Keep in mind that the "minutes" portions will always be less than 60.0 (there are sixty minutes in a degree) so if the number of minutes added or subtracted results in a value greater than 59.999 or less than zero, the degrees value will have to be adjusted as well.  

That's why, for coordinate math I prefer using Decimal Degrees format.   Decimal Degrees is a single decimal value so "simple math" can be used to calculate new values. 

Link to comment
35 minutes ago, NYPaddleCacher said:

That looks correct to me.  Although the CO may have intended something different, typically when a puzzle requires adding or subtracting a number (or numbers) from coordinates the values for those numbers are in "minutes".  Keep in mind that the "minutes" portions will always be less than 60.0 (there are sixty minutes in a degree) so if the number of minutes added or subtracted results in a value greater than 59.999 or less than zero, the degrees value will have to be adjusted as well.  

That's why, for coordinate math I prefer using Decimal Degrees format.   Decimal Degrees is a single decimal value so "simple math" can be used to calculate new values. 

And how do you calculate the coordinates with decimal degrees? 

Link to comment
2 hours ago, MrAxwolf said:

If my operations are wrong, can someone tell me how to do the operations!

There is no "correct" way as long as the calculation is made with unknown units. It is like adding five bananas to three apples. That makes it a mystery. :)

For example if we add some arbitrary units to the example it will look like this: N 56° 47.000' + 37 meters + 62 meters = N 56° 47.053'

And another example N 56° 47.000' + 37' + 62' = N 56 47.016

Anyway the most propable unit for this addition is milliminutes N 56° 47.000' + 37*1/1000' + 62*1/1000' = N 56 47.099 as you guessed.

 

Link to comment
4 minutes ago, MrAxwolf said:

And how do you calculate the coordinates with decimal degrees? 

In your example above (N 56 47.000 + 37 + 62), 37 and 62 are actually .037 minutes  and .062 minutes which gives you N 56 47.099.

If, however your starting coordinate was N 56 59.950 and you added .037 and .062 you would have to adjust the degrees value as well.  If you did the calculation using DD, all of the values would be represented in degrees as a decimal value.  N 56 59.950 is the same as 55.999167 in decimal degrees.   If you add .037 degrees and .062 degrees to it, the math is 55.999167 + .037 + .062 = 56.098167.   

When doing coordinate math near the equator or greenwhich mean line, things can get confusing when using DDM coordinates.  Typically,  DDM coordinates are written using the hemisphere (N, S, E, W) but they (and DD format) can be written without the.  A coordinate north of the equator always has positive degrees and negative below.  Longitude coordinates east of the greenwich mean line are always negative an positive west of the line.  In order to do coordinate match using DDM one has to first convert the hemisphere character to a 1 or -1 as a multiplier (-1 x 0.2345678 is below the equator, 1 x 0.2345678 is north of it)

If one wanted to add an offset for a a latitude just south of the equator adding a couple of degrees (2.0) would make it a positive value without having to parse and convert the hemisphere string.  

Link to comment
2 hours ago, icezebra11 said:

Just the opposite, East is positive and West is negative.

Oops.  That's correct.  Where things can go wonky is when someone (or more likely, an application) removes the hemisphere but assumes that the degree value is positive.  Note that "S 42 76.123" is valid, but removing "S" without changing the degrees to a negative value would refer to a location in the northern hemisphere.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...