Does anyone know why there might be issues overlaying cluster cluster coordinates on to a base map using spmap? When I use the following code all the points clump together and the polygons disappear:
shp2dta using NP_75DWGS84, database(nepaldb) coordinates(nepalcoord) genid(id) genc(c) replace
use nepaldb.dta, clear
spmap using "nepalcoord.dta", id(id) ocolor(black) osize(vthin) ///
point(data("Clusters_NDVI_29Nov2015.dta") x_c(latitude) y_c(longitude) by(year) fcolor(green blue))
I realize the problem has been brought up before (http://www.statalist.org/forums/foru...oints-on-a-map), but the solution offered did not quite work for me. Any leads on why the problem arise is appreciated.
Thanks in advance for the help!
shp2dta using NP_75DWGS84, database(nepaldb) coordinates(nepalcoord) genid(id) genc(c) replace
use nepaldb.dta, clear
spmap using "nepalcoord.dta", id(id) ocolor(black) osize(vthin) ///
point(data("Clusters_NDVI_29Nov2015.dta") x_c(latitude) y_c(longitude) by(year) fcolor(green blue))
I realize the problem has been brought up before (http://www.statalist.org/forums/foru...oints-on-a-map), but the solution offered did not quite work for me. Any leads on why the problem arise is appreciated.
Thanks in advance for the help!