diff --git a/notebooks/usage_guide.ipynb b/notebooks/usage_guide.ipynb index d67ca6d1..ed54e012 100644 --- a/notebooks/usage_guide.ipynb +++ b/notebooks/usage_guide.ipynb @@ -2598,7 +2598,7 @@ "| --------------- | --------- | ------------------------ |\n", "| scientificname | String, Array| One or more scientific names from the OBIS backbone. All included and synonym taxa are included in the search. Leave empty to include all taxa. |\n", "|taxonid| Fixnum| A obis occurrence identifier|\n", - "| geometry| String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1))|\n", + "| geometry| String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29)|\n", "| nodeid| Fixnum| Node UUID.|\n", "| startdate| String| Start date YYYY-MM-DD|\n", "| enddate| String | End date YYYY-MM-DD|\n", @@ -2850,7 +2850,7 @@ "| scientificname | String, Array| One or more scientific names from the OBIS backbone. All included and synonym taxa are included in the search. Leave empty to include all taxa. |\n", "|taxonid| Fixnum| A obis occurrence identifier|\n", "| nodeid| Fixnum| Node UUID.|\n", - "| geometry| String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1))|\n", + "| geometry| String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29)|\n", "| startdate| String| Start date YYYY-MM-DD|\n", "| enddate| String | End date YYYY-MM-DD|\n", "| startdepth| Fixnum| Start depth, in meters. Depth below sea level are treated as positive numbers.|\n", @@ -3090,7 +3090,7 @@ "| scientificname | String, Array| One or more scientific names from the OBIS backbone. All included and synonym taxa are included in the search. Leave empty to include all taxa. |\n", "|taxonid| Fixnum| A obis occurrence identifier|\n", "| nodeid| Fixnum| Node UUID.|\n", - "| geometry| String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1))|\n", + "| geometry| String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29)|\n", "| startdate| String| Start date YYYY-MM-DD|\n", "| enddate| String | End date YYYY-MM-DD|\n", "| startdepth| Fixnum| Start depth, in meters. Depth below sea level are treated as positive numbers.|\n", @@ -3344,7 +3344,7 @@ "|taxonid|Fixnum| A obis Taxon AphiaID.|\n", "| scientificname|String, Array| One or more scientific names from the OBIS backbone. All included and synonym taxa are included in the search.|\n", "| year|Fixnum| The 4 digit year. A year of 98 will be interpreted as AD 98. Supports range queries, smaller,larger (e.g., '1990,1991', whereas '1991,1990' wouldn't work)|\n", - "| geometry|String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1)). Geometry, formatted as WKT or GeoHash.|\n", + "| geometry|String| Well Known Text (WKT). A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29). Geometry, formatted as WKT or GeoHash.|\n", "| nodeid|Fixnum| Node UUID.|\n", "| startdate|Fixnum| Start date|\n", "| enddate|Boolean| End date|\n", @@ -4817,7 +4817,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.8" + "version": "3.12.2" }, "vscode": { "interpreter": { diff --git a/pyobis/checklist/checklist.py b/pyobis/checklist/checklist.py index 2fefb16f..5e14234d 100644 --- a/pyobis/checklist/checklist.py +++ b/pyobis/checklist/checklist.py @@ -133,7 +133,7 @@ def list( either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would - be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1)) + be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29) :param nodeid: [Fixnum] Node UUID. :param startdate: [String] Start date YYYY-MM-DD :param enddate: [String] End date YYYY-MM-DD diff --git a/pyobis/dataset/dataset.py b/pyobis/dataset/dataset.py index 0da2d10a..eeffa5dd 100644 --- a/pyobis/dataset/dataset.py +++ b/pyobis/dataset/dataset.py @@ -35,7 +35,7 @@ def search( either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would - be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1)). Geometry, formatted as WKT or + be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29). Geometry, formatted as WKT or GeoHash. :param nodeid: [Fixnum] Node UUID. :param startdate: [Fixnum] Start date diff --git a/pyobis/occurrences/occurrences.py b/pyobis/occurrences/occurrences.py index a715c0fb..64cd8cef 100644 --- a/pyobis/occurrences/occurrences.py +++ b/pyobis/occurrences/occurrences.py @@ -252,7 +252,7 @@ def search( as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would - be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1)) + be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON(%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29) :param nodeid: [String] Node UUID :param taxonid: Prev. aphiaid [Fixnum] An Aphia id. This is listed as the `worms_id` in `taxa`/`taxon` results