Select to view content in your preferred language

Data Extract Widget

548
3
03-16-2012 10:45 AM
jasonlewis3
Emerging Contributor
Hi
I am working on the data extract widget for the flex 2.5 viewer. It has installed properly and works fine but the output is not what I expected. The tool will not divide or split polygons. For example when I draw the AOI the return will omit any polygons that have been split or divided. I was expecting to get all data in the AOI. Is this the way the tool works? Or is there something I can do to fix this? My .xml file for the widget is below:

<?xml version="1.0" ?>
- <!--
////////////////////////////////////////////////////////////////////////////////
//
// CONFIGURATION:
// aioSelectionMethod can be "extent" or "draw."
// dataExtractionService is the url to the GP service.
//
////////////////////////////////////////////////////////////////////////////////


  -->
- <configuration label="Extract incident data">
  <dataextractionservice>http://s2-cor-pangaea:8399/arcgis/rest/services/demo1/GPServer/Extract%20Data%20Task</dataextractionservice>
  <aioselectionmethod>draw</aioselectionmethod>
  </configuration>
- <!--
    See Data Extract widget tag reference at
    http://links.esri.com/dataextractwidget


  -->
Tags (2)
0 Kudos
3 Replies
by Anonymous User
Not applicable
You are probably running into this:


NIM072621 - Flex Viewer's extract data widget  returns incorrect (or unexpected )output when using the draw rectangle method.

This issue was never resolved and was closed last September. I got around it by eliminating the rectangle tool from the widget.
0 Kudos
JustinConner
Frequent Contributor
I cant believe that I spent all afternoon messing with my gp task to get it to work and it was a silly bug that ESRI punted on! Grrr!

You are probably running into this:


NIM072621 - Flex Viewer's extract data widget  returns incorrect (or unexpected )output when using the draw rectangle method.

This issue was never resolved and was closed last September. I got around it by eliminating the rectangle tool from the widget.
0 Kudos
JustinConner
Frequent Contributor
Is there a way to remove the rectangle tool without editing the source code?
0 Kudos