BookmarkSubscribeRSS Feed
Krueger
Pyrite | Level 9

Hello,

 

I'm an avid bass fisherman and was curious on what type of statistics I could get on catches in certain areas around a lake. 

 

I've seen heat maps such as the US; such as what is shown here: https://support.sas.com/resources/papers/proceedings17/SAS0312-2017.pdf

 

I know very little about this but what I would like is to understand:

How I can grab an image of a lake

How can I plot coordinates to the above image

 

The log would basically have pretty standard fishing data: Season, Air Temp, Water Temp, Latitude, longitude location, fish type, fish size.

 

If anyone has any information on this, or even an alternative, I would very much appreciate it. If I caused confusion and can expand on anything just let me know.

 

Thanks,

 

3 REPLIES 3
GraphGuy
Meteorite | Level 14

If you're wanting to plot the data on an image of the lake, then as Reeza said, Proc SGmap would be the easiest way to start.

 

Here's an example:

 

data my_data;
length fish_type $50;
input lat long fish_type;
datalines;
35.742384 -79.0091287 Catfish
35.7641991 -79.047054 Crappie
35.7497305 -79.0075478 Crappie
35.7543135 -78.9978178 Bass
;
run;

 

proc sgmap plotdata=my_data;
/*
esrimap url="http://services.arcgisonline.com/arcgis/rest/services/World_Imagery";
*/
esrimap url="http://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map";
scatter y=lat x=long / group=fish_type markerattrs=(symbol=circlefilled size=10pt);
run;

 

SGMap10.png

 

Krueger
Pyrite | Level 9

Thanks this is very cool! I definitely need to investigate all of this further as what I had in mind regarding a topo map was to show the contour lines of the lake. Example here: "https://webapp.navionics.com/#boating@11&key=otlhFtwduP"

 

Maybe there's a way to add this as a second layer. Regardless I appreciate all the info and the examples are great. 

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1191 views
  • 2 likes
  • 3 in conversation