Sorry, I missed this one in my inbox.
I just did my own test run on my own data, and this is what I did.
proc import
datafile = "/your/data/here/"
out = needs_geo (rename = (longitude = x latitude = y))
dbms = csv
replace;
guessingrows = 5000;
run;
proc mapimport
datafile = "/your/shape/file"
out = shape;
run;
proc sort
data = needs_geo;
by x y;
run;
proc sort
data = shape;
by x y;
run;
proc ginside
map = shape
data = needs_geo
out = needs_geo_w_shape;
id var-you-want-from-shape-file;
run;
I am by no means advanced with mapping -- it's something I've learned on my own, and I have a crude working knowledge on how things work.
I would recommend renaming your respective latitude and longitude coordinates on your EDMT dataset to x and y (as I do on the PROC IMPORT).
Essentially, just use my code and tailor it to your data set. Let me know if there are any issues. It worked for me, but I would be careful and check everything to make sure it makes sense. My own local data seemed to make sense.
... View more