You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The branch that should be the target for this change is the devel branch.
Please feel free to open Pull Request with changes that you think are necessary.
I'll be happy to answer your questions!
The text was updated successfully, but these errors were encountered:
Right now we present ecobenefits for all trees that have trunk diameter.
In the
otm-core
we use thesimplified_tree_benefits
function to get benefits from theecobenefits
service. https://github.com/kodujdlapolski/otm-core/blob/devel/opentreemap/treemap/views/tree.py#L123The data is provided by the ecobenefits service, here in this view: https://github.com/kodujdlapolski/ecobenefits/blob/master/eco/server.py#L54
We would like to add similar functionality, but for a single tree.
tree_diam
(application/json) toecobenefits
serviceecobenefits
is here: https://github.com/kodujdlapolski/ecobenefits/blob/master/eco/server.py#L48, here's docs in the README: https://github.com/kodujdlapolski/ecobenefits#tree-benefits-endpointPlease feel free to modify this view if necessary.
The templates for the ecobenefits are here: https://github.com/kodujdlapolski/otm-core/blob/devel/opentreemap/treemap/templates/treemap/partials/eco_benefits.html
The branch that should be the target for this change is the
devel
branch.Please feel free to open Pull Request with changes that you think are necessary.
I'll be happy to answer your questions!
The text was updated successfully, but these errors were encountered: