Solved

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

Posted on 2016-11-14
6
48 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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 32

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

910 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

22 Experts available now in Live!

Get 1:1 Help Now