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

Aster can determine the Iris GeoTiff zip URL #27

Closed
1 task done
little9 opened this issue Apr 10, 2018 · 2 comments
Closed
1 task done

Aster can determine the Iris GeoTiff zip URL #27

little9 opened this issue Apr 10, 2018 · 2 comments

Comments

@little9
Copy link
Contributor

little9 commented Apr 10, 2018

Iris already includes the URL to the show page when you run the importer.

This is stored in the dct_refernces_t JSON as a http://schema.org/url attribute: http://iris-demo.curationexperts.com/concern/vector_works/7d278t00k

That was hidden on the Aster show page in #23

The download URL uses the FileSet id:

http://iris-demo.curationexperts.com/downloads/4j03cz64w?locale=en

This URL is correct for Shapefiles, but there will need to be a different URL for GeoTiffs.

ACCEPTANCE CRITERIA

  • Aster can determine/generate or store the Iris URL for the GeoTiff zip download
@little9
Copy link
Contributor Author

little9 commented Apr 10, 2018

This depends on curationexperts/iris#66 being completed

@val99erie
Copy link
Contributor

For story curationexperts/iris#66, I ended up editing the downloadURL in the existing dct_references_s field in the geoblacklight solr document so that the download link will be for the zip file instead of for the representative file. The downloadURL is the link that is automatically picked up by geoblacklight views, so there are no code changes needed in Aster. I'll close this story as complete.

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

No branches or pull requests

4 participants