We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [spatial-cluster]

Use this tag when referring to spatial clustering in GIS.

Filter by
Sorted by
Tagged with
1
vote
0answers
23 views

Defining Parameters using Spatially Constrained Multivariate Clustering of ArcGIS Pro

I have a point shapefile with 51673 features. I am trying to cluster them using the Spatially Constrained Multivariate Clustering tool in ArcGIS Pro. After reading through the documentation, I'm ...
0
votes
1answer
22 views

Cluster analysis based on both location and attribute (seconds)? [closed]

I'm looking to create clusters both on spatial density, as well as an attribute (time, in seconds). Essentially, I am trying to figure out what areas are choke points in terms of time spent at certain ...
1
vote
1answer
41 views

Create point clusters based on grid

I am trying to make a systematic cluster sampling pattern for data collection. The sampling consist of the points placed over the landscape in 6 km span (red). From this major point, I need to create ...
1
vote
1answer
98 views

Clustering spatial lines in R by direction

There are tens of ways to cluster spatial points in R but I couldn't find any for spatial lines. What I would like to get is the average trajectory directions that each of these cyclones (spatial ...
2
votes
1answer
41 views

Applying QGIS point cluster exception

I have applied a point clustering effect on a layer in QGIS. What I'd like to be able to do is cluster on all features except the ones that I have a NULL value in an attribute. I can Categorize on ...
1
vote
1answer
51 views

Create fake clustered raster data in ArcGIS [closed]

I'd like to create several polygon grids with fake species occurrence (see example image) where each grid cell has a random value between 0 and 5 but high and low values cluster in certain areas as ...
3
votes
1answer
54 views

Clustering geometry points, return a point's label if the point does not belong to a cluster?

I am clustering geometry points using the k-mean algorithm. The result is a list of clusters. Some clusters contain multiple points. Others only contain a single point. On the client side, we would ...
0
votes
0answers
19 views

Clustering markers on a map ON THE SERVER SIDE with Java and MapTiler Cloud?

How can I cluster map markers on the (Java) server side of my website? I am planning to use Leaflet.js with Open Street Map data and OpenMapTiles (MapTiler Cloud - https://www.maptiler.com/cloud/) ...
0
votes
1answer
78 views

Point Similarity Clustering

I am new to geographical statistics so please pardon this question if it is a duplicate. I would like to test if points that are similar are more or less likely to be near each other. I am latitude ...
2
votes
1answer
48 views

Fixing colors of LISA Cluster maps from Pysal?

I am using the LISA Cluster package from Pysal to create a LISA (Local Indicator of Spatial Autocorrelation) map. As the example of the documentation shows, the color lightblue is used to identify ...
1
vote
1answer
68 views

Calculating Moran's I for buffers of forest cover?

I'm trying to figure out if buffers I have created in ArcMap (measuring percent forest cover in a 1 km distance from a land use map within the buffer) around points at which I will be collecting ...
1
vote
2answers
90 views

Problems with ST_ClusterDBSCAN cluster sizes

I want to cluster all villages (and towns, ...) around the world. So instead of having millions of them, I'd like to reduce them by combining villages that are close enough (like 10km or so) to each ...
6
votes
1answer
403 views

Creating Groups of points based on proximity in QGIS?

I have a dataset with around 900 points and I want to cluster them into groups of 44 based on proximity. Is this possible in QGIS? I have tried to use the convex hull tool with no success.
1
vote
0answers
78 views

Is there an equivalent to “Build Balanced Zones” from ArcGIS Pro in QGIS?

"Build Balances Zones" was introduced in ArcGIS Pro 2.4 and allows a kind of spatial clustering with the help of genetic growth algorithm: The Build Balanced Zones tool uses a genetic algorithm to ...
2
votes
2answers
69 views

Applying ST_ClusterDBSCAN repeatedly until cluster sizes small enough

I am looking for a way to spatially clusters thousands of datapoints (potentially millions) based on distance, such that each cluster contains less than 5000 points. This is a similar question to ...
2
votes
1answer
163 views

Cluster analysis for different plant species with elevation, aspect, slope rasters using ArcGIS Desktop?

I am using ArcGIS Desktop. I have a point shapefile for 5 different plant species and rasters (elevation, slope, aspect, canopy height). I am trying to find clusters for each species in terms of ...
2
votes
0answers
394 views

PostGIS - Dynamic Server-Side Clustering based on Zoom level

I'm working on a Ruby on Rails application that is showing road signs on the map(leaflet). So, user can browse map and road signs, great. But, if there are a lot of signs and user wants to zoom out, ...
3
votes
1answer
54 views

Get the probable right location from multiple points

I have a location collection tool which send me location data of our survey. Surveyors send multiple data of a single item. Such as they send numarous data for a school like the following image. From ...
0
votes
1answer
113 views

Spatially constrained multivariate clustering in ArcPy gives AttributeError?

i want to use the Spatially constrained multivariate clustering tool for a point shapefile. I'm using PyScripter. The shapefile is named "LITO2016_area_modelli_20190312_v2" and the attribute fields i ...
1
vote
1answer
57 views

Creating clusters based on attribute and proximity [duplicate]

In my map as you see below, I have my population by district. I want to create 50 clusters with similiar sums of the population and by proximity. How I can achieve this? For each cluster, I want the ...
0
votes
0answers
44 views

Point patterns clustering around reference points?

I have two point shapefiles. I want to analyse whether the points in the dataset A are clustering around their respective reference point in the dataset B. Each reference point in the dataset B has a ...
3
votes
1answer
52 views

How to UPDATE a column with cluster IDs in PostGIS?

I have a table with points in it, and I want to cluster them. I had created a separate table to hold the clusters, but I ended up copying all the data from the original table into the new cluster ...
3
votes
0answers
59 views

Clustering based on eqaul populations

I have a map of a city that is divided into 65 sectors (building lots in purple, sector boundaries in red): In my shapefile of building lots, I have an attribute that is the total population within ...
1
vote
1answer
103 views

Cluster geometries that touch each other

I'm trying to cluster the geometries in a sf object that touch each other. For the moment I'm using the same approach that it's explained in the answer here, but the problem is that the same idea ...
0
votes
0answers
23 views

What is the underlying algorithm of sdo_sam.spatial_clusters in Oracle?

Oracle has a "sdo_sam.spatial_clusters" function for spatial clustering. What is its underlying algorithm? Unfortunately the Oracle docs do not mention the algorithm or describe in which way the ...
2
votes
1answer
223 views

Clustering spatially connected polygons so all clusters have approximately the same size

I want to group together polygons from a shapefile a way that all the clusters formed contained approximately the same number of polygons. The problem is that the source polygons have vastly ...
0
votes
1answer
72 views

Combining points close to one another

I need an approach to combine points close one to another into a common point. I can take an average of points' {lat, long} to create one point. How I can do this with ArcMap or Python? I have an ...
0
votes
0answers
67 views

How to do cluster analysis for trajectories in ArcMap 10?

I have an air trajectory shapefile (lines shapefile). I would like to do a cluster analysis to see the 3 main cluster for these trajectories in ArcMap 10. This picture is an example of what I desire.
10
votes
1answer
882 views

Raster clustering using QGIS

I'm looking for a way to convert a classified raster into polygons based on spatial clusters within each class. For the clusters to be considered as valid I need them to consist of a minimum ...
0
votes
1answer
265 views

ST_ClusterDBSCAN in PostGIS gives me 0 for the cluster ID

I am trying to cluster latitudes and longitudes from a dataset containing locations in Germany (n=52612, about 9000 without duplicates). I am running the DBSCAN algorithm, but for none of the ...
1
vote
0answers
137 views

Cluster LineStrings using HDBSCAN?

I am trying to cluster a set of LineStrings (made out of lat/lon Points) with the help of HDBSCAN (using the "haversine" metric). The objective is to define the most "usual" path. I have only managed ...
1
vote
0answers
216 views

Algorithm to cluster coordinates within a maximum radius [closed]

I am looking for an algorithm that will allow me to find the centers of clusters of an arbitrary radius, such that all coordinates are covered. Currently, I am doing a very basic routine where I ...
1
vote
1answer
112 views

Generate spatial weight matrix from file in ArcGIS

I am trying to create a spatial weight matrix from an existing file in ArcGIS. I need to use another file, as opposed to generate the weights in Arc, because I define non-standard weights. The ...
2
votes
0answers
97 views

GIS Clustering with drawing predefined square area around points as cluster boundaries

I have a layer of points and I would like to create clusters where a predefined square area of 5km by 5km is the boundary for the cluster. Is there a way to iteratively draw square polygons around ...
4
votes
0answers
1k views

Clustering of events within a space-time window (R)

I am relatively new to clustering methods and am trying to determine the best method for clustering (or merely grouping) events that fall within a space-time window using preferably R. My goal is to ...
0
votes
1answer
42 views

Are points similar to nearby points using R?

I am new to spatial statistics. I am trying to determine if points close together are more or less similar. Specifically, I have a series of lat/long points for alligators nests. At some nests, one ...
1
vote
0answers
41 views

Find cluster of points within a 14K dataset which are laying within a circle of a certain radius

I have a dataset of geolocated points, which are dispersed over a large area I need to find clusters of a minimum number of X points within these sets which are laying within a circle of which the ...
4
votes
1answer
1k views

python cluster Points with DBSCAN keeping into account Polygon boundaries

I have a GeoPandas dataframe called geo containing: 431978 unique spatial Points representing all households in a city. 112737 Polygons representing all the premises (panden) in a city dataframe ...
0
votes
0answers
162 views

Is Spatial clustering with PostGIS possible to generate N number of groups that have 10 elements?

I need to create a query using some sort of spatial clustering algorithm within PostGIS database. Currently, I am using pgAdmin version 4. More specifically, I need to create N number of groups that ...
0
votes
1answer
50 views

How to re-assign attributes based on spatial relationship

I want to re-assign the attributes of a table of regular polygons based on their spatial relantionship so that the polygons are clustered like this: This essentially means to swap the attributes from ...
3
votes
1answer
998 views

Understanding ST_ClusterWithin

I am trying to create a map which shows points that are clustered (or not depending on the distance between the points). So, I have the following query: SELECT ST_NumGeometries(gc) as ...
3
votes
1answer
414 views

Spatial clustering points on a spatial network in QGIS / PostGIS

I have some thousands of houses/addresses (points) and a road network and I would like to build clusters of defined minimum to maximum cluster size not using euclidean distance as a metric, but the ...
5
votes
2answers
956 views

Point cluster in ArcGIS Javascript API 4.3?

I am trying to create a map with the the ArcGIS API for JavaScript v4.3. Some of the points that I want to visualize are on the same location and I would like to use some type of point clustering to ...
3
votes
0answers
172 views

Find number of weighted point clusters & centre of clusters

I have a points layer with a frequency field indicating a population at that point. There is also a field indicating the broader area by which I need to analysis broken down into. I am expecting the ...
1
vote
0answers
248 views

Use QuadTree in R to create Geospatial clusters [closed]

I am currently looking into different clustering techniques to form clusters from geospatial data. Is it possible to utilize quadtrees(from the SearchTrees package in R) to come up with something ...
2
votes
1answer
296 views

How to use ST_Contains() with ST_ClusterWithin()

I need to write a spatial query which will return centroids of clusters which are within a bounding box or polygon. The query I have now is: SELECT ST_NumGeometries(unnest(ST_ClusterWithin(...
2
votes
0answers
3k views

Clustering latitude longitude data based on distance

I have a large dataset of latitude and longitude. I want to cluster the data into groups based on distance such that the distance between two points in a cluster is not greater than a minimum ...
6
votes
1answer
1k views

Seeking Fréchet distance implementation (Python) to cluster trajectories by similarity

I am working on a trajectory analysis project using Python and its data science related libraries. I am planning to implement Fréchet distance algorithm for trajectory analysis, each trajectory has ...
1
vote
1answer
130 views

Maximising cluster density around geo points using qgis

I am looking for some advice for clustering points around other defined centres while maximising the density i.e. I need to identify clusters but constrain the cluster densities to be >= ...
2
votes
1answer
2k views

Run spatial clustering by inputting coordinates to cluster algorithm

I've been reading about algorithms for spatial clustering and it's easy to get lost since there are dozens of them. An idea that came to my mind is to use an a-spatial cluster algorithm on a dataset ...