Title  ExtractData


<P> Extracts the specified Layers in the specified Area of Interest to the selected Formats and returns all the data in a zip file. </P><P>This tool is intended primarily for use as a part of a geoprocessing service. Full step by step instructions for making a Clip and Ship / Data Extraction geoprocessing service can be found here (under construction).</P><P>When using this tool as a part of a geoprocessing service, first copy the tool into a custom toolbox. After copying, edit the model and configure it if necessary.</P>



<LI><P>The dropdown for the Feature and Raster Format parameters contain lists of default formats. If you want to add or remove values from this list modify the parameter's "Value List" on the parameters tab of the Model Properties (see next usage tip). The string you provide needs to be delimited by the following way:<UL><LI>Name or format - Short Name - extension (if any)</LI></UL></P></LI><LI><P>To change the list of formats for either the Feature Format parameter or the Raster Format parameter: </P><P><LI>Right click a copied version of this tool and select "Properties".</LI><LI>In the properties dialog that appears, click the "Parameters" tab.</LI><LI>Find the parameter of interest in the table of parameters. On the right side of the table click the "…" button to bring up it's value list. The set of default formats should be listed.</LI><LI>Add or remove formats from the list as desired.</LI><LI> Click ok to apply the changes and exit.</LI></P><P>You will have to copy this model to your own toolbox before making any changes.</P></LI><LI><P>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:</P><P><UL><LI>Change the string from Autodesk AutoCAD - DXF_R2007 - .dxf to Autodesk AutoCAD - DXF_R2005 - .dxf</LI></UL></P><P> The list of short names can be found in the documentation of .</P></LI><LI><P>For non-ESRI, non-CAD formats the Data Interoperability Extension is necessary and must be enabled for this tool to operate correctly.</P><P> For such formats the Data Interoperability Extension's "Quick Export" tool is used internally. It is critical to make sure that both the Short Name and the Extension are specified correctly so that Quick Export will work correctly. "GML" and "KML" in the default list of formats are examples of formats that use Quick Export. You can find the short name and the extension required by the Quick Export Tool here (under construction).</P><P>Because Quick Export is a part of the Data Interoperability Extension, non-ESRI, non-CAD formats will only work if the Data Interoperability Extension is available.</P></LI><LI><P>By default, all supported raster formats are in the drop down list of the Raster Format parameter.</P><P>There are limitations to some of the formats such that the software will not be able to convert to the format specified. For more details on the limitations of the various raster formats please read .</P></LI>


Parameter Explanation

The Layers to be clipped. Layers should be either raster layers or feature layers.


The area by which the layers will be clipped.


The format in which the output features will be delivered.


The format in which the output rasters will be delivered.


Spatial Reference


The zip file to be created.

Code Samples



Extract, Mail


Use limitations