Skip to content

Commit

Permalink
quote URL and fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Apr 2, 2024
1 parent 0e89ab1 commit 5606d01
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions notebooks/usage_guide.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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, 10 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%29|\n",
"| nodeid| Fixnum| Node UUID.|\n",
"| startdate| String| Start date YYYY-MM-DD|\n",
"| enddate| String | End date YYYY-MM-DD|\n",
Expand Down Expand Up @@ -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, 10 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%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",
Expand Down Expand Up @@ -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, 10 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%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",
Expand Down Expand Up @@ -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, 10 20, 20 40, 40 40, 30.1 10.1)) would be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%29. Geometry, formatted as WKT or GeoHash.|\n",
"| nodeid|Fixnum| Node UUID.|\n",
"| startdate|Fixnum| Start date|\n",
"| enddate|Boolean| End date|\n",
Expand Down Expand Up @@ -4817,7 +4817,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.12.2"
},
"vscode": {
"interpreter": {
Expand Down
4 changes: 2 additions & 2 deletions pyobis/checklist/checklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def list(
:param 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))
Example of a polygon: (30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1) would
be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%29
:param nodeid: [Fixnum] Node UUID.
:param startdate: [String] Start date YYYY-MM-DD
:param enddate: [String] End date YYYY-MM-DD
Expand Down
4 changes: 2 additions & 2 deletions pyobis/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def search(
:param 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
Example of a polygon: ((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1)) would
be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%29. Geometry, formatted as WKT or
GeoHash.
:param nodeid: [Fixnum] Node UUID.
:param startdate: [Fixnum] Start date
Expand Down
4 changes: 2 additions & 2 deletions pyobis/occurrences/occurrences.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ def search(
:param 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))
Example of a polygon: ((30.1 10.1, 10 20, 20 40, 40 40, 30.1 10.1)) would
be queried as https://api.gbif.org/v1/occurrence/search?geometry=POLYGON%28%2830.1+10.1%2C+10+20%2C+20+40%2C+40+40%2C+30.1+10.1%29%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
Expand Down

0 comments on commit 5606d01

Please sign in to comment.