Skip to content

Commit

Permalink
Merge pull request #119 from BritishGeologicalSurvey/export-gui
Browse files Browse the repository at this point in the history
Add ags download link to map popup & update landing page.
  • Loading branch information
KoalaGeo authored Jul 6, 2023
2 parents 67ba993 + 7cc4c3c commit bdd5a32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ var agsboreholes = L.featureGroup
"<b>Project Engineer: </b>" + properties.proj_eng + "<br>" +
"<b>Project Contractor: </b>" + properties.proj_cont + "<br>" +
"<b>Original LOCA ID: </b>" + properties.loca_id + "<br>" +
"<b>AGS Graphical Log: </b>" + "<a href=" + "https://agsapi.bgs.ac.uk/ags_log/?bgs_loca_id=" + properties.bgs_loca_id + " target=" + "_blank" + ">View</a> / " +"<a href=" + "https://agsapi.bgs.ac.uk/ags_log/?bgs_loca_id=" + properties.bgs_loca_id + "&response_type=attachment" + ">Download</a>" + "<br>" +
// "<b>AGS Data: </b>" + "<a href=" + "https://agsapi.bgs.ac.uk/ags_export/?bgs_loca_id=" + properties.bgs_loca_id + " target=" + "_blank" + ">Download</a>" + "<br>" +
"<b>AGS Graphical Log: </b>" + "<a href=" + "/ags_log/?bgs_loca_id=" + properties.bgs_loca_id + " target=" + "_blank" + ">View</a> / " +"<a href=" + "/ags_log/?bgs_loca_id=" + properties.bgs_loca_id + "&response_type=attachment" + ">Download</a>" + "<br>" +
"<b>AGS Data (NGDC Download Service): </b>" + "<a href=" + "/ags_export/?bgs_loca_id=" + properties.bgs_loca_id + " target=" + "_blank" + ">Download</a>" + "<br>" +
"<b>AGS Submission Record (raw data): </b>" + "<a href=" + properties.dad_item_url + " target=" + "_blank" + ">View</a>" + "<br>";
layer.bindPopup(popupContent);
},
Expand Down
2 changes: 1 addition & 1 deletion app/templates/landing_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h4>Future data validation rules: (Coming Soon)</h4>
<section id="ags_data">
<h2>AGS Data Discovery</h2>
<br>
<p>Use the map below to find AGS data, click on the markers to find borehole information, links to graphical logs and the original submitted data.</p>
<p>Use the map below to find AGS data, click on the markers to find borehole information, links to graphical logs, <a href="https://www.bgs.ac.uk/technologies/geotechnical-data-services/ags-download-service/">.ags data download from the NGDC AGS database,</a> and the original submitted AGS data.</p>
<p><b>The map will show a maximum of 100 AGS markers - users may need to pan/zoom to display markers of interest. </b></p>
<p><b>If no AGS Submission Record is shown at the link provided there is likely a legacy confidentiality restriction.</b></p>
<br>
Expand Down

0 comments on commit bdd5a32

Please sign in to comment.