<?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: ArcGIS image server - extracting images with python in ArcGIS Image Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321552#M588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To make requests using Python you need to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. use the soap url (without �??rest/�?�)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Make image server layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use the imageserverlayer as input&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see the following blog post on getting a geoprocessing service to work with image services: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/02/01/designing-a-geoprocessing-service-to-work-with-image-service-part-one/"&gt;http://blogs.esri.com/esri/arcgis/2011/02/01/designing-a-geoprocessing-service-to-work-with-image-service-part-one/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2012 16:13:27 GMT</pubDate>
    <dc:creator>PeterBecker</dc:creator>
    <dc:date>2012-08-08T16:13:27Z</dc:date>
    <item>
      <title>ArcGIS image server - extracting images with python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321547#M583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to write some python code to reference an &lt;/SPAN&gt;&lt;A href="http://kyraster.ky.gov/ArcGIS/rest/services/ElevationServices/RegionalMosaic/ImageServer"&gt;image service&lt;/A&gt;&lt;SPAN&gt;. The entire code is below but the local variable statement is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KYLiDARData = "http:\\kyraster.ky.gov\\ArcGIS\\rest\\services\\ElevationServices\\RegionalMosaic\\ImageServer"&amp;nbsp; .&amp;nbsp;&amp;nbsp; When i run it i get the error ERROR 000865: Input raster: http:\kyraster.ky.gov\ArcGIS\rest\services\ElevationServices\RegionalMosaic\ImageServer does not exist.&amp;nbsp; But if I past that web page it goes right to the page it works in a browser.&amp;nbsp; I'm confused.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate anyone who could help me reference this image service correctly.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The full code is below&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# iterate_lidar_grab3.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Created on: 2012-08-07 12:51:10.00000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Description: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Check out any necessary licenses&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CheckOutExtension("spatial")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Local variables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KYLiDARData = "http:\\kyraster.ky.gov\\ArcGIS\\rest\\services\\ElevationServices\\RegionalMosaic\\ImageServer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ClipFeatures = "D:\\Mueller_UK\\Projects\\SuperComputer\\2.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom_B_test = "D:\\Mueller_UK\\Projects\\SuperComputer\\KY_Lidar\\Tom_B_test_2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Extract by Mask (2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.gp.ExtractByMask_sa(KYLiDARData, ClipFeatures, Tom_B_test)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321547#M583</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-07T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS image server - extracting images with python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321548#M584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may want to reference this clip and ship example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=d250f327d93b42f2ad8555b5b99f1458"&gt;http://www.arcgis.com/home/item.html?id=d250f327d93b42f2ad8555b5b99f1458&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nelson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 17:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321548#M584</guid>
      <dc:creator>NelsonDe_Miranda</dc:creator>
      <dc:date>2012-08-07T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS image server - extracting images with python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321549#M585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Nelson.&amp;nbsp; This looks like what exactly what want but it looks like it is for ArcGIS 10.1.&amp;nbsp;&amp;nbsp; Do you think this is stable enough yet to migrate to.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 17:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321549#M585</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-07T17:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS image server - extracting images with python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321550#M586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been working with 10.1 quite a bit recently and i've found it to be much more stable than 10.0 was at launch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to set up a test server to see how it works with your current environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nelson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 12:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321550#M586</guid>
      <dc:creator>NelsonDe_Miranda</dc:creator>
      <dc:date>2012-08-08T12:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS image server - extracting images with python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321551#M587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Nelson, I installed 10.1 yesterday and it dodn't crash any more than 10.0.&amp;nbsp; I like the new feel to it.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried clip and ship but it did not work and I did not get informative errors.&amp;nbsp; Have you tried it.&amp;nbsp;&amp;nbsp; I think it may be related to how I have my web service specified but I can't tell for sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've been working with 10.1 quite a bit recently and i've found it to be much more stable than 10.0 was at launch.&lt;BR /&gt;&lt;BR /&gt;You may want to set up a test server to see how it works with your current environment.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Nelson&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 13:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321551#M587</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-08T13:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS image server - extracting images with python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321552#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To make requests using Python you need to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. use the soap url (without �??rest/�?�)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Make image server layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use the imageserverlayer as input&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see the following blog post on getting a geoprocessing service to work with image services: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/02/01/designing-a-geoprocessing-service-to-work-with-image-service-part-one/"&gt;http://blogs.esri.com/esri/arcgis/2011/02/01/designing-a-geoprocessing-service-to-work-with-image-service-part-one/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 16:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/arcgis-image-server-extracting-images-with-python/m-p/321552#M588</guid>
      <dc:creator>PeterBecker</dc:creator>
      <dc:date>2012-08-08T16:13:27Z</dc:date>
    </item>
  </channel>
</rss>

