Hello all! I want to plot circles with a determinate radius around specific points on a predefined map. The map is a NUTS level 3 map of France, which I have tried plotting with the following code and it works well.
I then try to plot a point and build a circle around it using the following code:
But then when I try to plot it using the following code the map of France becomes very small and I am not able to see the circle. I assume it is due to the fact that I am using (X,Y) coordinates in one map and Lat/Lon in the other, but I am not able to solve the issue.
How could I solve this issue?
Thanks in advance
Code:
use NUTS_RG_01M_2021_3035_LEVL_3.dta, clear keep if CNTR_CODE == "FR" drop if inlist(NUTS_NAME, "Haute-Corse", "Corse-du-Sud", "Guadeloupe", "Guyane", "Martinique", "Mayotte", "La Réunion") spmap _ID using NUTS_RG_01M_2021_3035_LEVL_3_shp.dta, id(_ID) fcolor(Greens2) title("District level map") legend(size(vsmall) position(2))
Code:
geocircles 48.405688, 3.556772 250, data("data.dta") coor("coor.dta") replace geo2xy _Y _X, replace save "coor_xy.dta", replace
Code:
spmap _ID using NUTS_RG_01M_2021_3035_LEVL_3_shp.dta, polygon(data("coor_xy.dta")) id(_ID) fcolor(Greens2) title("Attempt") legend(size(vsmall) position(2))
Thanks in advance
Comment