<div dir="ltr">Hi Tim, <br><br>Thanks for the quick response.  Advanced users could do this themselves, but many of our users probably won't know how to do this, but we could try to make this easier for users by taking care of this problem when WKT strings are too long. I'll see how it goes...<div><br></div><div>Scott</div></div><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 12:22 AM Tim Robertson <<a href="mailto:trobertson@gbif.org">trobertson@gbif.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Scott,<br>
<br>
My first thoughts are that even if we got it across the wire (using GET or POST) I would expect that the front ends will time out long before the SOLR index computed the query.<br>
I would recommend doing a bounding box search on GBIF, and then using geometry functions in R to "cookie cutter” the result set to the fine polygon.<br>
<br>
Is that something you think would be manageable?<br>
<br>
Cheers,<br>
Tim<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 31 Mar 2015, at 00:11, Scott Chamberlain <<a href="mailto:myrmecocystus@gmail.com" target="_blank">myrmecocystus@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> Any known way to get around the URI string length for GET requests to the `/occurrence/search` endpoint? E.g., are POST requests supported for passing in parameters?  I ask because a user of an R client I work on wants to pass in a polygon that is 40K characters long.  Of course precision could be reduced, so the string is shorter, but that doesn't seem ideal. Also not ideal is converting to a bounding box approach that approximates the polygon, then converting that to WKT. Any thoughts?<br>
><br>
> I know it's not standard, but maybe you allow body to be passed to a GET request for `/occurrence/search`?<br>
><br>
> Thanks! Scott<br>
> ______________________________<u></u>_________________<br>
> API-users mailing list<br>
> <a href="mailto:API-users@lists.gbif.org" target="_blank">API-users@lists.gbif.org</a><br>
> <a href="http://lists.gbif.org/mailman/listinfo/api-users" target="_blank">http://lists.gbif.org/mailman/<u></u>listinfo/api-users</a><br>
<br>
</blockquote></div>