Sunday, September 30, 2012

PA Deer Harvest Map

Harvest moon this weekend.  Opening day or Archery season this weekend.  Sounds like a good time to publish this map.

I wanted to test out Mapbox's integration with Google Charts API.  I had an idea to show this map, except as points and also let the user hover the mouse over a Wildlife Management Unit (WMU) and have a line chart returned of the harvest trends for the past few years.

Here is the result.

To view the map in its native format, click here.

Simple idea here.  Blue are antlered, pink are anterless.  Each point represents a harvest for the 2011/2012 season.

So I found the perfect layer publicly available on PASDA.  I had to make a few modifications on it but no biggie.

Then lay down some ground rules for my Random Point creation.
1. Set the point creation to be for the 2011 - 2012 hunting season.
2. Do not allow a point to be created within 75 yards of any road
3. Do not allow a point to be created in a river/lake

With these rules, I was able to keep most of the points out of large cities and reservoirs (see Philadelphia and Raystown lake for example).

A few hindsights:
1. I need to fix the legend, it is displaying too large in some web browsers.
2. Fix the Tooltip box.  It is creating a scroll bar in Firefox.

Feel free to analyze the map.  Central PA sure is skimpy!

I need ideas on what map to create next.  This map and the grouse map have been great for testing some apps that are work related.

No comments:

Post a Comment