<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div> Hi,</div><div><br><div>Also, before sending this to spss, I would investigate if the statistics you plan to use are resistant to the effects autocorrelation.  If not, you will violate the fact that each sample need to be independent of each other.  I would look for spatial statistics.  You can look at GeoDa, R spatial packages...  <br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 27 mars 2021 à 15:18, Christine <geo.guide@web.de> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Dear Milena,</span><br><span></span><br><span>have a look at the tool  'Sample raster values' in QGIS Geoprocessing: This</span><br><span>algorithm creates a new vector layer with the same attributes of the input</span><br><span>layer and the raster values corresponding on the point location.</span><br><span></span><br><span>If you sample the values of your raster layers for your given points (large</span><br><span>airports or outbreak location points) you should get what you want. To</span><br><span>complete the parameters for your regression analysis you should probably</span><br><span>also perform a distance analysis, perhaps with the tool 'Distance to nearest</span><br><span>hub (points)', but I never used this tool. </span><br><span></span><br><span>I would try the sampling of the rasters and a distance analysis focusing</span><br><span>both on the airports and the outbreak location points as well. I mean</span><br><span>approach the regression from both sides. </span><br><span></span><br><span>Regards, Christine</span><br><span></span><br><span></span><br><span></span><br><span></span><br><span>Milena Muehler wrote</span><br><blockquote type="cite"><span>... I have several raster layers (population density; livestock density;</span><br></blockquote><blockquote type="cite"><span>mammal density; etc.) and two text layers (so I've imported two csv files</span><br></blockquote><blockquote type="cite"><span>with longitudes and latitudes into QGIS and now I have points about the</span><br></blockquote><blockquote type="cite"><span>location of large airports and location points where there was a zoonotic</span><br></blockquote><blockquote type="cite"><span>infectious disease outbreak). </span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>My intention is to „combine“ all layers and to get all the values under</span><br></blockquote><blockquote type="cite"><span>this specific point of an outbreak. So that I have the exact value of the</span><br></blockquote><blockquote type="cite"><span>population density, livestock density ans so on where the outbreak</span><br></blockquote><blockquote type="cite"><span>occurred. I guess I have to make the calculation within a certain vicinity</span><br></blockquote><blockquote type="cite"><span>though. </span><br></blockquote><blockquote type="cite"><span>[...]</span><br></blockquote><blockquote type="cite"><span>In the end I want to have a file as an output with values to make</span><br></blockquote><blockquote type="cite"><span>regression analysis in SPSS. </span><br></blockquote><span></span><br><span></span><br><span></span><br><span></span><br><span></span><br><span>--</span><br><span>Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html</span><br><span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></body></html>