Ecotrust / forestplanner

An online tool for forest management scenario planning
BSD 3-Clause "New" or "Revised" License
29 stars 11 forks source link

Scenario reports (graphs and maps) #13

Closed perrygeo closed 12 years ago

perrygeo commented 12 years ago

Graphs, charts,etc from the model output.

perrygeo commented 12 years ago

I don't feel a pressing need to get this 100% right the first time; the output and visualizations lend themselves well to organic iterative development and will largely be based on the rounds of feedback from the Alpha and Beta releases.

That being said, there are some solid bets that we know will be required. We can start mocking these up and getting some demos ready...

Graphs over time

Interactive Maps (w/ time slider?) showing choropleth map of:

perrygeo commented 12 years ago

Additionally, we should anticipate at least one report which shows the value of ecosystem services. This is vague but we do have some rasters which we could use zonal stats to come up with some sense of value beyond carbon and timber (ie wildlife habitat, recreation, aesthetics, water quality, etc). Analisa/jocelyne will have some ideas.

perrygeo commented 12 years ago

For the alpha release we discussed one or more scenarios with

Graphs and maps over time:

Maps will be two-at-time side-by-side linked panes.

perrygeo commented 12 years ago

I looked at D3 and it was powerful but a bit too low-level for what I was trying to achieve. JQPlot seemed to fit much better and used a higher-level abstraction allowing for a more declarative style.

So I mocked up a quick example of what it might look like: https://gist.github.com/3539326 .

This excercise definitely informed the data structure question - we should make sure the geojson results from a scenario contain data in basically the same format used by jqplot:

{ 'carbonData': [
    [['2004-08-12 4:00PM',4], ['2024-09-12 4:00PM',6.5], ['2048-10-12 4:00PM',5.7], ['2067-12-12 4:00PM',3.2]],
    [['2004-08-12 4:00PM',5], ['2024-09-12 4:00PM',7.5], ['2048-10-12 4:00PM',9], ['2067-12-12 4:00PM',9.2]]
], 
 'labels': [
   'scenario1',
   'scenario2'
]}
perrygeo commented 12 years ago

closing in favor of more specific tickets