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 |
+----------------------------------------------+
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 |
+----------------------------------------------+
Comment