<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Data Extraction Service in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44002#M1196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the following URL, &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/gallery/video/arcgis-server/details?entryID=4A08A4AE-1422-2418-888D-E79B9C266306"&gt;http://resources.arcgis.com/gallery/video/arcgis-server/details?entryID=4A08A4AE-1422-2418-888D-E79B9C266306&lt;/A&gt;&lt;SPAN&gt;, ArcGIS Server Product Manager Ismael Chivite describes how to use the Data Extraction Service with the Flex Viewer.&amp;nbsp; Is there a similar step-by-step guide for doing the same with Silverlight?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Nov 2010 16:06:49 GMT</pubDate>
    <dc:creator>PaulHuppé</dc:creator>
    <dc:date>2010-11-08T16:06:49Z</dc:date>
    <item>
      <title>Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44002#M1196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the following URL, &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/gallery/video/arcgis-server/details?entryID=4A08A4AE-1422-2418-888D-E79B9C266306"&gt;http://resources.arcgis.com/gallery/video/arcgis-server/details?entryID=4A08A4AE-1422-2418-888D-E79B9C266306&lt;/A&gt;&lt;SPAN&gt;, ArcGIS Server Product Manager Ismael Chivite describes how to use the Data Extraction Service with the Flex Viewer.&amp;nbsp; Is there a similar step-by-step guide for doing the same with Silverlight?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 16:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44002#M1196</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2010-11-08T16:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44003#M1197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately there is not a video for Silverlight or JavaScript specifically, but the steps for setting up a �??data extraction�?� service are the same regardless of the client API.&amp;nbsp;&amp;nbsp; We host a sample data extraction service (actually a GP and Map service) here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver4.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity"&gt;http://sampleserver4.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll consider adding a sample that uses this service to the interactive SDK.&amp;nbsp; In the meantime, we do host a similar sample here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClipFeatures"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClipFeatures&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to gleen what is necessary for consuming an async data extraction GP service from that sample.&amp;nbsp; The data for this sample is included with the ArcGIS .NET SDK under: &amp;lt;ArcGIS Developer Kit install directory&amp;gt;/Samples/data/GP/RunClip/USA_data_ClipTools and &amp;lt;ArcGIS Developer Kit install directory&amp;gt;/Samples/data/USA/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Rex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 06:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44003#M1197</guid>
      <dc:creator>RexHansen</dc:creator>
      <dc:date>2010-11-09T06:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44004#M1198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have had no problems setting up the map and GP services. My problem seems to be in the code behind to call the GP service.&amp;nbsp; I have code to setup the parameters in code behind, but when the job is submitted, I get no errors, but it also never seems to execute.&amp;nbsp; The application just sits there waiting and never gets to the Geoprocessor_JobCompleted method.&amp;nbsp; If I look at the rest service via the web, I see the following parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter direction :esriGPParameterDirectionInput&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Layers_to_Clip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Type: GPMultiValue:GPString&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Area_of_Interest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Type: GPFeatureRecordSetLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Feature_Format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Type: GPString&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Raster_Format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Type: GPString&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter direction: esriGPParameterDirectionOutput&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Output_Zip_File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Type: GPDataFile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my code behind, I have the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameters.Add(new GPString("Layers_to_Clip", _layerNames));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameters.Add(new GPFeatureRecordSetLayer("Area_of_Interest", _clipRect));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameters.Add(new GPString("Feature_Format", "File Geodatabase - GDB - .gdb"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameters.Add(new GPString("Raster_Format", "File Geodatabase - GDB - .gdb"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameters.Add(new GPString("Output_Zip_File", "output.zip"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geoprocessorTask.SubmitJobAsync(parameters);
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Where _layerNames is a list of desired layers separated by ",". How do I send a GPMultiValue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _clipRect is a polygon that the user draws on the map on the graphics layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44004#M1198</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2021-12-10T21:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44005#M1199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I simplified my task to only accept the AOI, the input feature format and output feature format to try to find out what is going wrong.&amp;nbsp; Now, at least I am getting some feedback from the GP service.&amp;nbsp; If I look at Fiddler when executing the task, I get what you see in the attached picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The value of AreaOfInterest is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"geometryType":"esriGeometryEnvelope","spatialReference":{"wkid":54016},"features":[{"geometry":{"xmin":-10804935.8343254,"ymin":5075598.21276361,"xmax":-4965461.02456827,"ymax":8945129.7132051,"spatialReference":{"wkid":54016}},"attributes":{}}]}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 15:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44005#M1199</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2010-11-18T15:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44006#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I am getting closer.&amp;nbsp; I modified my C# code to send a Polygon instead of a Geometry. I am now sending the following for the AreaOfInterest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
{"geometryType":"esriGeometryPolygon","spatialReference":{"wkid":54016},"features":[{"geometry":{"spatialReference":{"wkid":54016},"rings":[[[-9644076.38419297,5796738.17420953],[-9644076.38419297,7907391.71990488],[-5457946.85189718,7907391.71990488],[-5457946.85189718,5796738.17420953],[-9644076.38419297,5796738.17420953]],[[-9239534.45460135,5761560.6151146],[-9239534.45460135,7801859.04262011],[-7216824.80664331,7801859.04262011],[-7216824.80664331,5761560.6151146],[-9239534.45460135,5761560.6151146]]]},"attributes":{}}]}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I execute the GP task via the REST interface, I get the following results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Job Status: esriJobFailed

Job Messages: 


esriJobMessageTypeInformative: Submitted. 
esriJobMessageTypeInformative: Executing... 
esriJobMessageTypeInformative: Executing (ExtractData): ExtractData "Feature Set" "File Geodatabase - GDB - .gdb" "File Geodatabase - GDB - .gdb" 
esriJobMessageTypeInformative: Start Time: Fri Nov 19 09:35:38 2010 
esriJobMessageTypeInformative: Running script ExtractData... 
esriJobMessageTypeError: ERRORS: Traceback Info: File "\\S5-BSC-IMS2\MapDefinitions\BaseMapService\Scripts\ExtractData.py", line 330, in zipFolder = clipAndConvert(layers, areaOfInterest, featureFormat, rasterFormat, coordinateSystem) Error Info: : exceptions must be old-style classes or derived from BaseException, not str 
esriJobMessageTypeInformative: Completed script ExtractData... 
esriJobMessageTypeError: Failed to execute (ExtractData). 
esriJobMessageTypeInformative: Failed at Fri Nov 19 09:35:51 2010 (Elapsed Time: 13.00 seconds) 
esriJobMessageTypeError: Failed. 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Line 330 in the Python script corresponds to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
zipFolder = clipAndConvert(layers, areaOfInterest, featureFormat, rasterFormat, coordinateSystem)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure what that error refers to. It does not tell me which parameter it is having problems with!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:41:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44006#M1200</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2021-12-10T21:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44007#M1201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also have the Rectangle issue. But the polygon Area_Of_Interest works for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 23:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44007#M1201</guid>
      <dc:creator>JingjingLi</dc:creator>
      <dc:date>2011-02-03T23:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extraction Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44008#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My AOI does not work,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I also have the Rectangle issue. But the polygon Area_Of_Interest works for me.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you mind sharing your C# and Python code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 10:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/data-extraction-service/m-p/44008#M1202</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2011-02-04T10:31:39Z</dc:date>
    </item>
  </channel>
</rss>

