# Questions tagged [kernel-density]

A raster-based operation that spreads point values throughout their neighborhoods.

143 questions
Filter by
Sorted by
Tagged with
1 vote
41 views

### Data extraction from imagery in Google Earth Engine using neighborhoodToArray

I am new to Google Earth Engine and I'm working with a dataset contained multiple points with lat/lon coordinate. I want to query these points and extract the band value in the form of 2D array of ...
17 views

### What is unit of Heatmap (Kernel Density Estimation)? [duplicate]

I want to calculate a housing density using a points layer in the “WGS84 / UTM zone 56S” projection, setting the parameters as follows: RADIUS = 1000 PIXEL_SIZE = 100 KERNEL = “Quartic” OUTPUT_VALUE =...
9 views

### Kernel Density Estimation in arcpy for simulation data

I have been trying to work with simulation data using Kernel Density estimation in arcpy. The simulation data is generated by numpy package:random.multivariate_normal and therefore i can get the true ...
45 views

### How do I determine the distribution of my spatial data in order to choose a kernel density bandwidth estimation method?

I'm using kernel density estimates (KDE) to get animal home ranges. When researching bandwidth selection for KDE, I'm learning that it depends heavily on the data's distribution. I'd love to use ...
99 views

### Randomly generating points using weights from raster in QGIS

I need to randomly generate 10K points throughout my region of interest, but I need to weight the point selection by a set of probability weights, stored as a raster - such that higher probability ...
• 345
73 views

### How to export the mean around some pixels using a great radius without getting an error in Google Earth Engine?

I want to export some data from the Image Collections of Landsat 5 and 8 from some points to a .csv in Google Drive. The problem is that I want the mean value around pixels in a certain radius (a ...
153 views

### Heat Map - Cover non-point areas QGIS

I am doing a heat map of the density of schools within a specific area of a city. Right now, I have this: I would like to create a more formal map in which the white non-coloured aspects are coloured ...
• 31
128 views

### arcpy.sa.PointDensity raise ERROR 000354: The name contains invalid characters

I am trying to run the PointDensity function on a feature class located in a shapefile: [edit shp_file_path] shp_file_path = os.path.join('path_to_shp_folder', 'shp_file_name') if os.path.isfile(...
371 views

### ArcMap: ImportError: No module named sklearn.neighbors

I have tried to create my own Kernel Density Estimation tool in ArcMap, but when importing the sklearn.neighbors module I get the following error: from sklearn.neighbors import KernelDensity ...
1 vote
73 views

### OpenLayers: Change point colour to indicate number of overlapping points

I would like to have a heatmap that represents the number of overlapping points, basically to achieve the exact same thing as in this post, but in OpenLayers. At the moment I'm using opacity as an ...
1 vote
31 views

### Gaussian_KDE contour density/km^2

I am currently using gaussian_kde to do KDE on a set of coordinate points (each point represents a case). I am able to get out contours which is great; however, when I look at the actual contour level ...
• 11
1 vote
147 views

### Heatmap with Contour Polygons

I have point data off the coast of Oahu. Someone else used these same data to create two polygons (approximated by me in the figure below with the green and red hand-drawn boundary lines). I believe ...
• 230
232 views

### How can I plot a Kernel Density Estimation in a projected coordinate system in Python?

I am trying to plot a Kernel Density Estimation calculated from a geopandas GeoDataFrame in UTM. I am using sci-kit learn's KernelDensity, because other implementations don't allow for much ...
1 vote
782 views

### Spatial kernel density in Python

I have the data of the volume per area for Madrid. from mpl_toolkits.axes_grid1 import make_axes_locatable def setColorbar(ax, colormap, vmin, vmax): divider = make_axes_locatable(ax) cax = ...
• 157
1 vote
362 views

### How to interpret Kernel Density Maps

In this example, kernel density maps are created. In this example, it is shown how to create comparable kernel density raster maps Now I would like to understand what are the units of kernel density ...
• 848
255 views

### Generating Kernel density raster/stars with same dimensions

I would like to generate different rasters from kernel density functions with the same resolution, so that I can compare them. Take this example from here: library(MASS) library(raster) set.seed(123); ...
• 848
686 views

### Point density map in QGIS

I would like to create a map of point density of vector features /archealogical sites/ per hectar in QGIS /something like in an attached figure/. I doubt if the kernel density is a proper tool for ...
• 113
133 views

### Seeking Crime Analysis Solution Tools in QGIS

I want to create similar maps like shown at the bottom but I am "limited" to QGIS only right now. My goal is to compare crimes committed in 2019 to those in 2020 in the same date window of ...
119 views

### Understanding units in Kernel Density analysis using ArcMap

I'm having trouble understanding the units from a Kernel Density analysis in ArcMap. The Context: I am analyzing how many structures will be damaged by sea-level rise in a coastal community. I have ...
• 21
237 views

### ArcGIS Pro Kernel Density takes too long

I’ve been facing an issue with the Kernel Density tool. I’m trying to make density change maps for different crime types. I'm running ArcGIS Pro version 2.6.3. I’ve done this in the past without a ...
175 views

### Kernel density estimation for frequency data on polygon level

I would like to make kernel density estimations for a variety of influencing factors on crime, but I do only have frequency data on polygon level, e.g. number of drug markets on county level. For all ...
• 853
850 views

### In Python, what is the best way to replicate the QGIS Heatmap plugin?

I would like to create a spatial weighted heatmap in Python where I have control over the boundingbox, grid size and bandwidth. In example if I want to create a population heatmap on a grid of 200*200 ...
• 307
345 views

### Having trouble with the Heatmap's (Kernel Density Estimation-KDE) interpretation in QGIS 3.10

i wanted to generate a density/concentration map of a parameter, in this case Carbon percentage in a water sample. The dataset in csv file looks like these : So, I imported the csv file then plotted ...
• 155
71 views

### QGIS KDE (Heatmap) TIF file --> Open in ArcGIS in order to use Kernel Interpolation With Barriers

So I've created KDE .tif files in QGIS, but there are currently no plugins available in QGIS, which takes into account barriers when creating KDE density rasters for species. I can bring the .tif ...
45 views

### Calculate the class limits from the kernel density depending on the percentage of the source dataset

My goal is to make the class boundary of a kernel density dependent on a percentage of the input points. Specifically I calculate the kernel density from 3000 points in a 50m x 50 m grid with a search ...
• 131
1 vote
104 views

### Interpret a kernel density map for pollutants

I currently have a grid of values (concentration in ug/m^3) for a certain pollutant. I then converted each grid to a point to use as an input to the Kernel density analysis tool in ArcGIS pro. The ...
• 263
343 views

### Postgis/Postgresql - Interpolate equadistant points based on weighted attribution similar to QGIS Interpolation(Heatmap Kernal Density Estimation)

I have equadistant vector points, that are all 400m apart but only cover certain areas of a map that have a value of (1-5). In QGIS I can run the Kernel Density Estimation with my vector points to ...
1k views

### Choosing kernel density radius [closed]

I have 3 datasets with GPS points. Two of those are GPS points that represent boating activities (two different types) and the third represents turtle observations. I would like to perform Kernel ...
1 vote
195 views

### Choosing tool to create raster with probability of occurence on each cell using ArcGIS Desktop?

I have two different datasets: 1) seal occurence (point data) 2) fishing boat tracks (line data) First, I need to create two density maps, i.e. one for each dataset. ...
• 25
3k views

### Plotting density map of points?

I have some points and I would like to plot the density map of them. I have tried like this: plt.figure() xedges = np.linspace(540000, 550000, 20) yedges = np.linspace(5200000, 5500000, 20) H, ...
• 56
164 views

### Making informative legend for Kernel Density Estimate in QGIS?

I have used heatmap (kernel density estimation) in QGIS 3.0.1 to make a heatmap of boat counts. In my point data-each point is one boat. Then, in my kernel, I have used a 500m radius, with 500m pixel ...
• 21
7k views

### Plotting a heat map onto background in python using kde?

I have a geodataframe with points within the united states. Each point has a geometry attribute as well as a value. I would like to plot a heat map based on these values on top the map of the united ...
1 vote
330 views

### Kernel Density Estimate on point data in degrees (scikit-learn)

I am estimating point density, where I am having point coordinates in degrees, I need a raster(over the extent of these points) which provides a density estimation on each cell. I have tried on R but ...
1 vote
52 views

### Created heatmaps are not displayed

I created a few heatmaps based on 2 different shapefiles( point layers). Then I joined the data from the 2 shp files, the joined file looks perfectly fine. I created a view heatmaps based on the new ...
• 41
1 vote
79 views

### Using kernel density estimates as attributes for point data? [closed]

I have spatial point data (say addresses of all inhabitants of a metropolitan area or larger region) with context data for each point like age, gender, employment status, and so on. For each spatial ...
698 views

### Performing Weighted Overlay using vector data with no inherent values in ArcGIS Desktop? [closed]

I have been asked to do a weighted suitability analysis using all vector based polygon feature layers (8 different layers). Each layer has been ranked from 1 to 8 in order of importance. My problem ...
182 views

### Tools to conduct Kernel Network Density estimation in an ESRI environment

Are there any tools or resources to conduct Network Density Estimation using ArcGIS 10.5 or ArcGIS Pro? I've found this tool http://sanet.csis.u-tokyo.ac.jp/ but it only works on version 9 - 10.2.
• 526
2k views

### Why do the Heat Map (QGIS) and Kernel density estimation (SAGA) tools provide different results?

The Heat Map tool (QGIS) and the Kernel Density Estimation tool (SAGA) provide different results for the same data as shown below. Why is this happening? Is one of them more conceptually correct? ...
• 233
1 vote
79 views

### Calculating Kernel Density within defined region?

I am attempting to calculate a Kernel density raster dataset from a point dataset within a defined regional boundary. However the output dataset generated is in a large square that cuts off one of the ...
• 11
80 views

### Heatmap script gives ERROR 000358 from SQL expression using ArcPy with ArcMap

I have a heatmap script that will eventually print 10 PDF maps. At the moment it is failing at the SQL expression in the Make Feature Layer right before Kernel Density Raster creation because the ...
1 vote
93 views

### Unique values from Kernel Density

I have calculated Kernel Density for feature class "fc" using following code: dens = KernelDensity(fc,"NONE", 1, SearchRadius, "SQUARE_METERS", "DENSITIES", "PLANAR") The raster attribute table: I ...
719 views

### Estimate spatial kernel density from raster and output kernel values in a grid

I would like to use a raster map (find below) to estimate or create a kernel density distribution. The objective is to extrapolate the kernel density function and re-use it in order to distribute a ...
• 307
1 vote
76 views

### Modelling habitat heterogeneity in space: R function

I'm working on spatial landscape simulations and I would like to simulate a landscape where habitat quality varies in space. I did already some simulations assuming a landscape with higher habitat ...
• 307
625 views

### Choosing bandwidth and scaling factor for Kernel Density Estimate in ArcGIS Desktop?

I have some points that represent animal locations over the course of a few months at the scale of ~20 sqkm. I am emulating the work of previous researchers in this field, but I'm having trouble ...
• 61
1 vote
2k views

### Making 95% Volume Contour on ArcMap without Hawth's Tools or GME?

I have some points that represent animal locations over the course of a few months. I am emulating the work of previous researchers in this field. I'm still new to GIS, so I previously thought that I ...
• 61
155 views

### From Kernel Density to a polygon that covers 80 % of points

I have a set of occurrences as points in a district. I used Kernel Density tool, to show the areas of various densities. I also want to create one polygon that covers X % of points. I've tried the ...
437 views

### Showing specific kernel density contours using QGIS Animove?

This is more a graphics question (I calculated all the important stuff in R), but is it possible to edit the Kernel Density Estimation (KDE) output layers given by the Animove plugin to show only the ...
• 21
144 views

### Kernel density tool does not produce an .asc output file

I have made a kernel density map in ArcGIS 10.3 and 10.5, but the output appears as an .aux file, not an .asc file (which I will need to use for occurrenceThinner). A folder appears also with a ...
• 118
1 vote
1k views

### Determining search radius used in Kernel Density analysis?

When conducting kernel density analysis in ArcGIS (10.2) if you leave the search radius field blank I realise it uses a default based on an algorithm. Is there any easy/quick way to find out what ...
• 105