Solved

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

Posted on 2016-11-14
6
103 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 50

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 33

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

688 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