Skip to content

Commit

Permalink
Merge pull request #63 from gkahiu/feature_site_report
Browse files Browse the repository at this point in the history
Incorporate Site Report
  • Loading branch information
Samweli authored Aug 13, 2024
2 parents d83eb1e + 5f4a129 commit a28b9e0
Show file tree
Hide file tree
Showing 15 changed files with 2,730 additions and 67 deletions.
689 changes: 689 additions & 0 deletions src/qgis_gea_plugin/data/report_templates/reforestation_site.qpt

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions src/qgis_gea_plugin/definitions/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,29 @@
"Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Yemen", "Zambia", "Zimbabwe"
]

ADMIN_AREAS_GROUP_NAME = "Administrative Areas"
DISTRICTS_NAME_SEGMENT = "Districts"
EXCLUSION_MASK_GROUP_NAME = "Exclusion Masks"
GOOGLE_LAYER_NAME: str = "Google Satellite (latest)"
LANDSAT_IMAGERY_GROUP_NAME = "Historical Landsat Imagery"
LANDSAT_2013_LAYER_SEGMENT = "Landsat 2013"
MASK_NAME_SEGMENT = "Mask"
RECENT_IMAGERY_GROUP_NAME = "Recent Nicfi Imagery"
SITE_GROUP_NAME = "Proposed Site Boundaries"

SITE_REPORT_TEMPLATE_NAME = "reforestation_site.qpt"

OVERVIEW_ZOOM_OUT_FACTOR = 13
DETAILED_ZOOM_OUT_FACTOR = 3

# Style for the site boundary polygon in the report
REPORT_SITE_BOUNDARY_STYLE = {
"style": "no",
"outline_style": "solid",
"outline_color": "0,0,0,255",
"outline_width": "0.7",
"outline_width_unit": "MM",
"joinstyle": "round"
}

REPORT_LANDSCAPE_DESCRIPTION_SUFFIX = "with and without exclusion masks and proposed site:"
Loading

0 comments on commit a28b9e0

Please sign in to comment.