Solved

Best way to enter longtitude and latitude entries in Access and Excel

Posted on 2016-11-14
6
32 Views
Last Modified: 2016-11-18
What it says on the tin...what are your recommendations around entering longtitude and latitude in Access first of all i.e. what's the best data type...anything in particular I should be aware of...
      Decimal Degrees          Deg:Min:Sec
Lat:      38.898648N          38° 53' 55.133" N
Lon:      77.037692W          77° 02' 15.691" W

Ditto for Excel....thank you as always.
0
Comment
Question by:agwalsh
6 Comments
 
LVL 6

Assisted Solution

by:nathaniel
nathaniel earned 83 total points
ID: 41886066
String data type should be used if you are including an alpha numeric combination.

If you are up to readability of data then your examples above are ok.

But if you are up to simplicity of encoding (the above can be tiring and may lead to typo error if you are working on hundreds of data to encode) then I suggest  38d53'55.133"n (something like that)
0
 

Author Comment

by:agwalsh
ID: 41886090
Would you suggest setting up an input mask (access)  for this and if so what shape should it take?
0
 

Assisted Solution

by:berechit
berechit earned 83 total points
ID: 41886091
I suggest to you use decimal +- gg mm.mmmm .

A tool that you can use to convert coordinates from degrees, minutes, and seconds to decimal degrees is available at the following U.S. Government Web site:
http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
To convert Seconds to decimals, divide by 3600.
Decimal value = Seconds/3600
As an example, a latitude of 122 degrees 45 minutes 45 seconds North is equal to 122.7625 degrees North.

So the complete formula looks similar the following:
Decimal value = Degrees + (Minutes/60) + (Seconds/3600)
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 49

Assisted Solution

by:Gustav Brock
Gustav Brock earned 83 total points
ID: 41886113
It's much easier to store them as signed Double:

Decimal degrees and Plus/minus—Latitude and longitude coordinates are represented as decimal numbers. The latitude is preceded by a minus sign ( – ) if it is south of the equator (a positive number implies north), and the longitude is preceded by a minus sign if it is west of the prime meridian (a positive number implies east); for example, 37.68455° –97.34110°.
These you can easily format and convert to whatever purpose or display you (later) may need.

/gustav
0
 
LVL 31

Accepted Solution

by:
Rob Henson earned 251 total points
ID: 41886317
0
 

Author Closing Comment

by:agwalsh
ID: 41892626
Very helpful as always...
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now