Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65517

Problems with superimposing points on to stata base maps using spmap

$
0
0
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!


Viewing all articles
Browse latest Browse all 65517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>