Hi,

Thanks Tim!  Nevermind, false alarm.  it seems the http client library i'm
using was hacking up the URL for some reason.

Best, Scott

On Wed, Oct 5, 2016 at 1:26 PM Tim Robertson <trobertson at gbif.org> wrote:

> Hi Scott,
>
> Is that a typo in your message? The example you provide is missing  ))) at
> the end of the URL.  When you add it, it works, but returns no results
> which seems plausible.
>
>
> http://api.gbif.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020,%2045%2040,%2010%2040,%2030%2020)),((15%205,%2040%2010,%2010%2020,%205%2010,%2015%205)))
>
> http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020,%2045%2040,%2010%2040,%2030%2020)),((15%205,%2040%2010,%2010%2020,%205%2010,%2015%205)))
>
> Thanks,
> Tim
>
>
> From: API-users <api-users-bounces at lists.gbif.org> on behalf of Scott
> Chamberlain <myrmecocystus at gmail.com>
> Date: Wednesday 5 October 2016 at 21:32
> To: "api-users at lists.gbif.org" <api-users at lists.gbif.org>
> Subject: [API-users] MULTIPOLYGON support appears to be gone?
>
> Hi all,
>
> It appears that MULTIPOLYGON is rejected again now. E.g.,
>
>
> http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020,%2045%2040,%2010%2040,%2030%2020)),((15%205,%2040%2010,%2010%2020,%205%2010,%2015%205
> gives
>
> Invalid simple WKT: MULTIPOLYGON(((30 20, 45 40, 10 40, 30 20)),((15 5, 40
> 10, 10 20, 5 10, 15 5
>
> And same for api.gbif.org base URL. Did support for MULTIPOLYGON get
> reverted?
>
> Thanks! Scott Chamberlain
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.gbif.org/pipermail/api-users/attachments/20161005/cc0be844/attachment.html>

Reply via email to