From 31b862ed69877267a23b9c2562baa46266e225a7 Mon Sep 17 00:00:00 2001 From: Nick Budak Date: Thu, 29 Aug 2024 13:08:53 -0700 Subject: [PATCH] Ensure only items with a druid are linked in dc_source_sm Part of #1514 --- lib/traject/config/geo_aardvark_config.rb | 8 +- spec/fixtures/files/yx324nv8969.json | 543 +++++++++++++++++++ spec/fixtures/files/yx324nv8969.meta_json | 5 + spec/integration/geo_aardvark_config_spec.rb | 8 + 4 files changed, 561 insertions(+), 3 deletions(-) create mode 100644 spec/fixtures/files/yx324nv8969.json create mode 100644 spec/fixtures/files/yx324nv8969.meta_json diff --git a/lib/traject/config/geo_aardvark_config.rb b/lib/traject/config/geo_aardvark_config.rb index e8dc5ac3..20e825d4 100644 --- a/lib/traject/config/geo_aardvark_config.rb +++ b/lib/traject/config/geo_aardvark_config.rb @@ -239,11 +239,13 @@ def log_skip(context) to_field 'pcdm_memberOf_sm', cocina_structural('isMemberOf'), gsub('druid:', 'stanford-') # https://opengeometadata.org/ogm-aardvark/#source -# - links items that were georeferenced to their original version +# - links items that were georeferenced to their original version, if it is in SDR +# - extracts the druid from the purl URL and uses it to construct an EarthWorks URL to_field 'dct_source_sm', cocina_descriptive('relatedResource'), select_type('has other format'), select(->(res) { res['displayLabel'] == 'Scanned map' }), - transform(->(res) { res.fetch('identifier', []).dig(0, 'value') }), - transform(->(purl) { "stanford-#{purl.split('/').last}" if purl }) + transform(->(res) { res.fetch('identifier', []).dig(0, 'value')&.split('/')&.last }), + select(->(id) { id.match?(/[a-z]{2}\d{3}[a-z]{2}\d{4}/) if id }), + transform(->(druid) { "stanford-#{druid.split('/').last}" if druid }) # https://opengeometadata.org/ogm-aardvark/#rights_1 to_field 'dct_rights_sm', cocina_access('useAndReproductionStatement') diff --git a/spec/fixtures/files/yx324nv8969.json b/spec/fixtures/files/yx324nv8969.json new file mode 100644 index 00000000..7418d73b --- /dev/null +++ b/spec/fixtures/files/yx324nv8969.json @@ -0,0 +1,543 @@ +{ + "cocinaVersion": "0.95.0", + "type": "https://cocina.sul.stanford.edu/models/geo", + "externalIdentifier": "druid:yx324nv8969", + "label": "Beiping Shi zui xin xiang xi quan tu (Raster Image)", + "version": 9, + "access": { + "view": "world", + "download": "world", + "controlledDigitalLending": false + }, + "administrative": { "hasAdminPolicy": "druid:sq797nc3050" }, + "description": { + "title": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Beiping Shi zui xin xiang xi quan tu (Raster Image)", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "contributor": [ + { + "name": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Rumsey, David, 1944-", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "type": "person", + "role": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "creator", + "identifier": [], + "source": { "code": "marcrelator", "note": [] }, + "note": [], + "appliesTo": [] + } + ], + "identifier": [], + "note": [], + "parallelContributor": [] + } + ], + "event": [ + { + "structuredValue": [], + "date": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "2015", + "type": "publication", + "status": "primary", + "encoding": { "code": "w3cdtf", "note": [] }, + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "contributor": [ + { + "name": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Cartography Associates", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "type": "organization", + "role": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "publisher", + "code": "pbl", + "uri": "http://id.loc.gov/vocabulary/relators/pbl", + "identifier": [], + "source": { + "code": "marcrelator", + "uri": "http://id.loc.gov/vocabulary/relators/", + "note": [] + }, + "note": [], + "appliesTo": [] + } + ], + "identifier": [], + "note": [], + "parallelContributor": [] + } + ], + "location": [], + "identifier": [], + "note": [], + "parallelEvent": [] + } + ], + "form": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Geospatial data", + "type": "genre", + "uri": "http://id.loc.gov/authorities/genreForms/gf2011026297", + "identifier": [], + "source": { "code": "lcgft", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "cartographic dataset", + "type": "genre", + "uri": "http://rdvocab.info/termList/RDAContentType/1001", + "identifier": [], + "source": { "code": "rdacontent", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "cartographic", + "type": "resource type", + "identifier": [], + "source": { "value": "MODS resource types", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "software, multimedia", + "type": "resource type", + "identifier": [], + "source": { "value": "MODS resource types", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "born digital", + "type": "digital origin", + "identifier": [], + "source": { "value": "MODS digital origin terms", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Dataset", + "type": "genre", + "identifier": [], + "source": { "value": "local", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Raster Dataset", + "type": "form", + "identifier": [], + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "EPSG::4326", + "type": "map projection", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "geographic": [ + { + "form": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "image/tiff", + "type": "media type", + "identifier": [], + "source": { "value": "IANA media type terms", "note": [] }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "GeoTIFF", + "type": "data format", + "identifier": [], + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Dataset#Raster", + "type": "type", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "subject": [ + { + "structuredValue": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "116.340598", + "type": "west", + "identifier": [], + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "39.8577025", + "type": "south", + "identifier": [], + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "116.444408", + "type": "east", + "identifier": [], + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "39.9674625", + "type": "north", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "parallelValue": [], + "groupedValue": [], + "type": "bounding box coordinates", + "standard": { "code": "EPSG:4326", "note": [] }, + "encoding": { "value": "decimal", "note": [] }, + "identifier": [], + "note": [], + "appliesTo": [] + } + ] + } + ], + "language": [ + { + "appliesTo": [], + "code": "eng", + "groupedValue": [], + "note": [], + "parallelValue": [], + "source": { "code": "ISO639-2", "note": [] }, + "structuredValue": [] + } + ], + "note": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "This layer is a georeferenced image of a detailed map of Beijing showing the Imperial City, the Forbidden City, and the Temple of Heaven. The original map and this scanned image are from the Library of Congress, Geography and Map Division. The georectifed map image was created as part of the David Rumsey Map Collection. ", + "type": "abstract", + "identifier": [], + "displayLabel": "Abstract", + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "The historic map layers in the Google Earth Rumsey Map Collection have been selected by David Rumsey from his large collection of historical maps, as well as some from other collections with which he collaborates. All the maps contain rich information about the past and represent a sampling of time periods, scales, and cartographic art, resulting in visual history stories that only old maps can tell. Each map has been georeferenced by Rumsey, thus creating unique digital map images that allow the old maps to appear in their correct places on the modern globe. Some of the maps fit perfectly in their modern spaces, while othersgenerally earlier period mapsreveal interesting geographical misconceptions of their time. Cultural features on the maps can be compared to the modern satellite views using the slider bars to adjust transparency. The result is an exploration of time as well as space, a marriage of historic cartographic masterpieces with innovative contemporary software tools.", + "type": "other", + "identifier": [], + "displayLabel": "Purpose", + "note": [], + "appliesTo": [] + } + ], + "identifier": [], + "subject": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Beijing (China)", + "type": "place", + "uri": "http://sws.geonames.org/1816670/", + "identifier": [], + "source": { + "code": "geonames", + "uri": "http://www.geonames.org/ontology#", + "note": [] + }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Historical geography", + "type": "topic", + "identifier": [], + "source": { + "code": "lcsh", + "uri": "http://id.loc.gov/authorities/subjects.html", + "note": [] + }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Imagery and Base Maps", + "type": "topic", + "uri": "imageryBaseMapsEarthCover", + "identifier": [], + "source": { + "code": "ISO19115TopicCategory", + "uri": "http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_TopicCategoryCode", + "note": [] + }, + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "1930", + "type": "time", + "encoding": { "code": "w3cdtf", "note": [] }, + "identifier": [], + "note": [], + "appliesTo": [] + }, + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "E 116°20ʹ26ʺ--E 116°26ʹ40ʺ/N 39°58ʹ3ʺ--N 39°51ʹ28ʺ", + "type": "map coordinates", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "access": { + "url": [], + "physicalLocation": [], + "digitalLocation": [], + "accessContact": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "brannerlibrary@stanford.edu", + "type": "email", + "identifier": [], + "displayLabel": "Contact", + "note": [], + "appliesTo": [] + } + ], + "digitalRepository": [], + "note": [] + }, + "relatedResource": [ + { + "type": "has other format", + "displayLabel": "Scanned map", + "title": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Map of Beijing, 1930", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "contributor": [], + "event": [], + "form": [], + "language": [], + "note": [], + "identifier": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "http://www.davidrumsey.com/xmaps10007.html", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "subject": [], + "relatedResource": [] + } + ], + "marcEncodedData": [], + "adminMetadata": { + "contributor": [ + { + "name": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "Stanford", + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "role": [], + "identifier": [], + "note": [], + "parallelContributor": [] + } + ], + "event": [ + { + "structuredValue": [], + "type": "creation", + "date": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "2018-01-27", + "encoding": { "code": "w3cdtf", "note": [] }, + "identifier": [], + "note": [], + "appliesTo": [] + } + ], + "contributor": [], + "location": [], + "identifier": [], + "note": [], + "parallelEvent": [] + } + ], + "language": [ + { + "appliesTo": [], + "code": "eng", + "groupedValue": [], + "note": [], + "parallelValue": [], + "source": { "code": "ISO639-2", "note": [] }, + "structuredValue": [] + } + ], + "note": [], + "metadataStandard": [], + "identifier": [ + { + "structuredValue": [], + "parallelValue": [], + "groupedValue": [], + "value": "edu.stanford.purl:yx324nv8969", + "identifier": [], + "note": [], + "appliesTo": [] + } + ] + }, + "purl": "https://sul-purl-stage.stanford.edu/yx324nv8969" + }, + "identification": { + "catalogLinks": [], + "sourceId": "branner:RumseyGIS_g3ct001947.tif" + }, + "structural": { + "contains": [], + "hasMemberOrders": [], + "isMemberOf": ["druid:ck106pr3273"] + }, + "geographic": { + "iso19139": "\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003crdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\u003e\n \u003crdf:Description rdf:about=\"https://sul-purl-stage.stanford.edu/yx324nv8969\"\u003e\n \u003cMD_Metadata xmlns=\"http://www.isotc211.org/2005/gmd\" xmlns:gco=\"http://www.isotc211.org/2005/gco\" xmlns:gts=\"http://www.isotc211.org/2005/gts\" xmlns:srv=\"http://www.isotc211.org/2005/srv\" xmlns:gml=\"http://www.opengis.net/gml\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\u003e\n \u003cfileIdentifier\u003e\n \u003cgco:CharacterString\u003eedu.stanford.purl:yx324nv8969\u003c/gco:CharacterString\u003e\n \u003c/fileIdentifier\u003e\n \u003clanguage\u003e\n \u003cLanguageCode codeList=\"http://www.loc.gov/standards/iso639-2/php/code_list.php\" codeListValue=\"eng\" codeSpace=\"ISO639-2\"\u003eeng\u003c/LanguageCode\u003e\n \u003c/language\u003e\n \u003ccharacterSet\u003e\n \u003cMD_CharacterSetCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode\" codeListValue=\"utf8\" codeSpace=\"ISOTC211/19115\"\u003eutf8\u003c/MD_CharacterSetCode\u003e\n \u003c/characterSet\u003e\n \u003cparentIdentifier\u003e\n \u003cgco:CharacterString\u003ehttp://purl.stanford.edu/xh235dd9059.mods\u003c/gco:CharacterString\u003e\n \u003c/parentIdentifier\u003e\n \u003chierarchyLevel\u003e\n \u003cMD_ScopeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode\" codeListValue=\"dataset\" codeSpace=\"ISOTC211/19115\"\u003edataset\u003c/MD_ScopeCode\u003e\n \u003c/hierarchyLevel\u003e\n \u003chierarchyLevelName\u003e\n \u003cgco:CharacterString\u003edataset\u003c/gco:CharacterString\u003e\n \u003c/hierarchyLevelName\u003e\n \u003ccontact\u003e\n \u003cCI_ResponsibleParty\u003e\n \u003corganisationName\u003e\n \u003cgco:CharacterString\u003eStanford Geospatial Center\u003c/gco:CharacterString\u003e\n \u003c/organisationName\u003e\n \u003ccontactInfo\u003e\n \u003cCI_Contact\u003e\n \u003cphone\u003e\n \u003cCI_Telephone\u003e\n \u003cvoice\u003e\n \u003cgco:CharacterString\u003e650-723-2746\u003c/gco:CharacterString\u003e\n \u003c/voice\u003e\n \u003c/CI_Telephone\u003e\n \u003c/phone\u003e\n \u003caddress\u003e\n \u003cCI_Address\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eMitchell Bldg. 2nd floor\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003e397 Panama Mall\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003ccity\u003e\n \u003cgco:CharacterString\u003eStanford\u003c/gco:CharacterString\u003e\n \u003c/city\u003e\n \u003cadministrativeArea\u003e\n \u003cgco:CharacterString\u003eCalifornia\u003c/gco:CharacterString\u003e\n \u003c/administrativeArea\u003e\n \u003cpostalCode\u003e\n \u003cgco:CharacterString\u003e94305\u003c/gco:CharacterString\u003e\n \u003c/postalCode\u003e\n \u003ccountry\u003e\n \u003cgco:CharacterString\u003eUS\u003c/gco:CharacterString\u003e\n \u003c/country\u003e\n \u003celectronicMailAddress\u003e\n \u003cgco:CharacterString\u003ebrannerlibrary@stanford.edu\u003c/gco:CharacterString\u003e\n \u003c/electronicMailAddress\u003e\n \u003c/CI_Address\u003e\n \u003c/address\u003e\n \u003c/CI_Contact\u003e\n \u003c/contactInfo\u003e\n \u003crole\u003e\n \u003cCI_RoleCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode\" codeListValue=\"pointOfContact\" codeSpace=\"ISOTC211/19115\"\u003epointOfContact\u003c/CI_RoleCode\u003e\n \u003c/role\u003e\n \u003c/CI_ResponsibleParty\u003e\n \u003c/contact\u003e\n \u003cdateStamp\u003e\n \u003cgco:Date\u003e2018-01-27\u003c/gco:Date\u003e\n \u003c/dateStamp\u003e\n \u003cmetadataStandardName\u003e\n \u003cgco:CharacterString\u003eISO 19139 Geographic Information - Metadata - Implementation Specification\u003c/gco:CharacterString\u003e\n \u003c/metadataStandardName\u003e\n \u003cmetadataStandardVersion\u003e\n \u003cgco:CharacterString\u003e2007\u003c/gco:CharacterString\u003e\n \u003c/metadataStandardVersion\u003e\n \u003cdataSetURI\u003e\n \u003cgco:CharacterString\u003ehttp://purl.stanford.edu/yx324nv8969\u003c/gco:CharacterString\u003e\n \u003c/dataSetURI\u003e\n \u003cspatialRepresentationInfo\u003e\n \u003cMD_Georectified\u003e\n \u003cnumberOfDimensions\u003e\n \u003cgco:Integer\u003e2\u003c/gco:Integer\u003e\n \u003c/numberOfDimensions\u003e\n \u003caxisDimensionProperties\u003e\n \u003cMD_Dimension\u003e\n \u003cdimensionName\u003e\n \u003cMD_DimensionNameTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode\" codeListValue=\"column\" codeSpace=\"ISOTC211/19115\"\u003ecolumn\u003c/MD_DimensionNameTypeCode\u003e\n \u003c/dimensionName\u003e\n \u003cdimensionSize\u003e\n \u003cgco:Integer\u003e7415\u003c/gco:Integer\u003e\n \u003c/dimensionSize\u003e\n \u003cresolution\u003e\n \u003cgco:Measure uom=\"deg\"\u003e0.000014\u003c/gco:Measure\u003e\n \u003c/resolution\u003e\n \u003c/MD_Dimension\u003e\n \u003c/axisDimensionProperties\u003e\n \u003caxisDimensionProperties\u003e\n \u003cMD_Dimension\u003e\n \u003cdimensionName\u003e\n \u003cMD_DimensionNameTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode\" codeListValue=\"row\" codeSpace=\"ISOTC211/19115\"\u003erow\u003c/MD_DimensionNameTypeCode\u003e\n \u003c/dimensionName\u003e\n \u003cdimensionSize\u003e\n \u003cgco:Integer\u003e7840\u003c/gco:Integer\u003e\n \u003c/dimensionSize\u003e\n \u003cresolution\u003e\n \u003cgco:Measure uom=\"deg\"\u003e0.000014\u003c/gco:Measure\u003e\n \u003c/resolution\u003e\n \u003c/MD_Dimension\u003e\n \u003c/axisDimensionProperties\u003e\n \u003ccellGeometry\u003e\n \u003cMD_CellGeometryCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode\" codeListValue=\"area\" codeSpace=\"ISOTC211/19115\"\u003earea\u003c/MD_CellGeometryCode\u003e\n \u003c/cellGeometry\u003e\n \u003ctransformationParameterAvailability\u003e\n \u003cgco:Boolean\u003etrue\u003c/gco:Boolean\u003e\n \u003c/transformationParameterAvailability\u003e\n \u003ccheckPointAvailability\u003e\n \u003cgco:Boolean\u003efalse\u003c/gco:Boolean\u003e\n \u003c/checkPointAvailability\u003e\n \u003ccornerPoints\u003e\n \u003cgml:Point gml:id=\"idm341\"\u003e\n \u003cgml:pos\u003e116.340598 39.857703\u003c/gml:pos\u003e\n \u003c/gml:Point\u003e\n \u003c/cornerPoints\u003e\n \u003ccornerPoints\u003e\n \u003cgml:Point gml:id=\"idm343\"\u003e\n \u003cgml:pos\u003e116.340598 39.967463\u003c/gml:pos\u003e\n \u003c/gml:Point\u003e\n \u003c/cornerPoints\u003e\n \u003ccornerPoints\u003e\n \u003cgml:Point gml:id=\"idm345\"\u003e\n \u003cgml:pos\u003e116.444408 39.967463\u003c/gml:pos\u003e\n \u003c/gml:Point\u003e\n \u003c/cornerPoints\u003e\n \u003ccornerPoints\u003e\n \u003cgml:Point gml:id=\"idm347\"\u003e\n \u003cgml:pos\u003e116.444408 39.857703\u003c/gml:pos\u003e\n \u003c/gml:Point\u003e\n \u003c/cornerPoints\u003e\n \u003ccenterPoint\u003e\n \u003cgml:Point gml:id=\"idm349\"\u003e\n \u003cgml:pos\u003e116.392503 39.912582\u003c/gml:pos\u003e\n \u003c/gml:Point\u003e\n \u003c/centerPoint\u003e\n \u003cpointInPixel\u003e\n \u003cMD_PixelOrientationCode\u003ecenter\u003c/MD_PixelOrientationCode\u003e\n \u003c/pointInPixel\u003e\n \u003c/MD_Georectified\u003e\n \u003c/spatialRepresentationInfo\u003e\n \u003creferenceSystemInfo\u003e\n \u003cMD_ReferenceSystem\u003e\n \u003creferenceSystemIdentifier\u003e\n \u003cRS_Identifier\u003e\n \u003ccode\u003e\n \u003cgco:CharacterString\u003e4326\u003c/gco:CharacterString\u003e\n \u003c/code\u003e\n \u003ccodeSpace\u003e\n \u003cgco:CharacterString\u003eEPSG\u003c/gco:CharacterString\u003e\n \u003c/codeSpace\u003e\n \u003cversion\u003e\n \u003cgco:CharacterString\u003e6.14(3.0.1)\u003c/gco:CharacterString\u003e\n \u003c/version\u003e\n \u003c/RS_Identifier\u003e\n \u003c/referenceSystemIdentifier\u003e\n \u003c/MD_ReferenceSystem\u003e\n \u003c/referenceSystemInfo\u003e\n \u003cidentificationInfo\u003e\n \u003cMD_DataIdentification\u003e\n \u003ccitation\u003e\n \u003cCI_Citation\u003e\n \u003ctitle\u003e\n \u003cgco:CharacterString\u003eBeiping Shi zui xin xiang xi quan tu (Raster Image)\u003c/gco:CharacterString\u003e\n \u003c/title\u003e\n \u003cdate\u003e\n \u003cCI_Date\u003e\n \u003cdate\u003e\n \u003cgco:Date\u003e2015-08-19\u003c/gco:Date\u003e\n \u003c/date\u003e\n \u003cdateType\u003e\n \u003cCI_DateTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode\" codeListValue=\"publication\" codeSpace=\"ISOTC211/19115\"\u003epublication\u003c/CI_DateTypeCode\u003e\n \u003c/dateType\u003e\n \u003c/CI_Date\u003e\n \u003c/date\u003e\n \u003cidentifier\u003e\n \u003cMD_Identifier\u003e\n \u003ccode\u003e\n \u003cgco:CharacterString\u003ehttp://purl.stanford.edu/yx324nv8969\u003c/gco:CharacterString\u003e\n \u003c/code\u003e\n \u003c/MD_Identifier\u003e\n \u003c/identifier\u003e\n \u003ccitedResponsibleParty\u003e\n \u003cCI_ResponsibleParty\u003e\n \u003corganisationName\u003e\n \u003cgco:CharacterString\u003eCartography Associates\u003c/gco:CharacterString\u003e\n \u003c/organisationName\u003e\n \u003ccontactInfo\u003e\n \u003cCI_Contact\u003e\n \u003cphone\u003e\n \u003cCI_Telephone\u003e\n \u003cvoice\u003e\n \u003cgco:CharacterString\u003e650-723-2746\u003c/gco:CharacterString\u003e\n \u003c/voice\u003e\n \u003c/CI_Telephone\u003e\n \u003c/phone\u003e\n \u003caddress\u003e\n \u003cCI_Address\u003e\n \u003ccity\u003e\n \u003cgco:CharacterString\u003eStanford\u003c/gco:CharacterString\u003e\n \u003c/city\u003e\n \u003cadministrativeArea\u003e\n \u003cgco:CharacterString\u003eCalifornia\u003c/gco:CharacterString\u003e\n \u003c/administrativeArea\u003e\n \u003cpostalCode\u003e\n \u003cgco:CharacterString\u003e94305\u003c/gco:CharacterString\u003e\n \u003c/postalCode\u003e\n \u003ccountry\u003e\n \u003cgco:CharacterString\u003eUS\u003c/gco:CharacterString\u003e\n \u003c/country\u003e\n \u003c/CI_Address\u003e\n \u003c/address\u003e\n \u003c/CI_Contact\u003e\n \u003c/contactInfo\u003e\n \u003crole\u003e\n \u003cCI_RoleCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode\" codeListValue=\"publisher\" codeSpace=\"ISOTC211/19115\"\u003epublisher\u003c/CI_RoleCode\u003e\n \u003c/role\u003e\n \u003c/CI_ResponsibleParty\u003e\n \u003c/citedResponsibleParty\u003e\n \u003ccitedResponsibleParty\u003e\n \u003cCI_ResponsibleParty\u003e\n \u003cindividualName\u003e\n \u003cgco:CharacterString\u003eRumsey, David, 1944-\u003c/gco:CharacterString\u003e\n \u003c/individualName\u003e\n \u003crole\u003e\n \u003cCI_RoleCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode\" codeListValue=\"originator\" codeSpace=\"ISOTC211/19115\"\u003eoriginator\u003c/CI_RoleCode\u003e\n \u003c/role\u003e\n \u003c/CI_ResponsibleParty\u003e\n \u003c/citedResponsibleParty\u003e\n \u003cpresentationForm\u003e\n \u003cCI_PresentationFormCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_PresentationFormCode\" codeListValue=\"mapDigital\" codeSpace=\"ISOTC211/19115\"\u003emapDigital\u003c/CI_PresentationFormCode\u003e\n \u003c/presentationForm\u003e\n \u003ccollectiveTitle\u003e\n \u003cgco:CharacterString\u003eDavid Rumsey Map Collection at Stanford University Libraries\u003c/gco:CharacterString\u003e\n \u003c/collectiveTitle\u003e\n \u003c/CI_Citation\u003e\n \u003c/citation\u003e\n \u003cabstract\u003e\n \u003cgco:CharacterString\u003eThis layer is a georeferenced image of a detailed map of Beijing showing the Imperial City, the Forbidden City, and the Temple of Heaven. The original map and this scanned image are from the Library of Congress, Geography and Map Division. The georectifed map image was created as part of the David Rumsey Map Collection. \u003c/gco:CharacterString\u003e\n \u003c/abstract\u003e\n \u003cpurpose\u003e\n \u003cgco:CharacterString\u003eThe historic map layers in the Google Earth Rumsey Map Collection have been selected by David Rumsey from his large collection of historical maps, as well as some from other collections with which he collaborates. All the maps contain rich information about the past and represent a sampling of time periods, scales, and cartographic art, resulting in visual history stories that only old maps can tell. Each map has been georeferenced by Rumsey, thus creating unique digital map images that allow the old maps to appear in their correct places on the modern globe. Some of the maps fit perfectly in their modern spaces, while othersgenerally earlier period mapsreveal interesting geographical misconceptions of their time. Cultural features on the maps can be compared to the modern satellite views using the slider bars to adjust transparency. The result is an exploration of time as well as space, a marriage of historic cartographic masterpieces with innovative contemporary software tools.\u003c/gco:CharacterString\u003e\n \u003c/purpose\u003e\n \u003ccredit\u003e\n \u003cgco:CharacterString\u003eRumsey, D. (2015). Beiping Shi zui xin xiang xi quan tu (Raster Image). Cartography Associates. Available at: http://purl.stanford.edu/yx324nv8969\n\n.\u003c/gco:CharacterString\u003e\n \u003c/credit\u003e\n \u003cstatus\u003e\n \u003cMD_ProgressCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ProgressCode\" codeListValue=\"completed\" codeSpace=\"ISOTC211/19115\"\u003ecompleted\u003c/MD_ProgressCode\u003e\n \u003c/status\u003e\n \u003cpointOfContact\u003e\n \u003cCI_ResponsibleParty\u003e\n \u003corganisationName\u003e\n \u003cgco:CharacterString\u003eStanford Geospatial Center\u003c/gco:CharacterString\u003e\n \u003c/organisationName\u003e\n \u003ccontactInfo\u003e\n \u003cCI_Contact\u003e\n \u003cphone\u003e\n \u003cCI_Telephone\u003e\n \u003cvoice\u003e\n \u003cgco:CharacterString\u003e650-723-2746\u003c/gco:CharacterString\u003e\n \u003c/voice\u003e\n \u003c/CI_Telephone\u003e\n \u003c/phone\u003e\n \u003caddress\u003e\n \u003cCI_Address\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eBranner Earth Sciences Library\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eMitchell Bldg. 2nd floor\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003e397 Panama Mall\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003ccity\u003e\n \u003cgco:CharacterString\u003eStanford\u003c/gco:CharacterString\u003e\n \u003c/city\u003e\n \u003cadministrativeArea\u003e\n \u003cgco:CharacterString\u003eCalifornia\u003c/gco:CharacterString\u003e\n \u003c/administrativeArea\u003e\n \u003cpostalCode\u003e\n \u003cgco:CharacterString\u003e94305\u003c/gco:CharacterString\u003e\n \u003c/postalCode\u003e\n \u003ccountry\u003e\n \u003cgco:CharacterString\u003eUS\u003c/gco:CharacterString\u003e\n \u003c/country\u003e\n \u003celectronicMailAddress\u003e\n \u003cgco:CharacterString\u003ebrannerlibrary@stanford.edu\u003c/gco:CharacterString\u003e\n \u003c/electronicMailAddress\u003e\n \u003c/CI_Address\u003e\n \u003c/address\u003e\n \u003c/CI_Contact\u003e\n \u003c/contactInfo\u003e\n \u003crole\u003e\n \u003cCI_RoleCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode\" codeListValue=\"pointOfContact\" codeSpace=\"ISOTC211/19115\"\u003epointOfContact\u003c/CI_RoleCode\u003e\n \u003c/role\u003e\n \u003c/CI_ResponsibleParty\u003e\n \u003c/pointOfContact\u003e\n \u003cresourceMaintenance\u003e\n \u003cMD_MaintenanceInformation\u003e\n \u003cmaintenanceAndUpdateFrequency\u003e\n \u003cMD_MaintenanceFrequencyCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_MaintenanceFrequencyCode\" codeListValue=\"notPlanned\" codeSpace=\"ISOTC211/19115\"\u003enotPlanned\u003c/MD_MaintenanceFrequencyCode\u003e\n \u003c/maintenanceAndUpdateFrequency\u003e\n \u003ccontact\u003e\n \u003cCI_ResponsibleParty\u003e\n \u003corganisationName\u003e\n \u003cgco:CharacterString\u003eStanford Geospatial Center\u003c/gco:CharacterString\u003e\n \u003c/organisationName\u003e\n \u003ccontactInfo\u003e\n \u003cCI_Contact\u003e\n \u003cphone\u003e\n \u003cCI_Telephone\u003e\n \u003cvoice\u003e\n \u003cgco:CharacterString\u003e650-723-2746\u003c/gco:CharacterString\u003e\n \u003c/voice\u003e\n \u003c/CI_Telephone\u003e\n \u003c/phone\u003e\n \u003caddress\u003e\n \u003cCI_Address\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eBranner Earth Sciences Library\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eMitchell Bldg. 2nd floor\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003e397 Panama Mall\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003ccity\u003e\n \u003cgco:CharacterString\u003eStanford\u003c/gco:CharacterString\u003e\n \u003c/city\u003e\n \u003cadministrativeArea\u003e\n \u003cgco:CharacterString\u003eCalifornia\u003c/gco:CharacterString\u003e\n \u003c/administrativeArea\u003e\n \u003cpostalCode\u003e\n \u003cgco:CharacterString\u003e94305\u003c/gco:CharacterString\u003e\n \u003c/postalCode\u003e\n \u003ccountry\u003e\n \u003cgco:CharacterString\u003eUS\u003c/gco:CharacterString\u003e\n \u003c/country\u003e\n \u003celectronicMailAddress\u003e\n \u003cgco:CharacterString\u003ebrannerlibrary@stanford.edu\u003c/gco:CharacterString\u003e\n \u003c/electronicMailAddress\u003e\n \u003c/CI_Address\u003e\n \u003c/address\u003e\n \u003c/CI_Contact\u003e\n \u003c/contactInfo\u003e\n \u003crole\u003e\n \u003cCI_RoleCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode\" codeListValue=\"pointOfContact\" codeSpace=\"ISOTC211/19115\"\u003epointOfContact\u003c/CI_RoleCode\u003e\n \u003c/role\u003e\n \u003c/CI_ResponsibleParty\u003e\n \u003c/contact\u003e\n \u003c/MD_MaintenanceInformation\u003e\n \u003c/resourceMaintenance\u003e\n \u003cdescriptiveKeywords\u003e\n \u003cMD_Keywords\u003e\n \u003ckeyword\u003e\n \u003cgco:CharacterString\u003eBeijing (China)\u003c/gco:CharacterString\u003e\n \u003c/keyword\u003e\n \u003ctype\u003e\n \u003cMD_KeywordTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode\" codeListValue=\"place\" codeSpace=\"ISOTC211/19115\"\u003eplace\u003c/MD_KeywordTypeCode\u003e\n \u003c/type\u003e\n \u003cthesaurusName\u003e\n \u003cCI_Citation\u003e\n \u003ctitle\u003e\n \u003cgco:CharacterString\u003egeonames\u003c/gco:CharacterString\u003e\n \u003c/title\u003e\n \u003cdate\u003e\n \u003cCI_Date\u003e\n \u003cdate\u003e\n \u003cgco:Date\u003e2012-11-01\u003c/gco:Date\u003e\n \u003c/date\u003e\n \u003cdateType\u003e\n \u003cCI_DateTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode\" codeListValue=\"revision\" codeSpace=\"ISOTC211/19115\"\u003erevision\u003c/CI_DateTypeCode\u003e\n \u003c/dateType\u003e\n \u003c/CI_Date\u003e\n \u003c/date\u003e\n \u003cedition\u003e\n \u003cgco:CharacterString\u003e3.1\u003c/gco:CharacterString\u003e\n \u003c/edition\u003e\n \u003cidentifier\u003e\n \u003cMD_Identifier\u003e\n \u003ccode\u003e\n \u003cgco:CharacterString\u003ehttp://www.geonames.org/ontology#\u003c/gco:CharacterString\u003e\n \u003c/code\u003e\n \u003c/MD_Identifier\u003e\n \u003c/identifier\u003e\n \u003c/CI_Citation\u003e\n \u003c/thesaurusName\u003e\n \u003c/MD_Keywords\u003e\n \u003c/descriptiveKeywords\u003e\n \u003cdescriptiveKeywords\u003e\n \u003cMD_Keywords\u003e\n \u003ckeyword\u003e\n \u003cgco:CharacterString\u003eHistorical geography\u003c/gco:CharacterString\u003e\n \u003c/keyword\u003e\n \u003ctype\u003e\n \u003cMD_KeywordTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode\" codeListValue=\"theme\" codeSpace=\"ISOTC211/19115\"\u003etheme\u003c/MD_KeywordTypeCode\u003e\n \u003c/type\u003e\n \u003cthesaurusName\u003e\n \u003cCI_Citation\u003e\n \u003ctitle\u003e\n \u003cgco:CharacterString\u003elcsh\u003c/gco:CharacterString\u003e\n \u003c/title\u003e\n \u003cdate\u003e\n \u003cCI_Date\u003e\n \u003cdate\u003e\n \u003cgco:Date\u003e2011-04-26\u003c/gco:Date\u003e\n \u003c/date\u003e\n \u003cdateType\u003e\n \u003cCI_DateTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode\" codeListValue=\"revision\" codeSpace=\"ISOTC211/19115\"\u003erevision\u003c/CI_DateTypeCode\u003e\n \u003c/dateType\u003e\n \u003c/CI_Date\u003e\n \u003c/date\u003e\n \u003cidentifier\u003e\n \u003cMD_Identifier\u003e\n \u003ccode\u003e\n \u003cgco:CharacterString\u003ehttp://id.loc.gov/authorities/subjects.html\u003c/gco:CharacterString\u003e\n \u003c/code\u003e\n \u003c/MD_Identifier\u003e\n \u003c/identifier\u003e\n \u003c/CI_Citation\u003e\n \u003c/thesaurusName\u003e\n \u003c/MD_Keywords\u003e\n \u003c/descriptiveKeywords\u003e\n \u003cdescriptiveKeywords\u003e\n \u003cMD_Keywords\u003e\n \u003ckeyword\u003e\n \u003cgco:CharacterString\u003eDownloadable Data\u003c/gco:CharacterString\u003e\n \u003c/keyword\u003e\n \u003cthesaurusName uuidref=\"723f6998-058e-11dc-8314-0800200c9a66\"/\u003e\n \u003c/MD_Keywords\u003e\n \u003c/descriptiveKeywords\u003e\n \u003cresourceConstraints\u003e\n \u003cMD_LegalConstraints\u003e\n \u003cuseConstraints\u003e\n \u003cMD_RestrictionCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_RestrictionCode\" codeListValue=\"otherRestrictions\" codeSpace=\"ISOTC211/19115\"\u003eotherRestrictions\u003c/MD_RestrictionCode\u003e\n \u003c/useConstraints\u003e\n \u003cotherConstraints\u003e\n \u003cgco:CharacterString\u003eThis work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Image from the David Rumsey Map Collection courtesy Stanford University Libraries. To obtain permission to publish or reproduce commercially, please contact the David Rumsey Map Center at rumseymapcenter@stanford.edu. Property rights reside with the repository, Copyright © Stanford University. Images may be reproduced or transmitted, but not for commercial use. For commercial use or commercial republication, contact rumseymapcenter@stanford.edu This work is licensed under a Creative Commons License. By downloading any images from this site, you agree to the terms of that license.\u003c/gco:CharacterString\u003e\n \u003c/otherConstraints\u003e\n \u003c/MD_LegalConstraints\u003e\n \u003c/resourceConstraints\u003e\n \u003caggregationInfo\u003e\n \u003cMD_AggregateInformation\u003e\n \u003caggregateDataSetName\u003e\n \u003cCI_Citation\u003e\n \u003ctitle\u003e\n \u003cgco:CharacterString\u003eDavid Rumsey Map Collection at Stanford University Libraries at Stanford University Libraries\u003c/gco:CharacterString\u003e\n \u003c/title\u003e\n \u003cdate gco:nilReason=\"missing\"/\u003e\n \u003cidentifier\u003e\n \u003cMD_Identifier\u003e\n \u003ccode\u003e\n \u003cgco:CharacterString\u003ehttp://purl.stanford.edu/xh235dd9059\u003c/gco:CharacterString\u003e\n \u003c/code\u003e\n \u003c/MD_Identifier\u003e\n \u003c/identifier\u003e\n \u003c/CI_Citation\u003e\n \u003c/aggregateDataSetName\u003e\n \u003cassociationType\u003e\n \u003cDS_AssociationTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#DS_AssociationTypeCode\" codeListValue=\"crossReference\" codeSpace=\"ISOTC211/19115\"\u003ecrossReference\u003c/DS_AssociationTypeCode\u003e\n \u003c/associationType\u003e\n \u003c/MD_AggregateInformation\u003e\n \u003c/aggregationInfo\u003e\n \u003cspatialRepresentationType\u003e\n \u003cMD_SpatialRepresentationTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode\" codeListValue=\"grid\" codeSpace=\"ISOTC211/19115\"\u003egrid\u003c/MD_SpatialRepresentationTypeCode\u003e\n \u003c/spatialRepresentationType\u003e\n \u003clanguage\u003e\n \u003cLanguageCode codeList=\"http://www.loc.gov/standards/iso639-2/php/code_list.php\" codeListValue=\"eng\" codeSpace=\"ISO639-2\"\u003eeng\u003c/LanguageCode\u003e\n \u003c/language\u003e\n \u003ccharacterSet\u003e\n \u003cMD_CharacterSetCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode\" codeListValue=\"utf8\" codeSpace=\"ISOTC211/19115\"\u003eutf8\u003c/MD_CharacterSetCode\u003e\n \u003c/characterSet\u003e\n \u003ctopicCategory\u003e\n \u003cMD_TopicCategoryCode\u003eimageryBaseMapsEarthCover\u003c/MD_TopicCategoryCode\u003e\n \u003c/topicCategory\u003e\n \u003cenvironmentDescription\u003e\n \u003cgco:CharacterString\u003e Version 6.2 (Build 9200) ; Esri ArcGIS 10.4.1.5686\u003c/gco:CharacterString\u003e\n \u003c/environmentDescription\u003e\n \u003cextent\u003e\n \u003cEX_Extent\u003e\n \u003cdescription\u003e\n \u003cgco:CharacterString\u003eground condition\u003c/gco:CharacterString\u003e\n \u003c/description\u003e\n \u003ctemporalElement\u003e\n \u003cEX_TemporalExtent\u003e\n \u003cextent\u003e\n \u003cgml:TimeInstant gml:id=\"idm237\"\u003e\n \u003cgml:timePosition\u003e1930-01-01T00:00:00\u003c/gml:timePosition\u003e\n \u003c/gml:TimeInstant\u003e\n \u003c/extent\u003e\n \u003c/EX_TemporalExtent\u003e\n \u003c/temporalElement\u003e\n \u003c/EX_Extent\u003e\n \u003c/extent\u003e\n \u003cextent\u003e\n \u003cEX_Extent\u003e\n \u003cgeographicElement\u003e\n \u003cEX_GeographicBoundingBox\u003e\n \u003cextentTypeCode\u003e\n \u003cgco:Boolean\u003etrue\u003c/gco:Boolean\u003e\n \u003c/extentTypeCode\u003e\n \u003cwestBoundLongitude\u003e\n \u003cgco:Decimal\u003e116.340598\u003c/gco:Decimal\u003e\n \u003c/westBoundLongitude\u003e\n \u003ceastBoundLongitude\u003e\n \u003cgco:Decimal\u003e116.444408\u003c/gco:Decimal\u003e\n \u003c/eastBoundLongitude\u003e\n \u003csouthBoundLatitude\u003e\n \u003cgco:Decimal\u003e39.857703\u003c/gco:Decimal\u003e\n \u003c/southBoundLatitude\u003e\n \u003cnorthBoundLatitude\u003e\n \u003cgco:Decimal\u003e39.967463\u003c/gco:Decimal\u003e\n \u003c/northBoundLatitude\u003e\n \u003c/EX_GeographicBoundingBox\u003e\n \u003c/geographicElement\u003e\n \u003c/EX_Extent\u003e\n \u003c/extent\u003e\n \u003c/MD_DataIdentification\u003e\n \u003c/identificationInfo\u003e\n \u003ccontentInfo\u003e\n \u003cMD_ImageDescription\u003e\n \u003cattributeDescription gco:nilReason=\"missing\"/\u003e\n \u003ccontentType\u003e\n \u003cMD_CoverageContentTypeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CoverageContentTypeCode\" codeListValue=\"image\" codeSpace=\"ISOTC211/19115\"\u003eimage\u003c/MD_CoverageContentTypeCode\u003e\n \u003c/contentType\u003e\n \u003cdimension\u003e\n \u003cMD_Band\u003e\n \u003cdescriptor\u003e\n \u003cgco:CharacterString\u003eBand_1\u003c/gco:CharacterString\u003e\n \u003c/descriptor\u003e\n \u003cmaxValue\u003e\n \u003cgco:Real\u003e255\u003c/gco:Real\u003e\n \u003c/maxValue\u003e\n \u003cminValue\u003e\n \u003cgco:Real\u003e0\u003c/gco:Real\u003e\n \u003c/minValue\u003e\n \u003cunits\u003e\n \u003cgml:UnitDefinition gml:id=\"idm377\"\u003e\n \u003cgml:identifier codeSpace=\"GML_UomSymbol\"\u003eUnified Code of Units of Measure\u003c/gml:identifier\u003e\n \u003c/gml:UnitDefinition\u003e\n \u003c/units\u003e\n \u003cbitsPerValue\u003e\n \u003cgco:Integer\u003e8\u003c/gco:Integer\u003e\n \u003c/bitsPerValue\u003e\n \u003c/MD_Band\u003e\n \u003c/dimension\u003e\n \u003c/MD_ImageDescription\u003e\n \u003c/contentInfo\u003e\n \u003cdistributionInfo\u003e\n \u003cMD_Distribution\u003e\n \u003cdistributionFormat\u003e\n \u003cMD_Format\u003e\n \u003cname\u003e\n \u003cgco:CharacterString\u003eRaster Dataset\u003c/gco:CharacterString\u003e\n \u003c/name\u003e\n \u003cversion gco:nilReason=\"missing\"/\u003e\n \u003c/MD_Format\u003e\n \u003c/distributionFormat\u003e\n \u003cdistributor\u003e\n \u003cMD_Distributor\u003e\n \u003cdistributorContact\u003e\n \u003cCI_ResponsibleParty\u003e\n \u003corganisationName\u003e\n \u003cgco:CharacterString\u003eStanford Geospatial Center\u003c/gco:CharacterString\u003e\n \u003c/organisationName\u003e\n \u003ccontactInfo\u003e\n \u003cCI_Contact\u003e\n \u003cphone\u003e\n \u003cCI_Telephone\u003e\n \u003cvoice\u003e\n \u003cgco:CharacterString\u003e650-723-2746\u003c/gco:CharacterString\u003e\n \u003c/voice\u003e\n \u003c/CI_Telephone\u003e\n \u003c/phone\u003e\n \u003caddress\u003e\n \u003cCI_Address\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eBranner Earth Sciences Library\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003eMitchell Bldg. 2nd floor\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003cdeliveryPoint\u003e\n \u003cgco:CharacterString\u003e397 Panama Mall\u003c/gco:CharacterString\u003e\n \u003c/deliveryPoint\u003e\n \u003ccity\u003e\n \u003cgco:CharacterString\u003eStanford\u003c/gco:CharacterString\u003e\n \u003c/city\u003e\n \u003cadministrativeArea\u003e\n \u003cgco:CharacterString\u003eCalifornia\u003c/gco:CharacterString\u003e\n \u003c/administrativeArea\u003e\n \u003cpostalCode\u003e\n \u003cgco:CharacterString\u003e94305\u003c/gco:CharacterString\u003e\n \u003c/postalCode\u003e\n \u003ccountry\u003e\n \u003cgco:CharacterString\u003eUS\u003c/gco:CharacterString\u003e\n \u003c/country\u003e\n \u003celectronicMailAddress\u003e\n \u003cgco:CharacterString\u003ebrannerlibrary@stanford.edu\u003c/gco:CharacterString\u003e\n \u003c/electronicMailAddress\u003e\n \u003c/CI_Address\u003e\n \u003c/address\u003e\n \u003c/CI_Contact\u003e\n \u003c/contactInfo\u003e\n \u003crole\u003e\n \u003cCI_RoleCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode\" codeListValue=\"distributor\" codeSpace=\"ISOTC211/19115\"\u003edistributor\u003c/CI_RoleCode\u003e\n \u003c/role\u003e\n \u003c/CI_ResponsibleParty\u003e\n \u003c/distributorContact\u003e\n \u003c/MD_Distributor\u003e\n \u003c/distributor\u003e\n \u003ctransferOptions\u003e\n \u003cMD_DigitalTransferOptions\u003e\n \u003conLine\u003e\n \u003cCI_OnlineResource\u003e\n \u003clinkage\u003e\n \u003cURL\u003ehttp://purl.stanford.edu/yx324nv8969\u003c/URL\u003e\n \u003c/linkage\u003e\n \u003cprotocol\u003e\n \u003cgco:CharacterString\u003ehttp\u003c/gco:CharacterString\u003e\n \u003c/protocol\u003e\n \u003cname\u003e\n \u003cgco:CharacterString\u003eg3ct001947.tif\u003c/gco:CharacterString\u003e\n \u003c/name\u003e\n \u003cfunction\u003e\n \u003cCI_OnLineFunctionCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode\" codeListValue=\"information\" codeSpace=\"ISOTC211/19115\"\u003einformation\u003c/CI_OnLineFunctionCode\u003e\n \u003c/function\u003e\n \u003c/CI_OnlineResource\u003e\n \u003c/onLine\u003e\n \u003c/MD_DigitalTransferOptions\u003e\n \u003c/transferOptions\u003e\n \u003c/MD_Distribution\u003e\n \u003c/distributionInfo\u003e\n \u003cdataQualityInfo\u003e\n \u003cDQ_DataQuality\u003e\n \u003cscope\u003e\n \u003cDQ_Scope\u003e\n \u003clevel\u003e\n \u003cMD_ScopeCode codeList=\"http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode\" codeListValue=\"dataset\" codeSpace=\"ISOTC211/19115\"\u003edataset\u003c/MD_ScopeCode\u003e\n \u003c/level\u003e\n \u003c/DQ_Scope\u003e\n \u003c/scope\u003e\n \u003clineage\u003e\n \u003cLI_Lineage\u003e\n \u003csource\u003e\n \u003cLI_Source\u003e\n \u003cdescription\u003e\n \u003cgco:CharacterString\u003eScanned map.\u003c/gco:CharacterString\u003e\n \u003c/description\u003e\n \u003csourceCitation\u003e\n \u003cCI_Citation\u003e\n \u003ctitle\u003e\n \u003cgco:CharacterString\u003eMap of Beijing, 1930\u003c/gco:CharacterString\u003e\n \u003c/title\u003e\n \u003cdate gco:nilReason=\"missing\"/\u003e\n \u003cidentifier\u003e\n \u003cMD_Identifier\u003e\n \u003ccode\u003e\n \u003cgco:CharacterString\u003ehttp://www.davidrumsey.com/xmaps10007.html\u003c/gco:CharacterString\u003e\n \u003c/code\u003e\n \u003c/MD_Identifier\u003e\n \u003c/identifier\u003e\n \u003c/CI_Citation\u003e\n \u003c/sourceCitation\u003e\n \u003c/LI_Source\u003e\n \u003c/source\u003e\n \u003c/LI_Lineage\u003e\n \u003c/lineage\u003e\n \u003c/DQ_DataQuality\u003e\n \u003c/dataQualityInfo\u003e\n\u003c/MD_Metadata\u003e\n \u003c/rdf:Description\u003e\n \u003crdf:Description rdf:about=\"https://sul-purl-stage.stanford.edu/yx324nv8969\"\u003e\n \n \u003c/rdf:Description\u003e\n \u003c/rdf:RDF\u003e\n" + }, + "created": "2014-02-03T18:33:02.000+00:00", + "modified": "2022-09-28T21:48:32.000+00:00" +} diff --git a/spec/fixtures/files/yx324nv8969.meta_json b/spec/fixtures/files/yx324nv8969.meta_json new file mode 100644 index 00000000..573cfc99 --- /dev/null +++ b/spec/fixtures/files/yx324nv8969.meta_json @@ -0,0 +1,5 @@ +{ + "sitemap": false, + "searchworks": false, + "earthworks": true +} diff --git a/spec/integration/geo_aardvark_config_spec.rb b/spec/integration/geo_aardvark_config_spec.rb index 46717f58..5cfc70ae 100644 --- a/spec/integration/geo_aardvark_config_spec.rb +++ b/spec/integration/geo_aardvark_config_spec.rb @@ -294,6 +294,14 @@ it 'does not populate dct_relation_sm' do expect(result['dct_relation_sm']).to be_nil end + + context 'when the source map does not have a purl' do + let(:druid) { 'yx324nv8969' } + + it 'does not populate dct_source_sm' do + expect(result['dct_source_sm']).to be_nil + end + end end context 'with a scanned map that has a georeferenced version' do