From 2cbb794602c529822a6dcffedb7dc40a634ad56a Mon Sep 17 00:00:00 2001 From: Nick Budak Date: Tue, 16 Jan 2024 12:51:31 -0800 Subject: [PATCH] Add a link to geoblacklight references for ISO19110 XML Closes #1300 --- lib/traject/config/geo_config.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/traject/config/geo_config.rb b/lib/traject/config/geo_config.rb index f61734882..ccaaa18bd 100644 --- a/lib/traject/config/geo_config.rb +++ b/lib/traject/config/geo_config.rb @@ -312,7 +312,8 @@ def geoserver_url(record) if formats.include?('Shapefile') references.merge!( { - 'http://www.opengis.net/def/serviceType/ogc/wfs' => "#{geoserver_url(record)}/wfs" + 'http://www.opengis.net/def/serviceType/ogc/wfs' => "#{geoserver_url(record)}/wfs", + 'http://www.isotc211.org/schemas/2005/gco/' => "https://raw.githubusercontent.com/OpenGeoMetadata/edu.stanford.purl/master/#{record.druid_tree}/iso19110.xml" } ) elsif formats.include?('GeoTIFF') || formats.include?('ArcGRID')