Issue 19201

geometry parameter to occurrence search API may not be working in some cases

19201
Reporter: scott
Type: Bug
Summary: geometry parameter to occurrence search API may not be working in some cases
Priority: Unassessed
Status: Open
Created: 2018-05-24 02:58:58.633
Updated: 2018-05-30 18:25:45.116
        
Description: Users of rgbif have been reporting problems with geometry parameter in /occurrence route not working sometimes. It does indeed appear to work sometimes, but other times, it appears I think to be using latitude, but ignoring longitude. It's hard to give reproducible examples for command line or so, but here's a query where the longitude values appear to be all over the map, whereas latitude appear to be in the bounds.

https://api.gbif.org/v1/occurrence/search?limit=300&offset=0&geometry=POLYGON%28%28-0.1%2050.0%2C14.3%2050.0%2C14.3%2042.5%2C-0.1%2042.5%2C-0.1%2050.0%29%29&

using hasGeospatialIssue doesn't appear to help so I'm guessing there could be user error on my part or perhaps something going on with geometry WKT usage?

https://github.com/ropensci/spocc/issues/187 and https://github.com/ropensci/rgbif/issues/303]]>
    


Author: scott
Comment: Curious if this is a problem on the GBIF side or user error?
Created: 2018-05-30 18:25:45.116
Updated: 2018-05-30 18:25:45.116