?
Solved

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

Posted on 2016-11-14
6
Medium Priority
?
125 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 332 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 332 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 51

Assisted Solution

by:Gustav Brock
Gustav Brock earned 332 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 1004 total points
ID: 41886317
0
 

Author Closing Comment

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

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

801 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