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
Overlaid area plot for assets and debtHi all, I want to create an overlaid area plot, with different types of assets (and debts) as yvars…
Problem with interaction terms in logit modelHi everyone, I am working on a logistic regression model with five independent, continuous key varia…
Daily Stock returnsDear all, I am entirely new to stata, so in case I am leaving out any information that might be req…
panel data: exploring factors affecting incidence/persistence/remission of a condition over timeDear statalisters, I have some panel data that include four binary clinical outcomes (0=absent, 1=p…
Panel data estimation with differenced variablesHello Everyone, So after testing my var. with xtcips, several of my variables are not stationary at …
Subscribe to:
Post Comments (Atom)
0 Response to Converting GPS data from Decimal Minutes Seconds to Decimal Degrees
Post a Comment