The Shapefile Extensions provides the support for ESRI shapefiles files. A ESRI 'shapefile' is a bundle of files with the same base name but with different extensions - *.shp, *.dbf, *.prf, *.shx, *.shp.xml, etc. When a shapefile is uploaded in the ScienceBase Catalog UI, this extension is created as well as a corresponding spatial service.
Properties
Property | Type | Description |
---|---|---|
className | String | = "gov.sciencebase.catalog.item.facet.ShapefileFacet" A discriminator used by the system to identity the extension type |
name | String | name of the shapefile |
geometryType | String | The type of geometry, e.g. "MultiLineString" |
nativeCrs | String | the project of the geometry in the shapefile |
files | List<ItemFile> | the files in the extension |
boundingBox | Map<String, Double> | the bounding box, see example for details |
Example
{ className: "gov.sciencebase.catalog.item.facet.ShapefileFacet", name: "shoreline_aoi1", geometryType: "MultiLineString", nativeCrs: "EPSG:26911", files: [ { name: "shoreline_aoi1.shp", title: "", contentType: "x-gis/x-shapefile", contentEncoding: null, pathOnDisk: "__disk__47/5c/75/475c75b8be6c7e33d8b2d65d361d46c1ead05e15", processed: false, processToken: null, imageWidth: null, imageHeight: null, size: 1362612, dateUploaded: "2015-06-26T16:11:15Z", uploadedBy: "mpal@usgs.gov", originalMetadata: false, useForPreview: false, s3Object: null, url: "https://www.sciencebase.gov/catalog/file/get/558d79b7e4b0b6d21dd6577a?f=__disk__47%2F5c%2F75%2F475c75b8be6c7e33d8b2d65d361d46c1ead05e15" }, { name: "shoreline_aoi1.dbf", title: "", contentType: "application/octet-stream", contentEncoding: null, pathOnDisk: "__disk__47/8f/bb/478fbb4d5340edf31a2e313a8469ee47949d1ce8", processed: false, processToken: null, imageWidth: null, imageHeight: null, size: 1246, dateUploaded: "2015-06-26T16:11:15Z", uploadedBy: "mpal@usgs.gov", originalMetadata: false, useForPreview: false, s3Object: null, url: "https://www.sciencebase.gov/catalog/file/get/558d79b7e4b0b6d21dd6577a?f=__disk__47%2F8f%2Fbb%2F478fbb4d5340edf31a2e313a8469ee47949d1ce8" }, { name: "shoreline_aoi1.shx", title: "", contentType: "x-gis/x-shapefile", contentEncoding: null, pathOnDisk: "__disk__3d/64/42/3d644253f5c5b4816ff1d37d6fca2307dfda7a47", processed: false, processToken: null, imageWidth: null, imageHeight: null, size: 756, dateUploaded: "2015-06-26T16:11:15Z", uploadedBy: "mpal@usgs.gov", originalMetadata: false, useForPreview: false, s3Object: null, url: "https://www.sciencebase.gov/catalog/file/get/558d79b7e4b0b6d21dd6577a?f=__disk__3d%2F64%2F42%2F3d644253f5c5b4816ff1d37d6fca2307dfda7a47" }, { name: "shoreline_aoi1.prj", title: "", contentType: "text/plain", contentEncoding: null, pathOnDisk: "__disk__d9/71/00/d971007e9ca41e9b79884dae64182d0d1144a47c", processed: false, processToken: null, imageWidth: null, imageHeight: null, size: 542, dateUploaded: "2015-06-26T16:11:15Z", uploadedBy: "mpal@usgs.gov", originalMetadata: false, useForPreview: false, s3Object: null, url: "https://www.sciencebase.gov/catalog/file/get/558d79b7e4b0b6d21dd6577a?f=__disk__d9%2F71%2F00%2Fd971007e9ca41e9b79884dae64182d0d1144a47c" }, { name: "shoreline_aoi1.shp.xml", title: "", contentType: "application/fgdc+xml", contentEncoding: null, pathOnDisk: "__disk__1c/e9/f7/1ce9f7422d54646a264c18bc811484ac6e61b870", processed: false, processToken: null, imageWidth: null, imageHeight: null, size: 8246, dateUploaded: "2015-06-26T16:11:15Z", uploadedBy: "mpal@usgs.gov", originalMetadata: true, useForPreview: false, s3Object: null, url: "https://www.sciencebase.gov/catalog/file/get/558d79b7e4b0b6d21dd6577a?f=__disk__1c%2Fe9%2Ff7%2F1ce9f7422d54646a264c18bc811484ac6e61b870" }, { name: "shoreline_aoi1.cpg", title: "", contentType: "text/plain", contentEncoding: null, pathOnDisk: "__disk__47/f6/5f/47f65f2be67724d1e2cab98460e2348df9cb92bc", processed: false, processToken: null, imageWidth: null, imageHeight: null, size: 5, dateUploaded: "2015-06-26T16:11:15Z", uploadedBy: "mpal@usgs.gov", originalMetadata: false, useForPreview: false, s3Object: null, url: "https://www.sciencebase.gov/catalog/file/get/558d79b7e4b0b6d21dd6577a?f=__disk__47%2Ff6%2F5f%2F47f65f2be67724d1e2cab98460e2348df9cb92bc" } ], boundingBox: { minY: 34.34809237150859, minX: -120.43213807117574, maxY: 34.49032608137047, maxX: -119.45769686751457 }, }