<div dir="ltr"><div dir="ltr">João and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 19, 2024 at 6:49 AM João Victor Martinelli via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Olá, bom dia! <div><div><br></div><div>Eu tenho o mapa de calor de um município, e gostaria de calcular a média da temperatura de cada um dos bairros, a partir de um shapefile. Será que é possível? </div><div><br></div><div>Obrigado!</div><div><br></div></div></div></blockquote><div>You can use geometric operations to produce the union (menu Vector > Geoprocessing tools > Union) of the municipal heat map layer and the neighborhood layer, which will give you polygons with attributes identifying which municipality and which neighborhood each polygon sits within.</div><div><br></div><div>At this point, you can set the neighborhood heat to be the same value as the municipal heat in each one of those polygons.</div><div><br></div><div>Finally, you can calculate the weighted average heat by neighborhood by multiplying each polygon area by its heat, summing across the neighborhoods and dividing by the neighborhood total area.</div><div><br></div><div>Does that make sense to you?<br></div></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>