Issue 13172
Occurrence search needs to handle invalid coordinate range request graciously
13172
Reporter: ahahn
Assignee: fmendez
Type: Task
Summary: Occurrence search needs to handle invalid coordinate range request graciously
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-05-07 14:39:31.779
Updated: 2013-12-17 15:17:06.329
Resolved: 2013-08-16 09:20:35.39
Description: In the old web services, an occurrence search that supplies invalid coordinates returns unexpected results. Assumption: the coordinates are ignored, and the records returned only answer to the other query parameters in the request. Expected: the search should not return any results. Check that this is handled better in the new web services.
Example:
http://data.gbif.org/ws/rest/occurrence/list?basisofrecordcode=observation&format=brief&coordinatestatus=true&coordinateissues=false&maxresults=40&minlatitude=48.594148&maxlatitude=49.849768&minlongitude=235.645759&maxlongitude=237.952888
--> the longitude values are out of scope, but the query returns records from Australia, which is not in the (valid) latitude range either]]>
Author: fmendez@gbif.org
Comment: https://code.google.com/p/gbif-common-resources/source/detail?spec=svn1635&r=1587
Created: 2013-08-16 09:20:35.54
Updated: 2013-08-16 09:20:35.54