Confluence Retirement

Due to the feedback from stakeholders and our commitment to not adversely impact USGS science activities that Confluence supports, we are extending the migration deadline to January 2023.

In an effort to consolidate USGS hosted Wikis, myUSGS’ Confluence service is targeted for retirement. The official USGS Wiki and collaboration space is now SharePoint. Please migrate existing spaces and content to the SharePoint platform and remove it from Confluence at your earliest convenience. If you need any additional information or have any concerns about this change, please contact myusgs@usgs.gov. Thank you for your prompt attention to this matter.
Child pages
  • Shapefile Extension

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

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
classNameString

= "gov.sciencebase.catalog.item.facet.ShapefileFacet"

A discriminator used by the system to identity the extension type

name
Stringname of the shapefile
geometryTypeString

The type of geometry, e.g. "MultiLineString"

nativeCrs
Stringthe project of the geometry in the shapefile
filesList<ItemFile>the files in the extension
boundingBoxMap<String, Double>the bounding box, see example for details

Example

Code Block
{
    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
    },
}