<?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 Re: Clip and ship geoprocessing service to be utilized in silverlight app in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49254#M1327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Extract Data and Email Task model that is in ArcGIS Server 10 needs to be modified a bit in order to use with silverlight. Currently the GPMultiValue:GPString data type is not in the API so the Layer to be clipped must be fixed in the model itself. Other parameters can be passed normally. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what I did:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a graphics layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a Draw object for drawing polygons add them to the graphics layer for display&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add all the polygons drawn by the user to the parameter of type GPFeatureRecordSetLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GraphicsLayer graphicsLayer = MyMap.Layers["MyGraphicsLayer"] as GraphicsLayer;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = new Graphic()&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry = args.Geometry,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Symbol = _activeSymbol&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicsLayer.Graphics.Add(graphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters.Add(new GPFeatureRecordSetLayer("Area_of_Interest", args.Geometry));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Then add the rest of the parameter and finally submit the job&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 11:48:05 GMT</pubDate>
    <dc:creator>AnandUpadhya</dc:creator>
    <dc:date>2010-08-04T11:48:05Z</dc:date>
    <item>
      <title>Clip and ship geoprocessing service to be utilized in silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49252#M1325</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;We are planning to implement a new function in our existing web app which would use the clip and ship geoprocessing service. We have set up the geoprocessing service on the server side and did all the prerequired things but we have some difficulties with the coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We were not able to find almost any examples or sample codes for doing that, so we could use some help in order to have the basics to be able to build on later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We`d be happy for any help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tamas and Sampath&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 10:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49252#M1325</guid>
      <dc:creator>TamasHajdu</dc:creator>
      <dc:date>2010-07-26T10:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clip and ship geoprocessing service to be utilized in silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49253#M1326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The sample which looks the closest of what you need is this one : &lt;/SPAN&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;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you give more information about what is not working for you with this sample?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 13:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49253#M1326</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-26T13:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Clip and ship geoprocessing service to be utilized in silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49254#M1327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Extract Data and Email Task model that is in ArcGIS Server 10 needs to be modified a bit in order to use with silverlight. Currently the GPMultiValue:GPString data type is not in the API so the Layer to be clipped must be fixed in the model itself. Other parameters can be passed normally. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what I did:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a graphics layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a Draw object for drawing polygons add them to the graphics layer for display&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add all the polygons drawn by the user to the parameter of type GPFeatureRecordSetLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GraphicsLayer graphicsLayer = MyMap.Layers["MyGraphicsLayer"] as GraphicsLayer;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = new Graphic()&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry = args.Geometry,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Symbol = _activeSymbol&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicsLayer.Graphics.Add(graphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters.Add(new GPFeatureRecordSetLayer("Area_of_Interest", args.Geometry));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Then add the rest of the parameter and finally submit the job&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 11:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49254#M1327</guid>
      <dc:creator>AnandUpadhya</dc:creator>
      <dc:date>2010-08-04T11:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Clip and ship geoprocessing service to be utilized in silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49255#M1328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are a number of resources available online to assist you with consuming geoprocessing services:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Concepts: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help?GP_task.htm"&gt;http://help.arcgis.com/en/webapi/silverlight/help?GP_task.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OMD (in Tasks section): &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/ArcGISSilverlightOMDs.pdf"&gt;http://help.arcgis.com/en/webapi/silverlight/help/ArcGISSilverlightOMDs.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interactive samples (links to first sample in a section of geoprocessing samples): &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MessageInABottle"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MessageInABottle&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Library Reference (link to Geoprocessor task): &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/api_start.htm?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Geoprocessor.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/api_start.htm?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Geoprocessor.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The GP* types used by the task are in the same namespace as the task (ESRI.ArcGIS.Client.Tasks).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a side note, the data for the geoprocessing service demonstrated in the Clip Features sample mentioned in the post by dbroux above (&lt;/SPAN&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;) is available with ArcGIS Server 10 SDK.&amp;nbsp; Here is the .NET ADF sample that references the data: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/serveradf_net/conceptualhelp/index.html#/ArcGIS_ClipShip_Geoprocessing/00020000013r000000/"&gt;http://help.arcgis.com/en/sdk/10.0/serveradf_net/conceptualhelp/index.html#/ArcGIS_ClipShip_Geoprocessing/00020000013r000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 07:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49255#M1328</guid>
      <dc:creator>RexHansen</dc:creator>
      <dc:date>2010-08-13T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Clip and ship geoprocessing service to be utilized in silverlight app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49256#M1329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where do I find this extract Data and Email task model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, it would be nice to get an A-Z recipe for doing this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thing. It would be nice to be able to clip/ship all/some layers from all/some services that are being used on the map.&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;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The Extract Data and Email Task model that is in ArcGIS Server 10 needs to be modified a bit in order to use with silverlight. Currently the GPMultiValue:GPString data type is not in the API so the Layer to be clipped must be fixed in the model itself. Other parameters can be passed normally. &lt;BR /&gt;&lt;BR /&gt;Here's what I did:&lt;BR /&gt;1. Create a graphics layer&lt;BR /&gt;2. Create a Draw object for drawing polygons add them to the graphics layer for display&lt;BR /&gt;3. Add all the polygons drawn by the user to the parameter of type GPFeatureRecordSetLayer&lt;BR /&gt;&lt;BR /&gt;GraphicsLayer graphicsLayer = MyMap.Layers["MyGraphicsLayer"] as GraphicsLayer;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = new Graphic()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry = args.Geometry,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Symbol = _activeSymbol&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicsLayer.Graphics.Add(graphic);&lt;BR /&gt;&lt;BR /&gt;parameters.Add(new GPFeatureRecordSetLayer("Area_of_Interest", args.Geometry));&lt;BR /&gt;&lt;BR /&gt;4. Then add the rest of the parameter and finally submit the job&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 16:07:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clip-and-ship-geoprocessing-service-to-be-utilized/m-p/49256#M1329</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2010-10-14T16:07:02Z</dc:date>
    </item>
  </channel>
</rss>

