Hello everyone,
I wanted to plot a very basic map, namely the US map with states boundaries. Here is the code I am using:
cd "some directory path"
shp2dta using s_16de14, database(us_states_db) coordinates(us_states_crds) genid(id)
use "us_states_db.dta", clear
spmap using "us_states_crds.dta", id(id)
This does not work on my computer: there is no error message but I waited for several minutes without having an output so that I stopped the command. On the other hand I have been able to run much more complex maps fairly quick without any trouble. What is more, the coordinates are expressed in the same unit in both files. Is there something wrong with my code?
Thanks in advance,
Yannick Guyonvarch
I wanted to plot a very basic map, namely the US map with states boundaries. Here is the code I am using:
cd "some directory path"
shp2dta using s_16de14, database(us_states_db) coordinates(us_states_crds) genid(id)
use "us_states_db.dta", clear
spmap using "us_states_crds.dta", id(id)
This does not work on my computer: there is no error message but I waited for several minutes without having an output so that I stopped the command. On the other hand I have been able to run much more complex maps fairly quick without any trouble. What is more, the coordinates are expressed in the same unit in both files. Is there something wrong with my code?
Thanks in advance,
Yannick Guyonvarch
Comment