Skip to content

Commit

Permalink
Updates to schema and json-ld fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Jul 31, 2017
1 parent 2b59b74 commit 1aed14e
Show file tree
Hide file tree
Showing 24 changed files with 134 additions and 43 deletions.
5 changes: 3 additions & 2 deletions schema/v2.0/geoblacklight-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
"Raster",
"Scanned Map",
"Image",
"Mixed"
"Mixed",
"Paper Map"
],
"description": "Geometry type for layer data, using a controlled vocabulary. *Optional*"
},
Expand Down Expand Up @@ -179,7 +180,7 @@
},
"modified": {
"type": "string",
"format": "date-time",
"format": "string",
"description": "Last modification date for the metadata record, using XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ). *Optional*"
},
"provenance": {
Expand Down
9 changes: 7 additions & 2 deletions spec/fixtures/jsonld/actual-papermap1.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn:arrowsmith.mit.edu:MIT.001145244",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "Panel title. Depths shown by isolines. \"Geological map [copyright] NERC 1996.\" Also available on flat sheet. \"Sheet 1\"--on panel. Includes text, notes, organizations' logos, and ancillary map of \"Orogenic terranes of Britain, Ireland and surrounding seas.\"",
"distribution": [
{
Expand Down Expand Up @@ -30,10 +31,14 @@
"geomType": "Paper Map",
"issued": "2000",
"landingPage": "http://library.mit.edu/item/001145244",
"language": "English",
"language": [
"English"
],
"modified": "2014-12-04T21:32:59Z",
"provenance": "MIT",
"publisher": "British Geological Survey",
"publisher": [
"British Geological Survey"
],
"resourceType": "Dataset",
"slug": "mit-001145244",
"temporal": [
Expand Down
5 changes: 4 additions & 1 deletion spec/fixtures/jsonld/actual-point1.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn:columbia.edu:Columbia.landinfo_global_aet",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "Actual Evapotrans is a point theme representing the sum of evaporation and plant transpiration to the atmosphere from throughout the world. Measurements are represented by points at every.5 degrees and provided for every month of the year. This dataset is a part of the Global Climate Database from the Global Change Department National Institute of Public Health and Environmental Protection.",
"distribution": [
{
Expand All @@ -28,7 +29,9 @@
],
"geom": "ENVELOPE(-179.5, 180.0, 83.0, -56.0)",
"geomType": "Point",
"language": "English",
"language": [
"English"
],
"modified": "2014-12-12T19:54:57Z",
"provenance": "Columbia",
"resourceType": "Dataset",
Expand Down
9 changes: 7 additions & 2 deletions spec/fixtures/jsonld/actual-polygon1.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn:geodata.tufts.edu:Tufts.CambridgeGrid100_04",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "This polygon dataset is a 100 foot grid overlay for Cambridge, MA.",
"distribution": [
{
Expand Down Expand Up @@ -48,10 +49,14 @@
"geom": "ENVELOPE(-71.163984, -71.052581, 42.408316, 42.34757)",
"geomType": "Polygon",
"issued": "2005",
"language": "English",
"language": [
"English"
],
"modified": "2014-12-04T21:33:07Z",
"provenance": "Tufts",
"publisher": "Cambridge (Mass.) Geographic Information Systems",
"publisher": [
"Cambridge (Mass.) Geographic Information Systems"
],
"resourceType": "Dataset",
"slug": "tufts-cambridgegrid100-04",
"temporal": [
Expand Down
11 changes: 8 additions & 3 deletions spec/fixtures/jsonld/actual-raster1.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"@context": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/context.jsonld",
"@id": "http://purl.stanford.edu/dp018hs9766",
"@type": "dcat:Dataset",
"accessLevel": "restricted",
"accessLevel": "restricted public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"Seafloor Mapping Lab"
],
Expand Down Expand Up @@ -67,10 +68,14 @@
"geomType": "Raster",
"issued": "2006",
"landingPage": "http://purl.stanford.edu/dp018hs9766",
"language": "English",
"language": [
"English"
],
"modified": "2014-12-03T02:15:20Z",
"provenance": "Stanford",
"publisher": "Seafloor Mapping Lab",
"publisher": [
"Seafloor Mapping Lab"
],
"resourceType": "Dataset",
"slug": "stanford-dp018hs9766",
"spatial": [
Expand Down
13 changes: 10 additions & 3 deletions spec/fixtures/jsonld/baruch_ancestor1.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"@id": "http://hdl.handle.net/2451/34635",
"@type": "dcat:Dataset",
"accessLevel": "public",
"creator": "GIS Lab, Newman Library, Baruch CUNY",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"GIS Lab, Newman Library, Baruch CUNY"
],
"description": "The NYC Geodatabase (nyc_gdb) is a resource designed for basic geographic analysis and thematic mapping within the five boroughs of New York City. It contains geographic features and data compiled from several public sources. Subsets of large features like water, greenspace, and public facilities were created and Census geographies like tracts, ZCTAs, and PUMAs were geoprocessed to create land-based boundaries. Census data from the 2010 Census, American Community Survey (ACS), and ZIP Code Business Patterns are stored in tables that can be easily related to geographic features. Transit and public facility point data were gathered from several city agencies and transformed into spatial data that can be used for reference or analysis for measuring distance, drawing buffers, or counting features within areas. The data is provided in SQLite format.",
"distribution": [
{
Expand All @@ -18,10 +21,14 @@
],
"geom": "ENVELOPE(-74.255895, -73.700272, 40.9152819999998, 40.4959289999998)",
"geomType": "Mixed",
"isPartOf": "NYC Geodatabase (version jan2016)",
"isPartOf": [
"NYC Geodatabase (version jan2016)"
],
"issued": "1/15/2016",
"landingPage": "http://hdl.handle.net/2451/34635",
"language": "English",
"language": [
"English"
],
"modified": "2016-5-2T18:21:7Z",
"provenance": "Baruch CUNY",
"publisher": [
Expand Down
15 changes: 11 additions & 4 deletions spec/fixtures/jsonld/baruch_ancestor2.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"@id": "http://hdl.handle.net/2451/34636",
"@type": "dcat:Dataset",
"accessLevel": "public",
"creator": "GIS Lab, Newman Library, Baruch CUNY",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"GIS Lab, Newman Library, Baruch CUNY"
],
"description": "The NYC Geodatabase (nyc_gdb) is a resource designed for basic geographic analysis and thematic mapping within the five boroughs of New York City. It contains geographic features and data compiled from several public sources. Subsets of large features like water, greenspace, and public facilities were created and Census geographies like tracts, ZCTAs, and PUMAs were geoprocessed to create land-based boundaries. Census data from the 2010 Census, American Community Survey (ACS), and ZIP Code Business Patterns are stored in tables that can be easily related to geographic features. Transit and public facility point data were gathered from several city agencies and transformed into spatial data that can be used for reference or analysis for measuring distance, drawing buffers, or counting features within areas. The data is provided in ESRI Geodatabase format.",
"distribution": [
{
Expand All @@ -17,14 +20,18 @@
}
],
"format": [
"ESRI Personal GeoDatabase",
"ESRI Personal GeoDatabase"
],
"geom": "ENVELOPE(-74.255895, -73.700272, 40.9152819999998, 40.4959289999998)",
"geomType": "Mixed",
"isPartOf": "NYC Geodatabase (version jan2016)",
"isPartOf": [
"NYC Geodatabase (version jan2016)"
],
"issued": "1/15/2016",
"landingPage": "http://hdl.handle.net/2451/34636",
"language": "English",
"language": [
"English"
],
"modified": "2016-5-2T18:21:7Z",
"provenance": "Baruch CUNY",
"publisher": [
Expand Down
16 changes: 10 additions & 6 deletions spec/fixtures/jsonld/baruch_documentation_download.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
"@id": "http://hdl.handle.net/2451/34502",
"@type": "dcat:Dataset",
"accessLevel": "public",
"creator": "GIS Lab, Newman Library, Baruch CUNY",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": ["GIS Lab, Newman Library, Baruch CUNY"],
"description": "The subway complexes layer was created to represent ridership data for the NYC subway system (Metropolitan Transportation Authority, or MTA). This layer is a subset of the subway stations layer (nyu_2451_34503) that has been combined with MTA statistics on ridership; it was originally created in August 2012 and has been updated annually. Ridership data is not available for each individual subway station, as many stations are linked via common entrances and passageways where transfers are free, and because ridership data is not collected for the Staten Island Railway stations. This layer was created by choosing an individual station from nyu_2451_34503 to represent the entire complex, and modifying the station name and train fields appropriately. It should be used for mapping ridership data or for analysis that requires this data, and not for specifying actual station locations or measuring distances. There are 421 complexes, and the field station_ct indicates how many stations are part of a complex. Annual, average weekday, and average weekend ridership is provided for 2007 to 2014. The unique ID is complex_id, which was created by alphabetizing the complexes by borough and station name and assigning a sequential number to a borough prefix. This layer does not include the new 34th St - 11 Av station on the 7 line; it will be updated in summer 2016 once ridership data becomes available. This layer was created as part of the NYC Geodatabase (NYC GDB) project, a resource designed for basic geographic analysis and thematic mapping within the five boroughs of New York City.",
"describedBy": "https://archive.nyu.edu/retrieve/74755/nyu_2451_34502_doc.zip",
"distribution": [
{
"@type": "dcat:Distribution",
"downloadURL": "https://archive.nyu.edu/retrieve/74701/nyu_2451_34502.zip",
"format": ["Shapefile",
"format": [
"Shapefile"
],
"mediaType": "application/zip",
"title": "Shapefile"
},
Expand Down Expand Up @@ -46,10 +49,12 @@
],
"geom": "ENVELOPE(-74.030876, -73.755405, 40.9031249999998, 40.5761269999998)",
"geomType": "Point",
"isPartOf": "NYC Geodatabase (version jan2016)",
"isPartOf": ["NYC Geodatabase (version jan2016)"],
"issued": "1/15/2016",
"landingPage": "http://hdl.handle.net/2451/34502",
"language": "English",
"language": [
"English"
],
"modified": "2016-5-2T18:21:5Z",
"provenance": "Baruch CUNY",
"publisher": [
Expand Down Expand Up @@ -82,6 +87,5 @@
"temporal": [
"2015"
],
"title": "2015 New York City Subway Complexes and Ridership",
"describedBy": "https://archive.nyu.edu/retrieve/74755/nyu_2451_34502_doc.zip"
"title": "2015 New York City Subway Complexes and Ridership"
}
5 changes: 4 additions & 1 deletion spec/fixtures/jsonld/esri-dynamic-layer-all-layers.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn-90f14ff4-1359-4beb-b931-5cb41d20ab90",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"Illinois State Geological Survey"
],
Expand Down Expand Up @@ -42,6 +43,8 @@
"Geology",
"Glaciation"
],
"temporal": "1996",
"temporal": [
"1996"
],
"title": "Glacial Boundaries: Illinois, 1997"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn-0f7ae38b-4bf2-4e03-a32b-e87f245ccb03",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"Hennepin County"
],
Expand Down
5 changes: 4 additions & 1 deletion spec/fixtures/jsonld/esri-feature-layer.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "e2f33b52-4039-4bbb-9095-b5cdc0175943",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"MapIT Minneapolis"
],
Expand Down Expand Up @@ -39,6 +40,8 @@
"utilitiesCommunications",
"fire"
],
"temporal": "2015",
"temporal": [
"2015"
],
"title": "Fire Station Areas: Minneapolis, Minnesota"
}
5 changes: 4 additions & 1 deletion spec/fixtures/jsonld/esri-image-map-layer.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "oregon-naip-2011",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "A Web Mercator mosaic derived from half-meter resolution color Digital Orthophoto Quadrangles (DOQ) of the entire state of Oregon from the summer of 2011 for multiple state agencies in Oregon. The original content was produced utilizing the scanned aerial film acquired during peak agriculture growing seasons under the National Agriculture Imagery Program (NAIP) under contract for the United States Department of Agriculture (USDA) for the Farm Service Agency's (FSA) Compliance Program. A DOQ is a raster image in which displacement in the image caused by sensor orientation and terrain relief has been removed. A DOQ combines the image characteristics of a photograph with the geometric qualities of a map. The geographic extent of the DOQ is a full 7.5-minute map (latitude and longitude) with a nominal buffer. The horizontal accuracy is within 5 meters of reference ortho imagery (1992 USGS DOQs.) The 1992 USGS DOQ imagery met National Map Accuracy Standards at 1:24,000 scale for 7.5-minute quadrangles. Translated to the ground, the 0.5 mm error distance at 1:24,000 scale is 39.4 ft (12 meters), making the absolute accuracy for the 2011 Oregon DOQs +/- 17 meters. The process of reprojecting and mosaicing the images may have added a potential shift of +/-0.75 meters, making the cumulative accuracy +/-17.75 meters. The original images were projected into a GCS_WGS_1984_Web_Mercator(Auxiliary Sphere) for compatibility with other generic web map services.",
"distribution": [
{
Expand All @@ -13,7 +14,9 @@
],
"geom": "ENVELOPE(-124.88, -116.41, 46.34, 41.91)",
"geomType": "Raster",
"language": "English",
"language": [
"English"
],
"modified": "2015-07-15T00:41:49Z",
"provenance": "Princeton",
"resourceType": "Dataset",
Expand Down
9 changes: 7 additions & 2 deletions spec/fixtures/jsonld/esri-tiled_map_layer.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "test-soil-survey-map",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "This map shows the Soil Survey Geographic (SSURGO) by the United States Department of Agriculture's Natural Resources Conservation Service. It also shows data that was developed by the National Cooperative Soil Survey and supersedes the State Soil Geographic (STATSGO) dataset published in 1994. SSURGO digitizing duplicates the original soil survey maps. This level of mapping is designed for use by landowners, townships, and county natural resource planning and management. The user should be knowledgeable of soils data and their characteristics. The smallest scale map shows the Global Soil Regions map by the United States Department of Agriculture’s Natural Resources Conservation Service.",
"distribution": [
{
Expand All @@ -13,10 +14,14 @@
],
"geom": "ENVELOPE(-129.4956, -64.4393, 48.6336, 21.8079)",
"geomType": "Raster",
"language": "English",
"language": [
"English"
],
"modified": "2015-06-16T00:59:49Z",
"provenance": "NYU",
"publisher": "United States Department of Agriculture, Natural Resources Conservation Service",
"publisher": [
"United States Department of Agriculture, Natural Resources Conservation Service"
],
"resourceType": "Dataset",
"slug": "nyu-test-soil-survey-map",
"temporal": [
Expand Down
5 changes: 4 additions & 1 deletion spec/fixtures/jsonld/esri-wms-layer.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn-f082acb1-b01e-4a08-9126-fd62a23fd9aa",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"creator": [
"(creation): U.S. Geological Survey",
"(selection/conversion): Bernardin, Lochmueller and Associates"
Expand Down Expand Up @@ -58,6 +59,8 @@
"farming",
"agriculture"
],
"temporal": "1972-1997",
"temporal": [
"1972-1997"
],
"title": "Agriculture Census: Indiana, 1997"
}
9 changes: 7 additions & 2 deletions spec/fixtures/jsonld/harvard_raster.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "urn:hul.harvard.edu:HARVARD.SDE2.G7064_S2_1834_K3",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "This layer is a georeferenced raster image of the historic paper map entitled: [Karta mesta zanimaemago Sanktpeterburgom : v tom vide v kakom onoe nakhodilos' za god do osnovaniia goroda; sostavlena dlia panoramy S. Peterburga, 1834]. It was published in 1834. Scale [ca. 1:76,000]. Covers Saint Petersburg Region, Russia. Map in Russian and Swedish.\n\nThe image inside the map neatline is georeferenced to the surface of the earth and fit to the 'Pulkovo 1995 Gauss Kruger Zone 6N' coordinate system. All map collar and inset information is also available as part of the raster image, including any inset maps, profiles, statistical tables, directories, text, illustrations, index maps, legends, or other information associated with the principal map.\n\nThis map shows features such as roads, drainage, built-up areas and selected buildings, ground cover, and more. Relief is shown by hachures. Depths shown by soundings. Includes insets: [Retusari island] -- [Sluselberg]. \n\nThis layer is part of a selection of digitally scanned and georeferenced historic maps from The Harvard Map Collection as part of the Imaging the Urban Environment project. Maps selected for this project represent major urban areas and cities of the world, at various time periods. These maps typically portray both natural and manmade features at a large scale. The selection represents a range of regions, originators, ground condition dates, scales, and purposes.",
"distribution": [
{
Expand Down Expand Up @@ -40,10 +41,14 @@
"geom": "ENVELOPE(30.013108, 30.875309, 60.041712, 59.669749)",
"geomType": "Raster",
"issued": "2000",
"language": "English",
"language": [
"English"
],
"modified": "2014-05-27T18:09:36Z",
"provenance": "Harvard",
"publisher": "Harvard Map Collection, Harvard College Library",
"publisher": [
"Harvard Map Collection, Harvard College Library"
],
"resourceType": "Dataset",
"slug": "harvard-g7064-s2-1834-k3",
"spatial": [
Expand Down
1 change: 1 addition & 0 deletions spec/fixtures/jsonld/no_spatial.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"@id": "c0515c4e-97dc-4fff-82cb-f65144482631",
"@type": "dcat:Dataset",
"accessLevel": "public",
"conformsTo": "https://raw.githubusercontent.com/geoblacklight/geoblacklight/master/schema/v2.0/geoblacklight-schema.json",
"description": "The Advanced Spaceborne Thermal Emission and Reflection radiometer Global Emissivity Database (ASTER GED) was developed by the National Aeronautics and Space Administration's (NASA) Jet Propulsion Laboratory (JPL), California Institute of Technology. The North America portion of this collection was formerly called the North American ASTER Land Surface Emissivity Database (NAALSED) - a seasonal dataset consisting of mean summer (J-A-S) and winter (J-F-M) products. ASTER GED products are output on 1degree x 1 degree grids at 100-meter or 1-kilometer spatial resolution (nominal) and include the mean emissivity and standard deviation for all 5 ASTER thermal infrared bands, mean land surface temperature (LST) and standard deviation, a re-sampled ASTER GDEM (not included in the North America Winter products), land-water mask, mean Normalized Difference Vegetation Index (NDVI) and standard deviation, latitude, longitude, and observation count. Additional ASTER GED product information is available at https://lpdaac.usgs.gov/products/community_products_table. Product tiles are available in HDF and binary format and may be downloaded via HTTP by visiting the following data clients: NASA Reverb (http://reverb.echo.nasa.gov), LP DAAC Data Pool (http://e4ftl01.cr.usgs.gov/ASTT/), or EarthExplorer (http://earthexplorer.usgs.gov).",
"distribution": [

Expand Down

0 comments on commit 1aed14e

Please sign in to comment.