Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@t83714 t83714 released this 24 Jun 12:31
· 8 commits to main since this release

What's New

  • Update ELB (Commonwealth Electoral Boundaries), POA (Postal Areas) & SA (Statistical Area) 1-4 to 2021 version
  • Update LGA (Local Government Areas) to 2023 version

Indexer Config

When you want to explicitly config the indexer to use this release:

indexer:
  appConfig:
    regionSources:
      # Australia (Mainland) and all offshore territories as a whole
      COUNTRY:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/country.ndjson"
        idField: "id"
        nameField: "name"
        order: 9
      # Regions for each of Australia offshore territories
      OFFSHORE_TERRITORIES:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/off-shore-territories.ndjson"
        idField: "id"
        nameField: "name"
        lv1Id: "2"
        order: 11
      # ABS Statistical Area Level 4
      SA4:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/SA4_2021.ndjson"
        idField: "SA4_CODE_2021"
        nameField: "SA4_NAME_2021"
        lv1Id: "1"
        lv2IdField: "STATE_CODE_2021"
        order: 30
      # ABS Statistical Area Level 3
      SA3:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/SA3_2021.ndjson"
        idField: "SA3_CODE_2021"
        nameField: "SA3_NAME_2021"
        lv1Id: "1"
        lv2IdField: "STATE_CODE_2021"
        lv3IdField: "SA4_CODE_2021"
        order: 40
      # ABS Statistical Area Level 2
      SA2:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/SA2_2021.ndjson"
        idField: "SA2_CODE_2021"
        nameField: "SA2_NAME_2021"
        lv1Id: "1"
        lv2IdField: "STATE_CODE_2021"
        lv3IdField: "SA4_CODE_2021"
        lv4IdField: "SA3_CODE_2021"
        order: 50
      # ABS Statistical Area Level 1
      SA1:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/SA1_2021.ndjson"
        idField: "SA1_CODE_2021"
        nameField: "SA1_CODE_2021"
        lv1Id: "1"
        lv2IdField: "STATE_CODE_2021"
        lv3IdField: "SA4_CODE_2021"
        lv4IdField: "SA3_CODE_2021"
        lv5IdField: "SA2_CODE_2021"
        order: 60
      # Australia Local Government Areas
      LGA:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/LGA_2023.ndjson"
        idField: "LGA_CODE_2023"
        nameField: "LGA_NAME_2023"
        lv1Id: "1"
        lv2IdField: "STATE_CODE_2021"
        order: 20
      # Australia Postal Areas
      POA:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/POA_2021.ndjson"
        idField: "POA_CODE_2021"
        nameField: "POA_NAME_2021"
        lv1Id: "1"
        order: 70
      # Australia Commonwealth electoral boundaries
      ELB:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/ELB_2021.ndjson"
        idField: "Elect_div"
        nameField: "Elect_div"
        lv1Id: "1"
        order: 80
      # Australia State and Territory
      STE:
        url: "https://github.com/magda-io/magda-regions/releases/download/v2.0.0/STE.simplified.ndjson"
        idField: "STE_CODE11"
        nameField: "STE_NAME11"
        shortNameField: "STE_ABBREV"
        lv1Id: "1"
        order: 10

Search API Config

When you want to explicitly config the search API to use this release:

search-api:
  appConfig:
    regionMapping:
      regionWmsMap:
        STE:
          layerName: STE_2021
          server: https://tiles.magda.io/STE_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-STE_2021.json
          uniqueIdProp: FID
          regionProp: STATE_CODE_2021
          nameProp: STATE_NAME_2021
          aliases:
            - ste_code_2021
            - ste_code
            - ste
          description: States and Territories 2021
          bbox:
            - 96.81
            - -43.74
            - 168
            - -9.14
        SA1:
          layerName: SA1_2021
          server: https://tiles.magda.io/SA1_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-SA1_2021.json
          uniqueIdProp: FID
          regionProp: SA1_CODE_2021
          nameProp: SA1_CODE_2021
          aliases:
            - sa1_code_2021
            - sa1_maincode_2021
            - sa1
            - sa1_code
          description: Statistical Area Level 1 2021 (ABS)
          bbox:
            - 96.81
            - -43.75
            - 159.11
            - -9.14
        SA2:
          layerName: SA2_2021
          server: https://tiles.magda.io/SA2_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-SA2_2021.json
          uniqueIdProp: FID
          regionProp: SA2_CODE_2021
          nameProp: SA2_NAME_2021
          aliases:
            - sa2_code_2021
            - sa2_maincode_2021
            - sa2
            - sa2_code
          description: Statistical Area Level 2 2021 by code (ABS)
          bbox:
            - 96.81
            - -43.75
            - 168
            - -9.14
        SA3:
          layerName: SA3_2021
          server: https://tiles.magda.io/SA3_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-SA3_2021.json
          uniqueIdProp: FID
          regionProp: SA3_CODE_2021
          nameProp: SA3_NAME_2021
          aliases:
            - sa3_code_2021
            - sa3_maincode_2021
            - sa3
            - sa3_code
          description: Statistical Area Level 3 2021 by code (ABS)
          bbox:
            - 96.81
            - -43.75
            - 168
            - -9.14
        SA4:
          layerName: SA4_2021
          server: https://tiles.magda.io/SA4_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-SA4_2021.json
          uniqueIdProp: FID
          regionProp: SA4_CODE_2021
          nameProp: SA4_NAME_2021
          aliases:
            - sa4_code_2021
            - sa4_maincode_2021
            - sa4
            - sa4_code
          description: Statistical Area Level 4 2021 by code (ABS)
          bbox:
            - 96.81
            - -43.75
            - 168
            - -9.14
        LGA:
          layerName: LGA_2023
          server: https://tiles.magda.io/LGA_2023/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-LGA_2023.json
          uniqueIdProp: FID
          regionProp: LGA_CODE_2023
          nameProp: LGA_NAME_2023
          aliases:
            - lga_code_2023
            - lga_code
            - lga
          description: Local Government Areas 2023
          bbox:
            - 96.81
            - -43.74
            - 168
            - -9.14
        ELB:
          layerName: ELB_2021
          server: https://tiles.magda.io/ELB_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-ELB_NAME_2021.json
          uniqueIdProp: FID
          regionProp: Elect_div
          nameProp: Elect_div
          aliases:
            - com_elb_name_2021
            - com_elb_name
          description: Commonwealth Electoral Divisions as at 2 August 2021 (AEC)
          bbox:
            - 96.81
            - -43.73
            - 168
            - -9.1
        POA:
          layerName: POA_2021
          server: https://tiles.magda.io/POA_2021/{z}/{x}/{y}.pbf
          serverType: MVT
          serverMaxNativeZoom: 12
          serverMinZoom: 0
          serverMaxZoom: 28
          regionIdsFile: build/TerriaJS/data/regionids/region_map-POA_2021.json
          uniqueIdProp: FID
          regionProp: POA_CODE_2021
          nameProp: POA_CODE_2021
          aliases:
            - poa_code_2021
            - poa_code
            - poa
            - postcode_2021
            - postcode
          description: Postal Areas 2021 (ABS)
          bbox:
            - 96.81
            - -43.74
            - 168
            - -9.14