Skip to content
alsaihn edited this page Sep 24, 2012 · 4 revisions

External Data Requirements:

iTree Resource Values

Each iTree region has a ResourceUnit spreadsheet in iTree's data files. This spreadsheet contains base data for calculating environmental benefits for each tree based on species and trunk diameter. OpenTreeMap includes a python script for importing the data in this spreadsheet.

To use this script:

  1. Enter the word 'code' without quotes into each data worksheet's A1 cell.
  2. Save each data worksheet as a csv file
  3. Run manage.py itree_import <filename>.csv <database_column> for each csv file

Environmental Benefit Values

OpenTreeMap requires cost values for 10 benefits trees bring to the urban landscape. Defaults for each region can be found in iTree's data files, however you may be able to locate more accurate data for your specific city or area.

  • Stormwater - $/gallon
  • Electricity - $/kWh
  • Natural Gas - $/therm
  • Co2 - $/lb
  • Ozone - $/lb
  • NOx - $/lb
  • PM10 - $/lb
  • SOX - $/lb
  • VOC - $/lb
  • BVOX - $/lb

Species data

Generate a list of species in your area and match each to a USDA symbol from their Plants online database and also to an iTree resource code. OpenTreeMap provides a species import template and a python script for importing species. Run manage.py speciesimport <filename>.csv to add species.

Field Choices

OpenTreeMap includes a choices.py file of default values for various select boxes and editable content. Change values in this file before you begin adding tree data.