Hi Statalisters,
I need to convert GPS longitude and latitude data from the Decimal Minutes Second (DMS) format to the Decimal Degrees (DD) format.
An example of my DMS-coded data is:
Latitude: 77.30.30 (north), Longitude: 164.45.15 (east).
The corresponding DD format I need would be:
Latitude: 77,508333, Longitude: 164,754167.
I found that the conversion formula is: Decimal Degrees = Degrees + ((Minutes / 60) + (Seconds / 3600)).
Is there a simple way to carry out this conversion in Stata? I have a large number of observations.
Many thanks,
Sophia
Related Posts with Converting GPS data from Decimal Minutes Seconds to Decimal Degrees
Inverted U-Shape combined with moderationHello everyone, for the analysis of my data I identified a inverted U-shape as suitable for my mode…
Interpreting Coefficients from Mixed effects survival regressionI am trying to understand how to interpret coefficients generated through different distributions in…
Problem reshaping an entire datasetHi there. I'm new here and I want to discuss a problem with my dataset. I'm using Stata 16.1. I hav…
Linear regression with AR(1) disturbanceDear Colleagues, Currently, I am conducting research and selected panel regression (FE) with AR(1) …
Xtabond2 for system GMM. Please help me for codingHello to everyone, I am searching in terms of the effect of the uncertainty on the saving and in one…
Subscribe to:
Post Comments (Atom)
0 Response to Converting GPS data from Decimal Minutes Seconds to Decimal Degrees
Post a Comment