[API-users] MULTIPOLYGON support appears to be gone?

Tim Robertson trobertson at gbif.org
Wed Oct 5 22:26:25 CEST 2016


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<mailto:api-users-bounces at lists.gbif.org>> on behalf of Scott Chamberlain <myrmecocystus at gmail.com<mailto:myrmecocystus at gmail.com>>
Date: Wednesday 5 October 2016 at 21:32
To: "api-users at lists.gbif.org<mailto:api-users at lists.gbif.org>" <api-users at lists.gbif.org<mailto: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<http://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/62ef5f2d/attachment.html>


More information about the API-users mailing list