Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

support SwissTopo STAC API #85

Open
cholmes opened this issue May 4, 2021 · 1 comment
Open

support SwissTopo STAC API #85

cholmes opened this issue May 4, 2021 · 1 comment

Comments

@cholmes
Copy link

cholmes commented May 4, 2021

Trying to add https://data.geo.admin.ch/api/stac/v0.9/ I get 'Connection Failed; http error':

Screen Shot 2021-05-04 at 10 45 01 AM

It looks to be a 0.9.0 STAC API/core, not sure what the backend is.

@volaya
Copy link

volaya commented Jul 22, 2021

If the url is added without the trailing slash, it works fine.

I made a small PR to automalically clean the URL of any trailing slash that it might have:

#87

However, after that, it shows the collection, but the search does not work. There are several issues:

  1. the server expects the datetime property (as recommended in the STAC API docs) instead of time (as the plugin does). This is fixed already in a PR that is not yet merged:

#79

  1. Even with that, the server does not process correctly the request and the search fails. It seems to be a server issue. I tried manually outside of the plugin, with well-formed searches that work on other services, and it keeps failing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants