Questions tagged [kernel-density]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
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 ...
user avatar
0 votes
0 answers
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 =...
user avatar
0 votes
0 answers
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 1
3 votes
2 answers
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 ...
user avatar
0 votes
0 answers
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 ...
user avatar
3 votes
2 answers
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 ...
user avatar
  • 31
0 votes
1 answer
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(...
user avatar
0 votes
0 answers
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 ...
user avatar
  • 1
1 vote
1 answer
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
  • 11
1 vote
0 answers
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 ...
user avatar
3 votes
0 answers
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 ...
user avatar
1 vote
0 answers
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 = ...
user avatar
  • 157
1 vote
1 answer
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 ...
user avatar
  • 848
0 votes
1 answer
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); ...
user avatar
  • 848
3 votes
1 answer
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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
2 votes
0 answers
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 ...
user avatar
  • 21
0 votes
3 answers
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 853
3 votes
2 answers
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 ...
user avatar
  • 307
2 votes
0 answers
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 ...
user avatar
  • 155
0 votes
0 answers
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 131
1 vote
1 answer
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 ...
user avatar
  • 263
4 votes
1 answer
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 ...
user avatar
3 votes
2 answers
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 ...
user avatar
1 vote
1 answer
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. ...
user avatar
  • 25
2 votes
1 answer
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, ...
user avatar
  • 56
2 votes
0 answers
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 ...
user avatar
  • 21
3 votes
1 answer
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
  • 41
1 vote
0 answers
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
2 votes
2 answers
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.
user avatar
6 votes
0 answers
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? ...
user avatar
  • 233
1 vote
1 answer
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 ...
user avatar
  • 11
0 votes
1 answer
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
0 votes
0 answers
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
2 votes
0 answers
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 ...
user avatar
  • 61
1 vote
2 answers
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 ...
user avatar
  • 61
0 votes
0 answers
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 ...
user avatar
2 votes
0 answers
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 ...
user avatar
-2 votes
2 answers
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 ...
user avatar
  • 118
1 vote
1 answer
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 ...
user avatar
4 votes
1 answer
2k views

95% contour from kernel density estimates [closed]

I am looking to calculate the 95% volume contour from a kernel density estimate to estimate an animal's home range. Normally, I work in R, but I calculated the "kernel density estimate" in ArcGIS so ...
user avatar