Skip to content

Instantly share code, notes, and snippets.

@ymattu
Last active May 27, 2017 16:19
Show Gist options
  • Save ymattu/e31051c72a1bf59448d660566f273e46 to your computer and use it in GitHub Desktop.
Save ymattu/e31051c72a1bf59448d660566f273e46 to your computer and use it in GitHub Desktop.
data gps;
input x y;
rownum = _n_;
datalines;
143.21 -33.494
119.306 26.0614
119.306 26.0614
143.21 -33.494
113.25 23.1167
139.751 35.685
113.25 23.1167
133.935 34.6617
133.935 34.6617
133.051 35.4722
135.728965 35.039200
126.8990 37.55729
;
run;
proc gproject data=gps out=projected
parmin=mapsgfk.projparm parmentry=world;
id rownum;
run;
proc ginside data=projected map=mapsgfk.world out=countries;
id idname id;
run;
proc print data=countries;
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment