Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getMap on BYOC layer using WMS doesn't work #177

Open
dgostencnik opened this issue Jun 17, 2021 · 0 comments
Open

getMap on BYOC layer using WMS doesn't work #177

dgostencnik opened this issue Jun 17, 2021 · 0 comments

Comments

@dgostencnik
Copy link
Collaborator

This issue has been brought up on AM project where expert-app was using timelapse component with PlanetData without authentication.

There are 2 reasons why BYOCLayer wms getMap request doesn't work

  • BYOCLayer.getMap is always calling updateLayerFromServiceIfNeeded which requires auth
  • BYOCLayer.getShServiceHostname() requires locationId which can be only be obtained from collection metadata which requires auth

I think updateLayerFromServiceIfNeeded could be ommited for non-authenticated WMS requests and some sort of default location based on serviceUrl could be provided.

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

No branches or pull requests

1 participant