Hello,
I have a dataset contains x,y and lat long value for my study area in Canada. I plotted Gmap (Block), my grid boundaries were not displayed. I thought my dataset was not geocoded. I tried to geocode my data by I couldn't.
I also want to find the number of grids from selected x,y with a varying radius. Any suggestions, Please advise me.
Many thanks
M.Anputhas
The data set looks like this
data deepcrek;
input ID idwsd areacode x y Actual Simulated;
cards;
2 1 2 50.636685 -119.295393 2 2
3 1 3 50.636260 -119.288352 2 2
4 1 4 50.635835 -119.281311 2 2
35 1 35 50.632214 -119.296062 2 2
36 1 36 50.631789 -119.289021 2 2
37 1 37 50.631363 -119.281981 2 2
38 1 38 50.630938 -119.274941 2 2
39 1 39 50.630511 -119.267902 2 2
40 1 40 50.630085 -119.260862 2 2
41 1 41 50.629657 -119.253823 2 2
.
.
.
.
.....................
................................
Lat and long don't need to be geocoded but may need to be transformed and projected to match the area you want to map. If you look at the coordinates in MAPS.Canada you will see that the x values range from -0.35 to 0.49 and y from -0.33 to 0.36.
The documentation for Proc Gproject should help.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.