Skip to content

Commit b7d6f10

Browse files
author
Adam Collins
committed
#253 update pdf area report defaults
1 parent 0e800c6 commit b7d6f10

File tree

3 files changed

+12
-53
lines changed

3 files changed

+12
-53
lines changed

src/main/groovy/au/org/ala/spatial/util/AreaReportPDF.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,9 @@ class AreaReportPDF {
811811
List<Distributions> data = distributionsService.queryDistributions([wkt: pid, dataResourceUid: dataResourceId, familyLsid: familyLsids], true,
812812
type == "expertdistributions" ? Distributions.EXPERT_DISTRIBUTION : Distributions.SPECIES_CHECKLIST)
813813

814+
// sort by scientific name
815+
data = data.sort { it.scientific }
816+
814817
if (dataResourceId != null) {
815818
csv = Util.getDistributionsOrChecklistsRollup(data)
816819
} else {

src/main/resources/areareport/AreaReportDetails.json

+5-53
Original file line numberDiff line numberDiff line change
@@ -124,58 +124,6 @@
124124
}
125125
]
126126
},
127-
{
128-
"type": "general",
129-
"items": [
130-
{
131-
"type": "text",
132-
"text": "Global Context Ecoregions"
133-
},
134-
{
135-
"type": "text",
136-
"text": "<br></br>Terrestrial Ecoregions of the World (TEOW)<br></br>Terrestrial Ecoregions of the World (TEOW) is a biogeographic regionalisation of the Earth's terrestrial biodiversity. Our biogeographic units are ecoregions, which are defined as relatively large units of land or water containing a distinct assemblage of natural communities sharing a large majority of species, dynamics, and environmental conditions. There are 867 terrestrial ecoregions, classified into 14 different biomes such as forests, grasslands, or deserts. Ecoregions represent the original distribution of distinct assemblages of species and communities. [Ref2]<br></br>TEOW: <a href='https://worldwildlife.org/biome-categories/terrestrial-ecoregions'>https://worldwildlife.org/biome-categories/terrestrial-ecoregions</a><br></br>Terrestrial Ecoregional Boundaries layer: Classification: Biodiversity - Region; Type: Contextual (polygonal); Metadata contact organisation: The Nature Conservancy (TNC). <a href='https://spatial.ala.org.au/ws/layers/view/more/1053'>https://spatial.ala.org.au/ws/layers/view/more/1053</a>"
137-
},
138-
{
139-
"type": "map",
140-
"buffer": 0.3,
141-
"layer": "teow"
142-
},
143-
{
144-
"type": "figure"
145-
},
146-
{
147-
"type": "table",
148-
"table": "tabulation",
149-
"value": "cl1053"
150-
}
151-
]
152-
},
153-
{
154-
"type": "general",
155-
"items": [
156-
{
157-
"type": "text",
158-
"text": "Freshwater Ecoregions of the World (FEOW)"
159-
},
160-
{
161-
"type": "text",
162-
"text": "Freshwater Ecoregions of the World (FEOW) is a collaborative project providing the first global biogeographic regionalization of the Earth's freshwater biodiversity, and synthesizing biodiversity and threat data for the resulting ecoregions. We define a freshwater ecoregion as a large area encompassing one or more freshwater systems that contains a distinct assemblage of natural freshwater communities and species. The freshwater species, dynamics, and environmental conditions within a given ecoregion are more similar to each other than to those of surrounding ecoregions and together form a conservation unit. [Ref5]<br></br>FEOW: <a href='https://worldwildlife.org/biome-categories/freshwater-ecoregions'>https://worldwildlife.org/biome-categories/freshwater-ecoregions</a><br></br>Freshwater Ecoregions of the World layer: Classification: Biodiversity - Region; Type: Contextual (polygonal); Metadata contact organisation: TNC. <a href='https://spatial.ala.org.au/ws/layers/view/more/1052'>https://spatial.ala.org.au/ws/layers/view/more/1052</a>"
163-
},
164-
{
165-
"type": "map",
166-
"buffer": 0.3,
167-
"layer": "feow"
168-
},
169-
{
170-
"type": "figure"
171-
},
172-
{
173-
"type": "table",
174-
"table": "tabulation",
175-
"value": "cl1052"
176-
}
177-
]
178-
},
179127
{
180128
"type": "general",
181129
"items": [
@@ -378,6 +326,10 @@
378326
"label": "Number of expert distributions: <b>%s</b>",
379327
"type": "expertdistributions"
380328
},
329+
{
330+
"text": "Expert distributions are areas defined by experts of a species. Such areas identify where the species is expected to occur.",
331+
"type": "text"
332+
},
381333
{
382334
"type": "table",
383335
"table": "expertdistributions"
@@ -422,4 +374,4 @@
422374
"type": "file",
423375
"file": "furtherLinks.html"
424376
}
425-
]
377+
]

src/main/resources/areareport/furtherLinks.html

+4
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,8 @@ <h1 class='title' id='References' style="page-break-before: always">References</
125125
<p>11. NASA Earth Observatory (2000). Net Primary Productivity. <a
126126
href='https://earthobservatory.nasa.gov/GlobalMaps/view.php?d1=MOD17A2_M_PSN'>https://earthobservatory.nasa.gov/GlobalMaps/view.php?d1=MOD17A2_M_PSN</a>
127127
</p>
128+
129+
<p>12. Belbin, L., Wallis, E., Hobern, D. and Zerger, A. (2021). The Atlas of Living Australia: History, current state and future directions. Biodiversity Data Journal 9: e65023.
130+
<a href="https://doi.org/10.3897/BDJ.9.e65023">https://doi.org/10.3897/BDJ.9.e65023</a>
131+
</p>
128132
</div>

0 commit comments

Comments
 (0)