magda-io / magda-minion-format

Magda Format Minion
Other
0 stars 0 forks source link

GeoJson format string could sometimes be recognised as GEO+JSON #23

Closed t83714 closed 1 year ago

t83714 commented 1 year ago

GeoJson format string could sometimes be recognised as GEO+JSON

The following dataset distribution format GeoJson has been incorrectly generated as GEO+JSON.

{
  "aspects": {
    "source": {
      "id": "dcceew",
      "name": "Department of Climate Change, Energy, the Environment and Water",
      "type": "project-open-data-dataset",
      "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
    },
    "dcat-dataset-strings": {
      "contactPoint": "DCCEEW_Geospatial",
      "description": "Work has been undertaken through the marine bioregional planning program to identify, describe and map biologically important areas (BIA's) for protected species under the EPBC Act.<div><br />BIA's spatially and temporally define areas where protected species display biologically important behaviours (including breeding, foraging, resting or migration), based on the best available scientific information. These areas are those parts of a marine region that are particularly important for the conservation of protected species. In collecting information on BIA's the Department has explicitly aimed to collect information about known important areas and about areas that are likely to be or may be important for a protected species.</div><div><br />This approach was taken to ensure that: the BIA's identified did not simply represent survey effort but identified areas that scientists consider are likely to be biologically important for a protected species. BIA's are accompanied by comprehensive data attributes which enable decision-makers and people proposing to undertake actions that may have a significant impact on matters of national environmental significance to assess the relevance of the information to their specific circumstances. BIA's were initially captured on a regional basis and each region has a different list of regionally significant species.</div><div><br /></div><div>For more information about BIA's and their capture please refer to the Marine Bioregional plans <a href='https://www.dcceew.gov.au/environment/marine/marine-bioregional-plans' target='_blank' rel='nofollow ugc noopener noreferrer'>https://www.dcceew.gov.au/environment/marine/marine-bioregional-plans</a> and the associated report cards for each region.</div><div><br /></div><div><b>The following species have BIA's identified in the Coral Sea Marine Region:</b><br /><b>Note</b>: A number of these species occur in the Great Barrier Reef.<br /><br />Dolphins<br /><ul><li>Indo-Pacific Humpback Dolphin (Sousa chinensis)</li><li>Indo-Pacific/Spotted Bottlenose Dolphin (Tursiops aduncus)</li></ul>Marine Turtles:<br /><ul><li>Flatback Turtle (Natator depressus)</li><li>Green Turtle (Chelonia mydas)</li><li>Hawksbill Turtle (Eretmochelys imbricata)</li><li>Leatherback Turtle (Dermochelys coriacea)</li><li>Loggerhead Turtle (Caretta caretta)</li></ul>Seabirds:<br /><ul><li>Black-naped Tern (Sterna sumatrana)</li><li>Black Noddy (Anous minutus)</li><li>Bridled Tern (Onychoprion anaethetus)</li><li>Brown Booby (Sula leucogaster)</li><li>Common Noddy (Anous stolidus)</li><li>Crested Tern (Thalasseus bergii)</li><li>Flesh-footed Shearwater (Ardenna carneipes)</li><li>Greater Frigatebird (Fregata minor)</li><li>Lesser Frigatebird (Fregata ariel)</li><li>Masked Booby (Sula dactylatra)</li><li>Red-footed Booby (Sula sula)</li><li>Red-tailed Tropicbird (Phaethon rubricauda)</li><li>Sooty Tern (Onychoprion fuscata)</li><li>Wedge-tailed Shearwater (Ardenna pacifica)</li><li>Wilsons Storm Petrel (Oceanites oceanites)</li></ul>Sharks:<br /><ul><li>Grey Nurse Shark (Carcharias taurus)</li><li>Whale Shark (Rhinocodon typus)</li><li>White Shark (Carcharodon carcharias)</li></ul>Whales:<br /><ul><li>Humpback Whale (Megaptera novaeangliae)</li></ul><br /><b>The following species have BIA's identified in the North Marine Region:</b><br /><br />Dolphins<br /><ul><li>Australian Snubfin Dolphin (Orcaella heinsohni)</li><li>Indo-Pacific Humpback Dolphin (Sousa chinensis)</li><li>Indo-Pacific/Spotted Bottlenose Dolphin (Tursiops aduncus)</li></ul>Marine Turtles<br /><ul><li>Flatback Turtle (Natator depressus)</li><li>Green Turtle (Chelonia mydas)</li><li>Hawksbill Turtle (Eretmochelys imbricata)</li><li>Leatherback Turtle (Dermochelys coriacea)</li><li>Olive Ridley Turtle (Lepidochelys olivacea)</li></ul>Seabirds<br /><ul><li>Bridled Tern (Onychoprion anaethetus)</li><li>Brown Booby (Sula leucogaster)</li><li>Common Noddy (Anous stolidus)</li><li>Crested Tern (Thalasseus bergii)</li><li>Lesser Crested Tern (Thalasseus bengalensis)</li><li>Lesser Frigatebird (Fregata ariel)</li><li>Roseate Tern (Sterna dougallii)</li></ul><br /><b>The following species have BIA's identified in the North-west Marine Region:</b><br /><br />Dolphins<br /><ul><li>Australian Snubfin Dolphin (Orcaella heinsohni)</li><li>Indo-Pacific Humpback Dolphin (Sousa chinensis)</li><li>Indo-Pacific/Spotted Bottlenose Dolphin (Turiops aduncus)</li></ul>Dugong<br /><ul><li>Dugong (Dugong dugon)</li></ul>Marine turtles<br /><ul><li>Flatback Turtle (Natator depressus)</li><li>Green Turtle (Chelonia mydas)</li><li>Hawksbill Turtle (Eretmochelys imbricata)</li><li>Loggerhead Turtle (Caretta caretta)</li><li>Olive Ridley Turtle (Lepidochelys olivacea)</li></ul>Sawfish<br /><ul><li>Dwarf Sawfish (Pristis clavata)</li><li>Freshwater Sawfish (Pristis pristis)</li><li>Green Sawfish (Pristis zijsron)</li></ul>Seabirds<br /><ul><li>Brown Booby (Sula leucogaster)</li><li>Fairy Tern (Sternula nereis)</li><li>Greater Frigatebird (Fregata minor)</li><li>Lesser Crested Tern (Thalasseus bengalensis)</li><li>Lesser Frigatebird (Fregata ariel)</li><li>Little Tern (Sternula albifrons sinensis)</li><li>Red-footed Booby (Sula sula)</li><li>Roseate Tern (Sterna dougallii)</li><li>Wedge-tailed Shearwater (Ardenna pacifica)</li><li>White-tailed Tropicbird (Phaethon lepturus)</li></ul>Sharks<br /><ul><li>Whale Shark (Rhincodon typus)</li></ul>Whales<br /><ul><li>Blue whale (Balaenoptera musculus)</li><li>Pygmy blue whale (Balaenoptera musculus brevicauda)</li><li>Humpback whale (Megaptera novaeangliae)</li><li>Pygmy Blue Whale (Balaenoptera musculus brevicauda)</li></ul><br /><b>The following species have BIA's identified in the South-east Marine Region:</b><br /><br />Dolphins<br /><ul><li>Indo-Pacific/Spotted Bottlenose Dolphin (Tursiops aduncus)</li></ul>Seabirds<br /><ul><li>Antipodean Albatross (Diomedea exulans antipodensis)</li><li>Australasian Gannet (Morus serrator)</li><li>Black-browed Albatross (Thalassarche melanophris)</li><li>Black-faced Cormorant (Phalacrocorax fuscescens)</li><li>Buller's Albatross (Thalassarche bulleri)</li><li>Campbell Albatross (Thalassarche melanophris impavida)</li><li>Common Diving-petrel (Pelecanoides urinatrix)</li><li>Indian Yellow-nosed Albatross (Thalassarche chlororhynchos bassi)</li><li>Little Penguin (Eudyptula minor)</li><li>Short-tailed shearwater (Ardenna tenuirostris)</li><li>Shy Albatross (Thalassarche cauta cauta)</li><li>Soft-plumaged Petrel (Pterodroma mollis)</li><li>Sooty Shearwater (Ardenna grisea)</li><li>Wandering Albatross (Diomedea exulans (sensu lato))</li><li>White-faced Storm-petrel (Pelagodroma marina)</li><li>White-fronted Tern (Sterna striata)</li></ul>Sharks<br /><ul><li>Grey Nurse Shark (Carcharias taurus)</li><li>White Shark (Carcharodon carcharias)</li></ul>Whales<br /><ul><li>Pygmy blue whale (Balaenoptera musculus brevicauda)</li><li>Southern Right Whale (Eubalaena australis)</li></ul><br /><b>The following species have BIA's identified in the South-west Marine Region:</b><br /><br />Seabirds<br /><ul><li>Australian Lesser Noddy (Anous tenuirorstris melanops)</li><li>Black-faced Cormorant (Phalacrocorax fuscescens)</li><li>Bridled Tern (Onychoprion anaethetus)</li><li>Caspian Tern (Hydroprogne caspia)</li><li>Common Noddy (Anous stolidus)</li><li>Fairy Tern (Sternula nereis)</li><li>Flesh-footed Shearwater (Ardenna carneipes)</li><li>Great-winged Petrel (macroptera race) (Pterodroma macroptera macroptera)</li><li>Indian Yellow-nosed Albatross (Thalassarche chlororhynchos bassi)</li><li>Little Penguin (Eudyptula minor)</li><li>Little Shearwater (Puffinus assimilis tunneyi)</li><li>Pacific Gull (Larus pacificus)</li><li>Roseate Tern (Sterna dougallii)</li><li>Short-tailed Shearwater (Ardenna tenuirostris)</li><li>Soft-plumaged Petrel (Pterodroma mollis)</li><li>Sooty Tern (Onychoprion fuscata)</li><li>Wedge-tailed Shearwater (Ardenna pacifica)</li></ul>Seals<br /><ul><li>Australian Sea Lion (Neophoca cinerea)</li></ul>Sharks<br /><ul><li>White Shark (Carcharodon carcharias)</li></ul>Whales<br /><ul><li>Blue whale (Balaenoptera musculus)</li><li>Pygmy blue whale (Balaenoptera musculus brevicauda)</li><li>Humpback Whale (Megaptera novaeangliae)</li><li>Pygmy Blue Whale (Balaenoptera musculus brevicauda)</li><li>Southern Right Whale (Eubalaena australis)</li><li>Sperm Whale (Physeter macrocephalus)</li></ul><br /><b>The following species have BIA's identified in the Temperate East Marine Region:</b></div><div><br />Dolphins<br /><ul><li>Indo-Pacific Humpback Dolphin (Sousa chinensis)</li><li>Indo-Pacific/Spotted Bottlenose Dolphin (Tursiops aduncus)</li></ul>Marine Turtles:<br /><ul><li>Green Turtle (Chelonia mydas)</li><li>Loggerhead Turtle (Caretta caretta)</li></ul>Seabirds:<br /><ul><li>Antipodean albatross (Diomedea exulans antipodensis)</li><li>Black-winged Petrel (Pterodroma nigripennis)</li><li>Black Noddy (Anous minutus)</li><li>Black Petrel (Procellaria parkinsoni)</li><li>Campbell Albatross (Thalassarche melanophris impavida)</li><li>Common Noddy (Anous stolidus)</li><li>Flesh-footed Shearwater (Ardenna carneipes)</li><li>Gould's Petrel (Pterodroma leucoptera leucoptera)</li><li>Great-winged Petrel (Pterodroma macroptera)</li><li>Grey Ternlet (Procelsterna cerulea)</li><li>Indian Yellow-nosed Albatross (Thalassarche chlororhynchos bassi)</li><li>Kermadec Petrel (Pterodroma neglecta neglecta)</li><li>Little Penguin (Eudyptula minor)</li><li>Little Shearwater (Puffinus assimilis)</li><li>Masked Booby (Sula dactylatra)</li><li>Northern Giant Petrel (Macronectes halli)</li><li>Providence Petrel (Pterodroma solandri)</li><li>Red-tailed Tropicbird (Phaethon ribricauda)</li><li>Short-tailed Shearwater (Ardenna tenuirostris)</li><li>Sooty Shearwater (Ardenna grisea)</li><li>Sooty Tern (Onychoprion fuscata)</li><li>Southern Giant Petrel (Macronectes giganteus)</li><li>Wandering Albatross (Diomedea exulans (sensu lato))</li><li>Wedge-tailed Shearwater (Ardenna pacifica)</li><li>White-bellied Storm Petrel (Fregetta grallaria grallaria)</li><li>White-necked Petrel (Pterodroma cervicalis)</li><li>White Tern (Gygis alba)</li><li>Wilsons Storm Petrel (Oceanites oceanicus)</li></ul>Sharks:<br /><ul><li>Grey Nurse Shark (Carcharias taurus)</li><li>White Shark (Carcharodon carcharias)</li></ul>Whales:<br /><ul><li>Humpback whale (Megaptera novaeangliae)</li></ul><br /><b>Note</b>: A number of BIAs have been extended into neighbouring regions including the Great Barrier Reef. At this stage the polygons are attributed with the region where the majority of the polygon occurs however they may in future be split.<br /><br />All BIA data can be viewed and accessed via the National Conservation Values Atlas <a href='https://www.dcceew.gov.au/environment/marine/marine-bioregional-plans/conservation-values-atlas' target='_blank' rel='nofollow ugc noopener noreferrer'>https://www.dcceew.gov.au/environment/marine/marine-bioregional-plans/conservation-values-atlas</a> and are available under Creative Commons Attribution 3.0 Australia Licence.</div>",
      "issued": "2023-03-08T21:36:51.000Z",
      "keywords": [
        "Marine Biology Mapping",
        "Oceans and Estuaries",
        "Marine Biology Biodiversity",
        "Featured Dataset",
        "Featured Content"
      ],
      "landingPage": "https://fed.dcceew.gov.au/maps/erin::biologically-important-areas-of-regionally-significant-marine-species",
      "modified": "2016-01-04T00:00:00.000Z",
      "publisher": "Dept of Climate Change, Energy, the Environment & Water",
      "spatial": {
        "coordinates": [
          [
            109.8472,
            -58.4495
          ],
          [
            171.8243,
            -3.513
          ]
        ],
        "type": "envelope"
      },
      "temporal": {},
      "themes": [
        "geospatial"
      ],
      "title": "Biologically Important Areas of Regionally Significant Marine Species"
    },
    "dataset-publisher": {
      "publisher": {
        "aspects": {
          "organization-details": {
            "email": "geospatial@dcceew.gov.au",
            "name": "Dept of Climate Change, Energy, the Environment & Water",
            "title": "Dept of Climate Change, Energy, the Environment & Water"
          },
          "source": {
            "id": "dcceew",
            "name": "Department of Climate Change, Energy, the Environment and Water",
            "type": "project-open-data-organization",
            "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
          }
        },
        "id": "org-dcceew-Dept of Climate Change, Energy, the Environment & Water",
        "name": "Dept of Climate Change, Energy, the Environment & Water"
      }
    },
    "dataset-distributions": {
      "distributions": [
        {
          "aspects": {
            "dataset-format": {
              "confidenceLevel": 33,
              "format": "WEB"
            },
            "dcat-distribution-strings": {
              "accessURL": "https://fed.dcceew.gov.au/maps/erin::biologically-important-areas-of-regionally-significant-marine-species",
              "format": "Web Page",
              "license": "http://creativecommons.org/licenses/by/3.0",
              "mediaType": "text/html",
              "title": "ArcGIS Hub Dataset"
            },
            "project-open-data-distribution": {
              "@type": "dcat:Distribution",
              "accessURL": "https://fed.dcceew.gov.au/maps/erin::biologically-important-areas-of-regionally-significant-marine-species",
              "format": "Web Page",
              "mediaType": "text/html",
              "title": "ArcGIS Hub Dataset"
            },
            "source": {
              "id": "dcceew",
              "name": "Department of Climate Change, Energy, the Environment and Water",
              "type": "project-open-data-distribution",
              "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
            }
          },
          "id": "dist-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0-0",
          "name": "ArcGIS Hub Dataset"
        },
        {
          "aspects": {
            "dataset-format": {
              "confidenceLevel": 70,
              "format": "ESRI FEATURESERVER"
            },
            "dcat-distribution-strings": {
              "accessURL": "https://services1.arcgis.com/gtRkYQyUQLMTM1uS/arcgis/rest/services/_Biologically_Important_Areas_of_Regionally_Significant_Marine_Species/FeatureServer/0",
              "format": "ArcGIS GeoServices REST API",
              "license": "http://creativecommons.org/licenses/by/3.0",
              "mediaType": "application/json",
              "title": "ArcGIS GeoService"
            },
            "project-open-data-distribution": {
              "@type": "dcat:Distribution",
              "accessURL": "https://services1.arcgis.com/gtRkYQyUQLMTM1uS/arcgis/rest/services/_Biologically_Important_Areas_of_Regionally_Significant_Marine_Species/FeatureServer/0",
              "format": "ArcGIS GeoServices REST API",
              "mediaType": "application/json",
              "title": "ArcGIS GeoService"
            },
            "source": {
              "id": "dcceew",
              "name": "Department of Climate Change, Energy, the Environment and Water",
              "type": "project-open-data-distribution",
              "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
            }
          },
          "id": "dist-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0-1",
          "name": "ArcGIS GeoService"
        },
        {
          "aspects": {
            "dataset-format": {
              "confidenceLevel": 90,
              "format": "CSV"
            },
            "dcat-distribution-strings": {
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.csv?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "CSV",
              "license": "http://creativecommons.org/licenses/by/3.0",
              "mediaType": "text/csv",
              "title": "CSV"
            },
            "project-open-data-distribution": {
              "@type": "dcat:Distribution",
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.csv?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "CSV",
              "mediaType": "text/csv",
              "title": "CSV"
            },
            "source": {
              "id": "dcceew",
              "name": "Department of Climate Change, Energy, the Environment and Water",
              "type": "project-open-data-distribution",
              "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
            }
          },
          "id": "dist-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0-2",
          "name": "CSV"
        },
        {
          "aspects": {
            "dataset-format": {
              "confidenceLevel": 90,
              "format": "GEO+JSON"
            },
            "dcat-distribution-strings": {
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.geojson?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "GeoJSON",
              "license": "http://creativecommons.org/licenses/by/3.0",
              "mediaType": "application/vnd.geo+json",
              "title": "GeoJSON"
            },
            "project-open-data-distribution": {
              "@type": "dcat:Distribution",
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.geojson?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "GeoJSON",
              "mediaType": "application/vnd.geo+json",
              "title": "GeoJSON"
            },
            "source": {
              "id": "dcceew",
              "name": "Department of Climate Change, Energy, the Environment and Water",
              "type": "project-open-data-distribution",
              "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
            }
          },
          "id": "dist-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0-3",
          "name": "GeoJSON"
        },
        {
          "aspects": {
            "dataset-format": {
              "confidenceLevel": 90,
              "format": "ZIP"
            },
            "dcat-distribution-strings": {
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.zip?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "ZIP",
              "license": "http://creativecommons.org/licenses/by/3.0",
              "mediaType": "application/zip",
              "title": "Shapefile"
            },
            "project-open-data-distribution": {
              "@type": "dcat:Distribution",
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.zip?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "ZIP",
              "mediaType": "application/zip",
              "title": "Shapefile"
            },
            "source": {
              "id": "dcceew",
              "name": "Department of Climate Change, Energy, the Environment and Water",
              "type": "project-open-data-distribution",
              "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
            }
          },
          "id": "dist-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0-4",
          "name": "Shapefile"
        },
        {
          "aspects": {
            "dataset-format": {
              "confidenceLevel": 90,
              "format": "KML"
            },
            "dcat-distribution-strings": {
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.kml?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "KML",
              "license": "http://creativecommons.org/licenses/by/3.0",
              "mediaType": "application/vnd.google-earth.kml+xml",
              "title": "KML"
            },
            "project-open-data-distribution": {
              "@type": "dcat:Distribution",
              "accessURL": "https://fed.dcceew.gov.au/datasets/erin::biologically-important-areas-of-regionally-significant-marine-species.kml?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D",
              "format": "KML",
              "mediaType": "application/vnd.google-earth.kml+xml",
              "title": "KML"
            },
            "source": {
              "id": "dcceew",
              "name": "Department of Climate Change, Energy, the Environment and Water",
              "type": "project-open-data-distribution",
              "url": "https://fed.dcceew.gov.au/api/feed/dcat-us/1.1.json"
            }
          },
          "id": "dist-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0-5",
          "name": "KML"
        }
      ]
    },
    "dataset-quality-rating": {
      "dataset-linked-data-rating": {
        "score": 0.6,
        "weighting": 1
      }
    }
  },
  "id": "ds-dcceew-https://www.arcgis.com/home/item.html?id=e8e7a7c233a44cf099817b2f4dff29c7&sublayer=0",
  "name": "Biologically Important Areas of Regionally Significant Marine Species",
  "sourceTag": "cd6d0672-2a18-4ca7-b6fd-a22ffebf1b69",
  "tenantId": 0
}
t83714 commented 1 year ago

closed vis PR: https://github.com/magda-io/magda-minion-format/pull/24