Extract Data Task (Server)
Summary
Extracts the selected layers in the specified area of interest to the selected formats and spatial reference, then returns all the data in a zip file.
This tool is intended primarily for use as a part of a geoprocessing service. When using this tool as a part of a geoprocessing service, copy the tool into a custom toolbox, edit the model, and reconfigure it as necessary.
- For step-by-step instructions on how to make, use, and configure a geoprocessing service using this tool, see GP_Service_example_Clip_and_ship.
Usage
-
The drop-down for the Feature and Raster Format parameters contains a list of default formats. These default formats are set from the Value List filter on the Parameters tab of the Model Properties.
-
You can add, modify, or remove the list of formats for either the Feature Format parameter or the Raster Format parameter:
- Right-click a copied version of this tool and select Properties.
- In the properties dialog box that appears, click the Parameters tab.
- Find the parameter of interest in the table of parameters. On the right side of the table click to bring up its value list. The set of default formats should be listed.
- Add, modify, or remove formats from the list as desired. The string you provide needs to be delimited in the following way: Name of format - Short Name - Extension.
- Click ok to apply the changes and exit.
Note:You will have to copy this model to your own toolbox before making any changes.
-
Internally, this tool uses the Export to CAD tool to convert data to the .dgn, .dwg, and .dxf CAD formats. Each of these formats is in the default list and exports to the latest version of that file type. To change the version, edit the "Short Name" in the values list. For example, to output DXF R2005 rather than DXF R2007, do the following:
- Change the string from Autodesk AutoCAD - DXF_R2007 - .dxf to Autodesk AutoCAD - DXF_R2005 - .dxf
Syntax
Parameter | Explanation | Data Type |
Layers_to_Clip [Layers_to_Clip,...] |
The Layers to be clipped. Layers should be either feature or raster layers. | Layer |
Area_of_Interest |
The area by which the layers will be clipped. | Feature Set |
Feature_Format |
The format in which the output features will be delivered. The string provided in the Feature Format parameter should be formatted as follows:
Note: The hyphen between the components is required, as well as the spaces around the hyphen. For Example:
Internally, this tool uses the Export to CAD tool to convert data to the .dgn, .dwg, and .dxf CAD formats. The list of short names supported includes DGN_V8, DWG_R14, DWG_R2000, DWG_R2004, DWG_R2005, DWG_R2006, DWG_R2007, DWG_R2010, DXF_R14, DXF_R2000, DXF_R2004, DXF_R2005, DXF_R2006, DXF_R2007, and DXF_R2010. Exporting to non-default formats is supported using Quick Export Tool and that requires the Data Interoperability extension be installed. The Data Interoperability extension is not installed by default with ArcGIS Desktop or ArcGIS Server. If you have the Data Interoperability extension installed, here are the instructions to add another format to the default listadd, remove or modify default list | String |
Raster_Format |
The format in which the output raster datasets will be delivered. Predetermined values are set in Value List. The string provided in the Raster Format parameter should be formatted as follows:
Any of the following strings will work:
Caution: Some of the above raster formats have limitations and not all data can be converted to the format. For a list of formats and their limitations, please read Technical Specifications for Raster Datasets | String |
Output_Zip_File |
The Output Zip File that will contain the extracted data. | File |