aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 14 forks source link

Python Downloads not available for all collections #2374

Closed kereid closed 8 years ago

kereid commented 8 years ago

Steps to reproduce:

Add Bio-Acoustic ships of opportunity or AusCPR phytoplankton database to the map. Proceed to step three and look at drop down

What happens: There is not an option to download a python script

What should happen: There should be a python download option? I'm not 100% certain on this that there should be a download for python for all collections, but I can't recall not seeing it for any collections but that's not to say that it hasn't been there before.

Can someone please confirm if this is actually an issue or if that particular download option needs to be set up for each collection and just hasn't been done?

jonescc commented 8 years ago

Apparently the python download option will only be shown for a collection with an online resource in the metadata containing 'OGC:WFS-1.0.0-http-get-capabilities'. So this would be a content issue.

I'm not sure this is the best way to indicate that a python download option should be made available. Its a misuse of this protocol. But its probably not a bug , more a need to rethink this feature.

jonescc commented 8 years ago

I think we are moving to a list of files protocol - so we should probably enable python download options, list of files and files download options whenever that protocol is used instead of specifying them all separately.

jonescc commented 8 years ago

Actually, python download should be made available for wfs downloads not file lists - so this looks OK. Working as designed as wfs download does not apply to this collection.

jonescc commented 8 years ago

This is a content issue as the wfs download option has not been specified for these colletions