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
Panel VARHello everyone. I am trying to apply a fixed effect estimation procedure on a panel var. The variabl…
Filter households' data from a censusHi everyone! I'm working on my Master's thesis and I need help. I'm working with census data, and I …
What does Stata do with margins when using weighted least squares?I was surprised to find that, with weight (or aweight), margins does not seem to compute the average…
Count how many variables have more than a certain number of missing valuesHi Statalists! I'm stuck on a very simple task: I would like to count how many variables in my datas…
Genetic Matching packageAnalogously to the GenMatch package from R, is there any package in Stata that runs the Genetic Matc…
Subscribe to:
Post Comments (Atom)
0 Response to Converting GPS data from Decimal Minutes Seconds to Decimal Degrees
Post a Comment