<?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: How to access elevation values? (Urgent) in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693648#M2105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) we don't have any definate release planned for that, but it will potentially be included in 10.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) yes if you need the get the elevation values in the client, you will need an ImageService (unless you just need them in a local file without drawing an image, see idea below.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) at the moment the Runtime for Java SDK doesn't support ImageService (either from a package or ArcGIS Server service). This is not currently planned for the 10.1 release. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an idea we haven't tried yet. How about writing a GP model which takes the input and output paths of the rasters as a strings (rather than urls to images). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The model could contain python script to do any extra steps you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gayle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 12:09:28 GMT</pubDate>
    <dc:creator>GayleYoung</dc:creator>
    <dc:date>2011-09-29T12:09:28Z</dc:date>
    <item>
      <title>How to access elevation values? (Urgent)</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693645#M2102</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;I need to access the elevation values from a layer in my map package. What is the recommended way of doing this in the Runtime? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With ArcObjects we used a MosaicRaster class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 1) added in the rasters one at a time, then used a RasterGeometerProc to resample and clip. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 2) Then we read it into an IPixelBlock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 3) Manipulate the pixel data with regular Java rasters and buffered images.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the API is not available, is it supported if I connect to the embedded REST server directly? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Derek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 14:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693645#M2102</guid>
      <dc:creator>DerekGray</dc:creator>
      <dc:date>2011-09-20T14:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to access elevation values? (Urgent)</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693646#M2103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it sounds like the basic workflow would be to manipulate your images using Geoprocessing tools. With ArcMap/ArcCatalog you can publish and share tools/models as a Geoprocessing service which returns a MapService result. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Geoprocessing service is shared to either ArcGIS Runtime (via a geprocessing package .gpk) and/or as an ArcGIS Server GP service. In both cases the Runtime for Java SDK would execute the tool from the service and display the result image from the resulting Map Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At Beta 1, the ArcGIS Runtime SDKs do not support raster files as an input to a GP tool/model; but this is something we are looking at providing in a future release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can the current GP tools provided with ArcMap/ArcCatalog manipulate the rasters in the way you require?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at Data Management-&amp;gt;Raster tools. In particular Raster Processing. I believe there are clip and resample tools. These could be run sequentially in a GP model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, you can use the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/index.html"&gt;Image Service directly via REST&lt;/A&gt;&lt;SPAN&gt; to download raster files. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your question,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gayle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 10:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693646#M2103</guid>
      <dc:creator>GayleYoung</dc:creator>
      <dc:date>2011-09-28T10:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to access elevation values? (Urgent)</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693647#M2104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gayle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Can you please clarify what you mean by "in a future release"? Do you mean that GP will be able to accept rasters as input at 10.1 release? or Beta 2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Getting a MapService back from the geoprocessor is no good because I need an ImageService to get the result, right? I need something that retains the elevation values, not RGB values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I could not figure out how to invoke the Image Service. From the runtime I can easily get the MapServer url using LocalMapService. There are also LocalFeatureService and LocalGeoprocessingService classes, but no "LocalImageService" class. If I hand-craft the url to try a ".../ImageServer/exportImage..." request, the browser just returns 400, "unknown operation".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also see an "ImageServer" class, but its Javadoc is empty and I'm not sure what URL to pass into the constructor...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or did you mean the image service &amp;amp; url of an existing ArcGIS server? That's not an option for me. I need to get the rasters from the map package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I proceed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Derek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 14:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693647#M2104</guid>
      <dc:creator>DerekGray</dc:creator>
      <dc:date>2011-09-28T14:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to access elevation values? (Urgent)</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693648#M2105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) we don't have any definate release planned for that, but it will potentially be included in 10.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) yes if you need the get the elevation values in the client, you will need an ImageService (unless you just need them in a local file without drawing an image, see idea below.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) at the moment the Runtime for Java SDK doesn't support ImageService (either from a package or ArcGIS Server service). This is not currently planned for the 10.1 release. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an idea we haven't tried yet. How about writing a GP model which takes the input and output paths of the rasters as a strings (rather than urls to images). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The model could contain python script to do any extra steps you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gayle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 12:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693648#M2105</guid>
      <dc:creator>GayleYoung</dc:creator>
      <dc:date>2011-09-29T12:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to access elevation values? (Urgent)</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693649#M2106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for the clarifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will definitely explore your suggestion. Can the runtime support &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;returning&lt;/SPAN&gt;&lt;SPAN&gt; a raster result, even if it doesn't yet support it as an input parameter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 14:11:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-access-elevation-values-urgent/m-p/693649#M2106</guid>
      <dc:creator>DerekGray</dc:creator>
      <dc:date>2011-09-29T14:11:26Z</dc:date>
    </item>
  </channel>
</rss>

