Biohotspot
io.github.PascalSun/biohotspot
Ocean data for any coast or sea, Australian marine park facts and Marxan reserve design.
- add_project_data — Add data to a project from a public download link (GeoPackage, zipped Shapefile, GeoJSON, KML, CSV with coordinates or GeoTIFF, up to 200 MB): your own model's output, a survey, a map. Side effect: th
- compare_runs — Compare a scenario's kept runs (up to 50, newest first): for each, the targets met, area and cost of the best solution and its settings, ranked best first (most targets met, then lowest cost, then sma
- create_project — Create a Biohotspot project of yours for an area on the sea: a name and a GeoJSON polygon. Biohotspot then runs its data check (what data covers the area). Side effect: adds a project you own; nothing
- delete_scenario — Permanently delete one of your own saved scenarios and the runs kept with it, as the website's delete does. It cannot be undone. Only the person who saved a scenario can delete it; projects and their
- email_report — Email a scenario's PDF report to up to 10 people with a link to the scenario, in your name (replies reach you), as the website's Share report does. Side effect: an email is sent. Confirm the addresses
- find_layers — Find Biohotspot map layers by words (e.g. 'seagrass', 'coral bleaching') among its 1,600+ world layers. Returns ids, names and categories (25 by default), and whether each can be read with get_feature
- finish_upload — Finish a file added to a project (list_project_data shows those waiting): say what it is (title, source, year, licence: cc-by, cc0, cc-by-nc, other-open, restricted or unsure; item = the data-check it
- get_features — Get a vector layer's features as GeoJSON from Biohotspot's OGC API, optionally inside a bounding box [west, south, east, north]; up to `limit` features (500 by default, 5,000 at most). Give an id that
- get_habitat — Get one habitat across Australia's marine parks, as its Biohotspot page shows it: the parks that hold it with their figures, sources and the page's address. Give its id from list_habitats or part of i
- get_layer_years — How many features of a world map layer fall in each year (for layers with dates, such as sightings or bleaching surveys): the series the map's year slider draws. Give a find_layers id. Read-only.
- get_marine_park — Get the facts about an Australian marine park from its Biohotspot page: area, IUCN categories and named zones (CAPAD 2024), habitats, blue carbon and pressures measured inside it, each with its source
- get_project — Get one of your projects: its area's bounding box and size, its data check (each data type covered, partial or missing, with the best layer found) and your role. full=true adds the boundary as GeoJSON
- list_habitats — List the habitats Biohotspot measures across Australia's marine parks (mangroves, the modelled kelp forest biome and tidal marshes, for now): each one's id, name, how many parks hold it and whether it
- list_project_data — List the data a project's team added, with each file's status (receiving, checked, ready, failed). Read-only.
- list_projects — List your Biohotspot projects and the ones shared with you: name, area, your role and how complete their data is. Read-only.
- list_public_projects — List Biohotspot's public projects, the worked examples first: name, area and how complete their data is, and whether each is already in your list. Read-only.
- list_scenarios — List the scenarios saved by you and by the teams of your projects (or one project's, with project_id): name, project, who saved it and its last run's headline numbers. Read-only.
- load_public_project — Add a public project (list_public_projects) to your list, view only, to look at and plan in it. Side effect: it appears in your project list; nothing else changes.
- look_here — List every Biohotspot map layer with data within `km` of a point on the sea (a place being studied, not the user's location): habitats, wildlife, human uses, protected areas and world ocean maps, with
- look_in_area — List every Biohotspot map layer with data inside a polygon on the sea, with its nearest few items each. Read-only. Give `layer` (an id from the answer) for that layer in full.
- look_in_project_data — What a project team's own data (their accepted uploads) holds at a point on the sea within `km` (default 1), or inside a polygon: per upload, how many features are there and a few of their names, or a
- make_report — Make a PDF report and get a link to it, good for a day: give project_id for the project's data report (what data covers the area, what is missing, the team's files and scenarios) or scenario_id for a
- read_paper — Read a research library document's text, page by page (pages `from_page` to `to_page`, at most 30 at once; default the first 5). Give a document id from search_papers. Documents without a PDF in the l
- remove_project_from_list — Take a project off your list: a public project you loaded, or a project shared with you, which you then leave (its team must add you again for you to see its team-only data). Your own projects cannot
- run_scenario — Run Marxan for one of your saved scenarios with its saved settings (any setting given here replaces the saved one for this run) and keep the run with the scenario, as the website does. Takes a few sec
- save_scenario — Save a scenario in one of your projects, where its team sees it on the website: a name, an area (a GeoJSON polygon, optional) and Marxan settings that run_scenario then uses. Side effect: adds a scena
- search_papers — Search Biohotspot's research library (more than 5,200 papers and reports on coasts and marine habitats) for the words; returns titles, years and DOI links where known (10 by default, 50 at most). Read
- share_project — Share one of your projects with a person by email, as an editor or a viewer: Biohotspot emails them a link in your name. Side effect: an email is sent and they join the project's team. Only adds peopl
- simulate — Run the Marxan optimiser on Biohotspot's planning data (Exmouth Gulf, Western Australia, for now): the cheapest set of planning squares that meets every habitat target. `polygon` protects the squares
- understand_area — Check an area against its protection targets: which habitats it holds, how much of each, what is already protected, and how far each habitat is from its target. Give a polygon, or a point and radius_k
- update_project — Rename one of your projects or replace its area (a GeoJSON polygon; the data check runs again). Overwrites the old name or area. Needs owner or editor rights; who can see the project is changed on the