title: Python: how to convert geotiff to geopandas?
body: <p>I have a geotiff file.</p>
  <pre><code>import xarray as xr
  urbanData = xr.open_rasterio('myGeotiff.tif')
  plt.imshow(urbanData)
  </code></pre>
  <p>Here the <a href="https://drive.google.com/file/d/1jYYj9K5Lvvq4S0uSLbsiWr3sLYXSlJS7/view?usp=sharing" rel="nofollow noreferrer">link</a> to the file.</p>
  <p>I can convert the file as a dataframe with coordinates as points</p>
  <pre><code>ur  = xr.DataArray(urbanData, name='myData')
  ur  = ur.to_dataframe().reset_index() 
  gdfur  = gpd.GeoDataFrame(ur, geometry=gpd.points_from_xy(ur.x, ur.y))
  </code></pre>
  <p>However I would like to get a dataframe that contains the geometry of the pixels as polygons and not as points. Is it possible?</p>