Data visualization with SAS programming

Question

Reply
New Contributor
Posts: 2

Question

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

New Contributor
Posts: 2

Re: Question

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

.

.

.

.

.....................

................................

Grand Advisor
Posts: 10,191

Re: Question

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.

Ask a Question
Discussion stats
  • 2 replies
  • 364 views
  • 0 likes
  • 2 in conversation