Main menu

Pages

Extract Data and Task and Email Task, Send Email with Zip File Attachment

Extract Data and Task and Email Task, Send Email with Zip File Attachment Tools

Extract Data

How to use Extract Data Tool in Arc Toolbox ArcMap ArcGIS??

Extract Data Tool
Extract Data

Path to access the tool

:

Extract Data Tool, Data Extraction Toolset, Server Tools Toolbox

 

Extract Data

Extracts selected layers in the specified area of interest to a specific format and spatial reference. The extracted data is then written to a zip file.

This tool is intended primarily for use as part of a geoprocessing service. When using this tool as 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 Geoprocessing service example: Clip And Ship.

1.    Layers to Clip

The layers to be clipped. Layers must be feature or raster layers in the map's table of contents. Layer files do not work for this parameter.

2.    Area of Interest

One or more polygons by which the layers will be clipped.

3.    Feature Format

The format in which the output features will be delivered. The string provided should be formatted as follows:

Name or format - Short Name - extension (if any)

The hyphen between the components is required, as well as the spaces around the hyphen.

For example:

  1. File Geodatabase - GDB - .gdb
  2. Shapefile - SHP - .shp
  3. Autodesk AutoCAD - DXF_R2007 - .dxf
  4. Autodesk AutoCAD - DWG_R2007 - .dwg
  5. Bentley Microstation Design (V8) - DGN_V8 - .dgn

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_R2007, DWG_R2010, DXF_R14, DXF_R2000, DXF_R2004, DXF_R2005, DXF_R2007, and DXF_R2010.

4.    Raster Format

The format in which the output raster datasets will be delivered. The string provided should be formatted as follows:

  • Name of format - Short Name - extension (if any)

Any of the following strings will work:

  1. Esri GRID - GRID
  2. File Geodatabase - GDB - .gdb
  3. ERDAS IMAGINE - IMG - .img
  4. Tagged Image File Format - TIFF - .tif
  5. Portable Network Graphics - PNG - .png
  6. Graphic Interchange Format - GIF - .gif
  7. Joint Photographics Experts Group - JPEG - .jpg
  8. Joint Photographics Experts Group - JPEG - .jp2
  9. Bitmap - BMP - .bmp

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, see the help topic "Supported raster dataset file formats".

5.    Spatial Reference

The spatial reference of the output data delivered by the tool.

For standard Esri spatial references, the name you provide here should be the name of the desired coordinate system. This name corresponds to the name of the spatial reference's projection file. Alternatively, you can use the Well Known ID (WKID) of the coordinate system.

For example:

  1. Sinusoidal (world)
  2. WGS 1984 World Mercator
  3. NAD 1983 HARN StatePlane Oregon North FIPS 3601 (Meters)
  4. WGS 1984 UTM Zone 11N
  5. 102003
  6. 54001
  7. If you want the output to have the same coordinate system as the input, then use the string "Same As Input".

For any custom projection, the name specified should be the name of the custom projection file (without extension). The location of the custom projection files should be specified in the Custom Spatial Reference Folder parameter.

  • SAME_AS_INPUT—Use the coordinate from input

6.    Custom Spatial Reference Folder (optional)

The location of any custom projection file or files referenced in the Spatial Reference parameter. This is only necessary if the custom projection file is not in the default installation Coordinate System folder.

7.    Output Zip File

The zip file that will contain the extracted data.

Extract Data and Email Task

How to use Extract Data and Email Task Tool in Arc Toolbox ArcMap ArcGIS??

Extract Data and Email Task Tool
Extract Data and Email Task

Path to access the tool

:

Extract Data and Email Task Tool, Data Extraction Toolset, Server Tools Toolbox

 

Extract Data and Email Task

Extracts the data in the specified layers and area of interest to the selected format and spatial reference, zips the data, and emails it to the specified address. This tool can be used to create a Data Extraction geoprocessing service.

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. It is important to note that this tool will not work unless you open and edit the model (as described below) before publishing the model as a service.

1.    Layers to Clip

The layers to be clipped. Layers must be feature or raster layers in the map's table of contents. Layer files do not work for this parameter.

2.    Area of Interest

One or more polygons by which the layers will be clipped.

3.    Feature Format

The format in which the output features will be delivered. The string provided should be formatted as follows:

  • Name or format - Short Name - extension (if any)

The hyphen between the components is required, as well as the spaces around the hyphen.

For example:

  1. File Geodatabase - GDB - .gdb
  2. Shapefile - SHP - .shp
  3. Autodesk AutoCAD - DXF_R2007 - .dxf
  4. Autodesk AutoCAD - DWG_R2007 - .dwg
  5. Bentley Microstation Design (V8) - DGN_V8 - .dgn

4.    Raster Format

The format in which the output raster datasets will be delivered. The string provided should be formatted as follows:

  • Name of format - Short Name - extension (if any)

Any of the following strings will work:

  1. Esri GRID - GRID
  2. File Geodatabase - GDB - .gdb
  3. ERDAS IMAGINE - IMG - .img
  4. Tagged Image File Format - TIFF - .tif
  5. Portable Network Graphics - PNG - .png
  6. Graphic Interchange Format - GIF - .gif
  7. Joint Photographics Experts Group - JPEG - .jpg
  8. Joint Photographics Experts Group - JPEG - .jp2
  9. Bitmap - BMP - .bmp

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, see the help topic "Supported raster dataset file formats".

5.    To

The email address of the recipient.

This tool will be able to email to this address if and only if the SMTP server has been configured within this model.

Extract Data Task

How to use Extract Data Task Tool in Arc Toolbox ArcMap ArcGIS??

Extract Data Task Tool
Extract Data Task

Path to access the tool

:

Extract Data Task Tool, Data Extraction Toolset, Server Tools Toolbox

 

Extract Data Task

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 part of a geoprocessing service. When using this tool as 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 Geoprocessing service example: Clip And Ship.

1.    Layers to Clip

The layers to be clipped. Layers must be feature or raster layers in the map's table of contents. Layer files do not work for this parameter.

2.    Area of Interest

One or more polygons by which the layers will be clipped.

3.    Feature Format

The format in which the output features will be delivered. The string provided should be formatted as follows:

  • Name or format - Short Name - extension (if any)

The hyphen between the components is required, as well as the spaces around the hyphen.

For example:

  1. File Geodatabase - GDB - .gdb
  2. Shapefile - SHP - .shp
  3. Autodesk AutoCAD - DXF_R2007 - .dxf
  4. Autodesk AutoCAD - DWG_R2007 - .dw
  5. Bentley Microstation Design (V8) - DGN_V8 - .dgn

4.    Raster Format

The format in which the output raster datasets will be delivered. The string provided should be formatted as follows:

  • Name of format - Short Name - extension (if any)

Any of the following strings will work:

  1. Esri GRID - GRID
  2. File Geodatabase - GDB - .gdb
  3. ERDAS IMAGINE - IMG - .img
  4. Tagged Image File Format - TIFF - .tif
  5. Portable Network Graphics - PNG - .png
  6. Graphic Interchange Format - GIF - .gif
  7. Joint Photographics Experts Group - JPEG - .jpg
  8. Joint Photographics Experts Group - JPEG - .jp2
  9. Bitmap - BMP - .bmp
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, see the help topic "Supported raster dataset file formats".

5.    Output Zip File

The zip file that will contain the extracted data.

Send Email with Zip File Attachment

How to use Send Email with Zip File Attachment Tool in Arc Toolbox ArcMap ArcGIS??

Send Email with Zip File Attachment Tool
Send Email with Zip File Attachment

Path to access the tool

:

Send Email with Zip File Attachment Tool, Data Extraction Toolset, Server Tools Toolbox

 

Send Email with Zip File Attachment

Emails a file to an email address using an SMTP email server.

This tool is primarily intended for use as a part of a Clip and Email/Data Extraction geoprocessing service. To this end, this script tool is contained in the Extract Data and Email Task model tool and is primarily intended for use by that model.

1.    To

The email address of the recipient.

2.    From

The email address of the sender.

3.    Subject

The text in the subject line of the email.

4.    Text

The body text of the email.

5.    Zip File

The file to be attached to the email.

6.    Max File Size (MB)

The maximum allowable size of an attachment.

If you don't know what to use for Max File Size, check the attachment size limit of your SMTP mail server and the recipient email provider.

7.    SMTP Email Server

The SMTP email server that will deliver the email.

8.    User (optional)

The user which will log in to the SMTP email server.

9.    Password (optional)

The user password used to connect to the SMTP email server (if necessary).

Comments

table of contents title