Skip to content

Commit

Permalink
add region files config in new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
t83714 committed Jun 21, 2024
1 parent 6ec766a commit 4cf8431
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,89 @@ magda:
memory: 500Mi
limits:
cpu: 250m
appConfig:
regionSources:
# Australia (Mainland) and all offshore territories as a whole
COUNTRY:
url: "https://files.magda.io/default-regions/country.geojson"
idField: "id"
nameField: "name"
order: 9
# Regions for each of Australia offshore territories
OFFSHORE_TERRITORIES:
url: "https://files.magda.io/default-regions/off-shore-territories.geojson"
idField: "id"
nameField: "name"
lv1Id: "2"
order: 11
# ABS Statistical Area Level 4
SA4:
url: "https://files.magda.io/default-regions/SA4.geojson"
idField: "SA4_CODE11"
nameField: "SA4_NAME11"
lv1Id: "1"
lv2IdField: "STE_CODE11"
order: 30
# ABS Statistical Area Level 3
SA3:
url: "https://files.magda.io/default-regions/SA3.geojson"
idField: "SA3_CODE11"
nameField: "SA3_NAME11"
lv1Id: "1"
lv2IdField: "STE_CODE11"
lv3IdField: "SA4_CODE11"
order: 40
# ABS Statistical Area Level 2
SA2:
url: "https://files.magda.io/default-regions/SA2.geojson"
idField: "SA2_MAIN11"
nameField: "SA2_NAME11"
lv1Id: "1"
lv2IdField: "STE_CODE11"
lv3IdField: "SA4_CODE11"
lv4IdField: "SA3_CODE11"
order: 50
# ABS Statistical Area Level 1
SA1:
url: "https://files.magda.io/default-regions/SA1.geojson"
idField: "SA1_MAIN11"
nameField: "SA1_MAIN11"
lv1Id: "1"
lv2IdField: "STE_CODE11"
lv3IdField: "SA4_CODE11"
lv4IdField: "SA3_CODE11"
lv5IdField: "SA2_MAIN11"
order: 60
# Australia Local Government Areas
LGA:
url: "https://files.magda.io/default-regions/LGA.geojson"
idField: "LGA_CODE15"
nameField: "LGA_NAME15"
lv1Id: "1"
steIdField: "STE_CODE11"
order: 20
# Australia Postal Areas
POA:
url: "https://files.magda.io/default-regions/POA.geojson"
idField: "POA_CODE"
nameField: "POA_NAME"
lv1Id: "1"
order: 70
# Australia Commonwealth electoral boundaries
COM_ELB_ID_2016:
url: "https://files.magda.io/default-regions/COM_ELB_ID_2016.geojson"
idField: "DIV_ID"
nameField: "SORTNAME"
lv1Id: "1"
order: 80
# Australia State and Territory
STE:
url: "https://files.magda.io/default-regions/STE.simplified.geojson"
idField: "STE_CODE11"
nameField: "STE_NAME11"
shortNameField: "STE_ABBREV"
lv1Id: "1"
order: 10

## Configures the TerriaJS server responsible for serving preview maps.
preview-map:
Expand Down

0 comments on commit 4cf8431

Please sign in to comment.