<?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 Trying to send a MapPoint with Z value to GP Service that creates Viewshed, gives err in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/trying-to-send-a-mappoint-with-z-value-to-gp/m-p/25959#M683</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;One of our clients is trying to address a GeoProcessing service that creates ViewShed in ArcGIS Server 10.2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When he uses a MapPoint with no Z values, it run successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When he uses a MapPoint with Z values, it gives an error: "error code 400: unable to complete the operation. the coordinates or measures are out of bounds".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When he runs it in REST or when ArcMap is a client of this service, it works fine so it looks like the problem is not in the GP service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code that he runs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;GPParameters&amp;gt; parameters = new List&amp;lt;GPParameters&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;paramerers.Add(new GPLinearUnit("Distance", esriUnits.esriKilometers, Convert.ToDouble(nSize.Value)));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters.Add(new GPFeatureRecordSetLayer("ObserverPoint", mapPoint));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_geoprocessorTask.Executeasync(parameters);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 12:32:19 GMT</pubDate>
    <dc:creator>MiriEshel</dc:creator>
    <dc:date>2014-04-08T12:32:19Z</dc:date>
    <item>
      <title>Trying to send a MapPoint with Z value to GP Service that creates Viewshed, gives err</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/trying-to-send-a-mappoint-with-z-value-to-gp/m-p/25959#M683</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;One of our clients is trying to address a GeoProcessing service that creates ViewShed in ArcGIS Server 10.2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When he uses a MapPoint with no Z values, it run successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When he uses a MapPoint with Z values, it gives an error: "error code 400: unable to complete the operation. the coordinates or measures are out of bounds".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When he runs it in REST or when ArcMap is a client of this service, it works fine so it looks like the problem is not in the GP service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code that he runs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;GPParameters&amp;gt; parameters = new List&amp;lt;GPParameters&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;paramerers.Add(new GPLinearUnit("Distance", esriUnits.esriKilometers, Convert.ToDouble(nSize.Value)));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters.Add(new GPFeatureRecordSetLayer("ObserverPoint", mapPoint));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_geoprocessorTask.Executeasync(parameters);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 12:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/trying-to-send-a-mappoint-with-z-value-to-gp/m-p/25959#M683</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2014-04-08T12:32:19Z</dc:date>
    </item>
  </channel>
</rss>

