Hello
I have a dataset of latitude and longitude points that I need to convert to X and Y coordinates.
I have installed "geo2xy" and tried to use it by the resulting points just don't make any sense.
Below is an example with some made up data. Can anyone see what I might be doing wrong?
Many thanks
Anna
Using Stata SE/14.2
------------------------------------
clear
set obs 2
gen latitude=-35.2729 in 1/1
replace latitude=-35.204 in 2/2
gen longitude=150.094 in 1/1
replace longitude=162.125 in 2/2
list
geo2xy latitude longitude, gen(y x)
list
+----------------------------------------------+
| latitude longit~e x y |
|----------------------------------------------|
1. | -35.2729 150.094 234.73351 -154.83626 |
2. | -35.204 162.125 243.28889 -154.77627 |
+----------------------------------------------+
Related Posts with Struggling to convert latitude and longitude to x and y coordinates (geo2xy)
Calculation of Kolm–Pollack Index.Hello everybody! I.m trying to calculate the Kolm–Pollack Index of inequality for the distribution …
Hypothesis Testing Regression Coefficients: One-sidedHelpful Link: https://www.stata.com/support/faqs/statistics/one-sided-tests-for-coefficients/ Hell…
Adding Variables Gradually in RegressionsHi, I want to add multiple independent variables in the regressions gradually with the same depende…
Monthly last observation in a temporal seriesHi, I have a temporal series with the follow variables: idcompany, lastprice and date (dd/mm/yyyy). …
OutliersDear All, I have a quick question, Is it necessary to remove outliers from survey data? Would that…
Subscribe to:
Post Comments (Atom)
0 Response to Struggling to convert latitude and longitude to x and y coordinates (geo2xy)
Post a Comment