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 2025: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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