<?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 Summarize Sentinel-2 image server by polygon in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/summarize-sentinel-2-image-server-by-polygon/m-p/1104572#M6714</link>
    <description>&lt;P&gt;Hi, I'm trying to summarize Sentinel-2 pixel values with a polygon (to get the mean NDVI) using the ArcGIS API for Python and the&amp;nbsp;Living Atlas Sentinel-2 View.&lt;/P&gt;&lt;P&gt;I've tried using an ImageryLayer (&lt;FONT color="#FF0000"&gt;&lt;EM&gt;arcgis.raster.ImageryLayer&lt;/EM&gt;&lt;/FONT&gt;) which is great as I can filter the view by an objectid to get a specific image. However, the&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;arcgis.raster.analytics.summarize_raster_within&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;tool gives me an error, "Unable to create service".&lt;/P&gt;&lt;P&gt;I then tried using the 'Summarize' operation in &lt;FONT color="#FF0000"&gt;&lt;EM&gt;arcgis.raster.Raster&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;which works fine but doesn't let me filter the Sentinel-2 view to a specific image. It seems like you cannot create a Raster object of a filtered ImageryLayer ("ImageryLayer has no attribute find").&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way of achieving this?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2021 20:45:25 GMT</pubDate>
    <dc:creator>AndrewBartle</dc:creator>
    <dc:date>2021-10-04T20:45:25Z</dc:date>
    <item>
      <title>Summarize Sentinel-2 image server by polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/summarize-sentinel-2-image-server-by-polygon/m-p/1104572#M6714</link>
      <description>&lt;P&gt;Hi, I'm trying to summarize Sentinel-2 pixel values with a polygon (to get the mean NDVI) using the ArcGIS API for Python and the&amp;nbsp;Living Atlas Sentinel-2 View.&lt;/P&gt;&lt;P&gt;I've tried using an ImageryLayer (&lt;FONT color="#FF0000"&gt;&lt;EM&gt;arcgis.raster.ImageryLayer&lt;/EM&gt;&lt;/FONT&gt;) which is great as I can filter the view by an objectid to get a specific image. However, the&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;arcgis.raster.analytics.summarize_raster_within&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;tool gives me an error, "Unable to create service".&lt;/P&gt;&lt;P&gt;I then tried using the 'Summarize' operation in &lt;FONT color="#FF0000"&gt;&lt;EM&gt;arcgis.raster.Raster&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;which works fine but doesn't let me filter the Sentinel-2 view to a specific image. It seems like you cannot create a Raster object of a filtered ImageryLayer ("ImageryLayer has no attribute find").&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way of achieving this?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 20:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/summarize-sentinel-2-image-server-by-polygon/m-p/1104572#M6714</guid>
      <dc:creator>AndrewBartle</dc:creator>
      <dc:date>2021-10-04T20:45:25Z</dc:date>
    </item>
  </channel>
</rss>

