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
  • ESRI Service Definition Extension
Skip to end of metadata
Go to start of metadata
The service definition extensions provides the support for ArcGIS .sd files. Uploading an SD file to an item creates this extension and if the item is public a service is created on the ScienceBase ArcGIS server.

Properties

Property
Type
Description
classNameString

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

A discriminator used by the system to identity the extension type

name
Stringname of the SD file
servicePathString

Identifier for the service on ArcGIS, this is usually the Item ID and a MapServer service would be hosted at https://www.sciencebase.gov/arcgis/rest/services/Catalog/<ItemID>/MapServer

serviceId
String(same as servicePath)
processingStateString"success", "failed", "pending", "void". Indicates the status of loading this from ScienceBase Catalog into the ScienceBase ArcGIS server
processingMessageStringA note about the satus
filePathUsedStringAn identifier used to locate the file in the ScienceBase file repository
serverTypeString, URIMapServer or ImageServer. If not specified, MapServer is assumed
filesList<ItemFile>A list of files including the SD file and possibly a thumbnail image if one was found in the SD
enabledServicesList

list of services enabled on ArcGIS, such as

"KmlServer", "WMSServer"

boundingBoxMap<String, Double>the bounding box, see example for details

Example

{
    className: "gov.sciencebase.catalog.item.facet.ServiceDefinitionFacet",
    name: "SRLCC_2011_Fleishman_NavajoNation_MountainLionConnectivity.sd",
    servicePath: "557f6421e4b023124e8ef848",
    serviceId: "557f6421e4b023124e8ef848",
    processingState: "success",
    processingMessage: "",
    filePathUsed: "__disk__6e/1f/ba/6e1fbac78b0f04089919e6738e117d9c3d12676c",
    serverType: "",
    files: [
        {
            name: "SRLCC_2011_Fleishman_NavajoNation_MountainLionConnectivity.sd",
            title: "",
            contentType: "x-gis/x-arcgis-service-def",
            contentEncoding: null,
            pathOnDisk: "__disk__6e/1f/ba/6e1fbac78b0f04089919e6738e117d9c3d12676c",
            processed: false,
            processToken: null,
            imageWidth: null,
            imageHeight: null,
            size: 22307542,
            dateUploaded: "2015-06-15T23:46:41Z",
            originalMetadata: true,
            useForPreview: false,
            s3Object: null,
            url: "https://www.sciencebase.gov/catalog/file/get/557f6421e4b023124e8ef848?f=__disk__6e%2F1f%2Fba%2F6e1fbac78b0f04089919e6738e117d9c3d12676c"
        },
        {
            name: "thumbnail.png",
            title: null,
            contentType: "image/png",
            contentEncoding: null,
            pathOnDisk: "__disk__10/d9/ec/10d9ec85748e5f77836f5b38929795c474727de1",
            processed: null,
            processToken: null,
            imageWidth: 200,
            imageHeight: 133,
            size: 46494,
            dateUploaded: "2015-06-15T23:47:45Z",
            originalMetadata: null,
            useForPreview: null,
            s3Object: null,
            url: "https://www.sciencebase.gov/catalog/file/get/557f6421e4b023124e8ef848?f=__disk__10%2Fd9%2Fec%2F10d9ec85748e5f77836f5b38929795c474727de1"
        }
    ],
    enabledServices: [
        "KmlServer",
        "WMSServer"
    ],
    boundingBox: {
        minY: 34.2011138863826,
        minX: -113.050594383325,
        maxY: 38.2818302593492,
        maxX: -107.001528548052
    }


}
  • No labels