<?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 Find mean zonal stats using a geoseries or GeoJSON object - Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-mean-zonal-stats-using-a-geoseries-or-geojson/m-p/1141004#M7086</link>
    <description>&lt;P&gt;I have a TIFF file with imperviousness levels and a Geoseries object containing the boundary coordinates of circles around 9 points. I want to find the mean value using zonal_stats but I don't know how to pass the circle geometry objects.&lt;/P&gt;&lt;PRE&gt;geometry=[Point(xy) for xy in zip(df['longitude'], df['latitude'])]
geodata=gpd.GeoDataFrame(df,crs=crs, geometry=geometry)
buf_df = gpd.GeoSeries(geometry)
buff_circle= buf_df.buffer(0.001, cap_style = 1)&lt;/PRE&gt;&lt;P&gt;The buff_circle has the boundary coordinates of the&lt;A href="https://www.olansiid.com/" target="_self"&gt;&amp;nbsp;&lt;/A&gt;Circles&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 12:12:02 GMT</pubDate>
    <dc:creator>munabhaya</dc:creator>
    <dc:date>2022-02-17T12:12:02Z</dc:date>
    <item>
      <title>Find mean zonal stats using a geoseries or GeoJSON object - Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-mean-zonal-stats-using-a-geoseries-or-geojson/m-p/1141004#M7086</link>
      <description>&lt;P&gt;I have a TIFF file with imperviousness levels and a Geoseries object containing the boundary coordinates of circles around 9 points. I want to find the mean value using zonal_stats but I don't know how to pass the circle geometry objects.&lt;/P&gt;&lt;PRE&gt;geometry=[Point(xy) for xy in zip(df['longitude'], df['latitude'])]
geodata=gpd.GeoDataFrame(df,crs=crs, geometry=geometry)
buf_df = gpd.GeoSeries(geometry)
buff_circle= buf_df.buffer(0.001, cap_style = 1)&lt;/PRE&gt;&lt;P&gt;The buff_circle has the boundary coordinates of the&lt;A href="https://www.olansiid.com/" target="_self"&gt;&amp;nbsp;&lt;/A&gt;Circles&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 12:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-mean-zonal-stats-using-a-geoseries-or-geojson/m-p/1141004#M7086</guid>
      <dc:creator>munabhaya</dc:creator>
      <dc:date>2022-02-17T12:12:02Z</dc:date>
    </item>
  </channel>
</rss>

