CMV widget to clip and ship a layer using a geoprocessing tool. This widget is based on the original CMV print widget, and created to provide a basic 'clip and ship' service.
extract: {
include: true,
id: 'extract',
type: 'titlePane',
canFloat: true,
path: 'gis/dijit/Extract',
title: 'Export',
open: false,
position: 12,
options: {
map: true,
extractTaskURL: 'http://sampleserver4.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/Incident_Data_Extraction/GPServer/Extract%20Data%20Task',
defaultFeatureFormat: 'Shapefile - SHP - .shp',
defaultRasterFormat: 'Tagged Image File Format - TIFF - .tif',
defaultLayers: [' Incident Points']
}
}
- Zoom to an area of interest. The current extents are used for clipping.
- Select the out file format.
- Select the layer to be exported.