Hi!
When searching for occurrences by geometry I am using the following WKT polygon:
POLYGON((116.71875 55.7765730186677,116.71875 90,87.1875 90,87.1875 55.7765730186677,116.71875 55.7765730186677))
This polygon is intended to cover parts of eastern Russia, Alaska, northern Canada and Greenland. For some reason, the GBIF results include the inverted longitudinal selection.
Does GBIF support dateline wrapping for it’s spatial queries? If so, how should I form the geometry to capture this?
thx, -jorrit
PS1 Is there a github issue list than I can post this at?
PS2 For context, please see a working prototype at: http://www.effechecka.org/#geometry=POLYGON%28%28116.71875%2055.776573018667...
Jorrit, I checked your query and seems that the polygon is being interpreted a bit different in your prototype, you can see an example of your query at this url: http://www.gbif.org/occurrence/search?GEOMETRY=116.71875%2055.7765730186677,... http://www.gbif.org/occurrence/search?GEOMETRY=116.71875%2055.7765730186677,116.71875%2090,87.1875%2090,87.1875%2055.7765730186677,116.71875%2055.7765730186677 which is equivalent to this API call: http://api.gbif.org/v1/occurrence/search?GEOMETRY=POLYGON%28%28116.71875%205... http://api.gbif.org/v1/occurrence/search?GEOMETRY=POLYGON((116.71875%2055.7765730186677,116.71875%2090,87.1875%2090,87.1875%2055.7765730186677,116.71875%2055.7765730186677))
If you checked the first link you can see that the polygon looks different to the polygon in your prototype, can you validate that your prototype is drawing the polygon correctly?
Answering your questions: 1. Dateline crossing is supported by the search api
PS1 Is there a github issue list than I can post this at?
2. Yes, you can use the “feedback” (right side of the screen) in the gif portal http://www.gbif.org/ or you can sign-up to our JIRA http://dev.gbif.org/issues/login.jsp http://dev.gbif.org/issues/login.jsp
Federico Mendez GBIF-Developer
PS2 For context, please see a working prototype at: http://www.effechecka.org/#geometry=POLYGON%28%28116.71875%2055.776573018667...
participants (2)
-
Federico Mendez [GBIF]
-
jorrit poelen