How do you use the code for spmap to overlay two shapefiles on top of each other?
-
Login or Register
- Log in with
ssc install mergepoly
* Make a shapefile for the outline of Italy; type -ssc install mergepoly- * use "Italy-RegionsData.dta", clear mergepoly id using "Italy-RegionsCoordinates.dta", coord("italy_coor.dta") replace use "Italy-RegionsData.dta", clear spmap relig1 using "Italy-RegionsCoordinates.dta", id(id) /// polygon(data("italy_coor.dta") fcolor(none) ocolor(blue) osize(thick))
use "Italy-RegionsData.dta", clear spmap relig1 using "Italy-RegionsCoordinates.dta", id(id) polygon(data("italy_coor.dta") /// fcolor(none) ocolor(blue) osize(thick))
fcolor(Blues) ocolor(green) osize(thick))
Problem with option polygon(): when no group variable is specified in suboption by(), suboption fcolor() does not accept palette names r(198);
Comment