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

Using http instead of https for download #130

Closed
KoalaGeo opened this issue Feb 1, 2024 · 1 comment · Fixed by #134
Closed

Using http instead of https for download #130

KoalaGeo opened this issue Feb 1, 2024 · 1 comment · Fixed by #134

Comments

@KoalaGeo
Copy link
Collaborator

KoalaGeo commented Feb 1, 2024

User reported getting error trying to download ags data - the spatial search download link appears to be pointing at http instead of https

image

If I copy the link it's using http://agsapi.bgs.ac.uk/ags_export_by_polygon/?polygon=POLYGON((-6.856%2052.755,-6.856%2053.126,-6.285%2053.126,-6.285%2052.755,-6.856%2052.755))

@KoalaGeo
Copy link
Collaborator Author

KoalaGeo commented Feb 1, 2024

API ags_export_by_polygon is returning self: "http://...." which is what's used to make the link in the popup.

https://agsapi.bgs.ac.uk/ags_export_by_polygon/?polygon=POLYGON((0.204%2052.029,0.203%2052.029,0.203%2052.028,0.204%2052.028,0.204%2052.028,0.204%2052.029,0.204%2052.029))&count_only=True

image

Needs fixing in the python, not the .js.

@KoalaGeo KoalaGeo mentioned this issue Mar 4, 2024
19 tasks
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

Successfully merging a pull request may close this issue.

1 participant