Data extract widget

This page describes an older version, please read about the latest version at:
http://resources.arcgis.com/en/help/flex-viewer/concepts/

This widget enables end users to select a subset of data from the visible data content in the Viewer application's map display, and download it locally onto the client machine as a zip file. End users define the data subset by specifying an area of interest. Behind the scenes, it works with a "Clip and Ship" geoprocessing service.

Screenshot of Data Extract widget

Workflow

  1. Define an area of interest (to extract data) using one of the area boundary creation tools (from left to right):

    • polygon
    • freehand polygon
    • rectangle
    • circle
    • ellipse

    If the defined area is not correct, it can be discarded by clicking Clear.
  2. Select data layers of interest to extract (based on your GP service) using the checkboxes.
  3. Select data format of extracted data (based on your GP service) from the dropdown list. Available formats depend on the specific pblished tasks, but generally include:
    • File geodatabase (.gdb)
    • Shapefile (.shp)
    • Autodesk AutoCAD (.dxf)
    • Autodesk AutoCAD (.dwg)
    • Bentley Microstation Design v8 (.dgn)
  4. Click Extract.

The Data Extract dialog will appear, prompting the end user to specify a location for saving the data subset.

The extracted data will be saved locally as a zip file named extractedData.zip.

Conceptual workflow

Requires: a feature service (to extract data from) and a geoprocessing service (that performs the 'clip and ship' functionality).

Setting up your own Data Extract service

This widget leverages the Clip and Ship functionality from ArcGIS Desktop. Read about GP Service example: "Clip and ship" in the ArcGIS Desktop help documentation, to learn more about setting up your own server with a data extraction service. Some points to keep in mind when creating your own GP service:

Its recommended to try to make it similar to this Extract Data Task sample.

Test drive the Data extract widget or read its tag reference.

2/15/2012