Questions tagged [clustering]

Partitioning data points into subsets of objects according to their mutual "similarity," without using preexisting knowledge such as class labels.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Cluster of different WFS layers in Openlayers [closed]

I have a layer control and it is possible for me to choose one or more layers. But even for different layers I have point in the same location and I would like to group them. I'm using Openlayers. I ...
user avatar
0 votes
0 answers
20 views

OpenLayers 6: Exclude individual features from clustering [closed]

I do have a clustered layer that contains features of the type POINT. The user can add new points to the layer. New points however get immediately "absorbed" by the clustering unless the new ...
user avatar
  • 101
1 vote
0 answers
31 views

Isolated marker won't be displayed when filters are applied to be the single one amongst nearby clusters

I have markers all around the world, thousands of them. In some areas more close to each others, in other areas some even have a number of countries between them. Let's take the SINGLE marker in ...
user avatar
  • 11
4 votes
2 answers
61 views

Groupping points to clusters containing similar number of features using QGIS

The question Using QGIS, how to cluster unevenly distributed points from the same layer to groups of about the same size / containing the same number of features? The problem I have a large point ...
user avatar
  • 41.1k
1 vote
0 answers
23 views

Spatial clustering with areas in QGIS or Python

I am working in QGIS with shapefiles containing several polygon features with various areas. I would like to cluster neighbor polygons in a way that results in clusters of approximately the same total ...
user avatar
  • 236
1 vote
0 answers
24 views

Ideas to cluster lanes using color information

My point cloud consists of XYZ values and for each xyz there is corresponding color (RGB) value. I don't have any other information in my data eg:intensity, classification etc., as this point cloud ...
user avatar
  • 11
0 votes
0 answers
13 views

Identifying clusters of development affecting forested area

I am looking to identify clusters of development polygons (areas that will undergo construction works that may be detrimental to biodiversity) that will affect forested areas. The development polygons ...
user avatar
  • 11
0 votes
1 answer
10 views

Showing a chart for features displayed using dynamic feature clustering

I'm working on a project in ArcGIS Pro 2.9 where I'd like to be able to display categorical attribute breakdowns for each cluster that dynamically populates. Right now, the mode of that attribute is ...
user avatar
  • 95
0 votes
0 answers
24 views

Glitch in cesium clustering

There is problem witch rendering label for clustered points with billboards as background. It works perfectly for low zoom levels, but when I zoom out the globe the glitch in labels appears eventSet....
user avatar
  • 351
1 vote
0 answers
29 views

Clustering contiguous polygons in QGIS

I am using QGIS. I have a vector layer with square polygons. The attribute table contains 2 columns: the ID of each grid and a column with a values 0 or 1. I want the grids with value=1 to be ...
user avatar
  • 11
2 votes
0 answers
121 views

Polygon clustering

I have a shapefile with a number of polygon structures. The shapefile looks like this: . Is there any way to cluster polygons and merge them together via Python to have something like in the following ...
user avatar
0 votes
0 answers
35 views

Difference between two Google Earth Engine functions

Do you know what is the difference between ee.Clusterer.wekaKMeans and ee.Clusterer.wekaCascadeKMeans?
user avatar
2 votes
1 answer
134 views

Show different colors for differents Id in OpenLayers

I've a feature in my map where every point has his own id, I want to assign different random colors to differents ids (id 0 = red,...), the ids are given dinamically, so I don't know the exact number. ...
user avatar
  • 45
1 vote
1 answer
64 views

Aggregation or cluster or hot spot

I have a set of thousands of tickets for clearing debris. I want to analyze clusters. I want to show all the areas with more than 5 tickets within 10 m of each other. How do I do this on preferably ...
user avatar
  • 31
1 vote
1 answer
99 views

GeoServer cluster - shared disk considerations

I am setting up a geoserver cluster with 2+ virtual servers running multiple geoserver instances each. All servers must have access to a shared disk containing raster and vector data (geotiffs, ...
user avatar
  • 85
3 votes
1 answer
81 views

Network-based clustering with fixed-sized clusters in QGIS

I have address points connected to a network of roads that I have built using GRASS v.net.connect. I would like to cluster addresses into fixed size groups along the network. So far, I have written ...
user avatar
  • 89
0 votes
0 answers
373 views

React leaflet marker cluster using dynamic GeoJSON

I try to use react-leaflet-cluster inside my project. I want to display GeoJSON which contains some polygons and points. The only way it works is by passing static data to GeoJSON component like this: ...
user avatar
  • 35
0 votes
0 answers
47 views

Grouping Polygons By Population Using Graph Network Analysis

I have tried to implement the solution that FelixIP provided as an answer to this question. What I am trying to achieve is this. I am using QGIS and have attempted to create a processing script that ...
user avatar
  • 89
0 votes
0 answers
47 views

Cluster points in GeoDjango using Leaflet

Am trying to cluster point in Leaflet from the data created in backend geodjango.I have converted to geojson format to be able to visualize. #views.py def data(request): data=serialize('geojson',...
user avatar
0 votes
0 answers
13 views

How to add clusters to graphics layer in esri map in react?

I have used arcgis npm library. In the map view of my react code, I have added a graphics layer to show different places as points on the map. I want to show the number of points being clustered in ...
user avatar
0 votes
2 answers
86 views

Displaying multiple labels of point using QGIS

I work with a stitch layer under QGIS. For each point, a variable containing 4 labels. Using point group symbology, I can display the value of a cluster for a label. To display the 4 values, I need to ...
user avatar
  • 601
0 votes
1 answer
241 views

Clustering 2 different datasets based on distance from one another in R

I have two different datasets with latitude and longitude, one for manufacture and other for storage: lat <- c(47.3523235, 47.5673237,47.606209) long <- c(-121.9837251, -121.8887269, -122....
user avatar
5 votes
2 answers
233 views

Finding mean distance between cluster center and points in cluster in QGIS

I have done the following in QGIS: I used the integrated k-means clustering tool to cluster around 160k data points into 50 clusters. Using the mean coordinate tool (Vector analysis > Mean ...
user avatar
2 votes
0 answers
57 views

k-means cluster 20000 points by assigned value using QGIS

I started with a pixel layer in QGIS which represents the demand for a given service with a resolution of 100m^2 for which I now want to derive a set of destinations that best serves this demand. My ...
user avatar
4 votes
1 answer
83 views

Cluster symbol based on colour and value in another field

In a group of points where i am using the cluster symbol to indicate the number of close points, I would instead like to have the value from another field as the display number. For example points A1-...
user avatar
1 vote
1 answer
128 views

How to create a histogram of areas of clustered S1 image in Google Earth Engine?

I am using S1 images and clustering in Google Earth engine to identify different land uses. I clustered using ee.Clusterer.wekaKMeans(5).train. Now I want to create a histogram that shows the area per ...
user avatar
0 votes
0 answers
83 views

Is it possible to automate unsupervised classification in GEE?

I have written some script in GEE to segment fire scars in the landscape using unsupervised classification. I want to be able to have an automated process where I can just change the year in question ...
user avatar
  • 3
2 votes
1 answer
59 views

Clustering of points but with a condition of not crossing set of lines

I have multiple sets of around 200-300 points and I have the following requirements: Cluster the points in each set into a group of points with a minimum & maximum number (as defined by me). In ...
user avatar
0 votes
0 answers
61 views

How to get all polygons that are spatially interconnected with each other in PostGIS?

I have the following scenario: SELECT * FROM owner_poly; > |id| owner_id | polygon_ids | |1 | 10 |'{1,2,3,20}' | |2 | 10 |'{12,22,2}' | |3 | 10 |'{1}' | |4 | 10 |'{...
user avatar
  • 1,160
2 votes
0 answers
45 views

Clustering polygons with cluster area limit

I have a polygon layer and I need to group polygons (basing on proximity) BUT there is a area limit for single cluster and limit for distance from cluster. DBSCAN algorithm on centroids gives nice ...
user avatar
  • 484
1 vote
1 answer
116 views

Clustered static map from Mapbox

I'm trying to extract static maps using Mapbox's Static Images API. The goal is to embed these images into an HTML page/email etc. Here is a sample that I was able to generate successfully which is at ...
user avatar
4 votes
1 answer
114 views

PostGIS clustering with statistics

I'm discovering PostGIS for myself and right now I'm stuck at the point with clusters. Found some tips about how to make clusters on point layer in PostGIS by using ST_ClusterWithin function. Right ...
user avatar
4 votes
1 answer
95 views

Finding distance between polygons in same layer

I would like to know the distance between polygons in a layer. The goal is to know which houses are within 5 meters from each other in order to cluster them. I tried adding a buffer and playing around ...
user avatar
  • 131
2 votes
0 answers
41 views

Minimum enclosing polygons for point clusters [duplicate]

I am trying to find an algorithm that can create minimum enclosing polygons from a set of points. The existing algorithms such as. Convex Hull, Concave Hull (both Alpha shapes and K nearest Neighbors),...
user avatar
0 votes
1 answer
92 views

Adding natural breaks classification to feature table

Is there any chance to add the classification classes to the feature table? I want to divide my feature table (by a numerical field) into x-number of classes. Visually I can see this by classifying ...
user avatar
2 votes
1 answer
86 views

Clustering points showing the sum of HHS - QGIS 3.18

I have a points layer in QGIS. Each points represent a building. In the attribute table, each point has a field representing the number of HHs in the building (1 HH, 2 HHs, etc...) I want to use the ...
user avatar
  • 427
2 votes
1 answer
52 views

Accessing features in a cluster group in point cluster symbology

I would like to get a dynamic stat value on attributes using point cluster symbology, like it is exposed in this topic QGIS 3.10 - Point cluster symbology sum attribute Unfortunately, the answer ...
user avatar
1 vote
1 answer
186 views

How to cluster 1000+ points into 50 clusters based on geospatial proximity in R?

Sample data: set.seed(123) lon <- runif(1200, 72.6, 73.2) lat <- runif(1200, 18.8, 19.6) df <- data.frame(lon, lat) Progress so far: geo.dist = function(df) { require(geosphere) d <- ...
user avatar
1 vote
2 answers
378 views

Pop up on circle markers not working with polygons in Leaflet when using clustering

I am using two GeoJSON data, one for Multi-Polygons and another for markers (Point) in the following functions: var basegeomap; function loadbasemapstate() /*polygon data*/ { basegeomap= L.geoJson(...
user avatar
10 votes
1 answer
1k views

Points Clustering - QGIS 3.18

I already asked a similar question here and I tried the different solutions but I wasn’t very successful. Thus, I was thinking of using another approach if possible and I created another question. ...
user avatar
  • 427
1 vote
0 answers
214 views

R: Clustering observations together based on distance and time

In R, I have a dataframe with roughly 3 million observations, with the columns being longitude, latitude and time respectively. My goal is to form clusters (using a custom distance function), and then ...
user avatar
1 vote
0 answers
110 views

Count the polygons of the raster given by the kmeans algorithm

I am struggling with a Python problem. My plan is to compute the clustering of the kmeans algorithm for an image and to create polygons from this classification. My goal is to get the total number of ...
user avatar
  • 11
3 votes
1 answer
196 views

PostGIS nest ST_ClusterKMeans on results of ST_ClusterKMeans

I am using ST_ClusterKMeans in PostGIS to perform a spatial clustering. CREATE TABLE kmeans10 AS WITH s AS (SELECT p.*, ST_ClusterKMeans(p.geom, 10) OVER() cid FROM p) SELECT ST_UNION(s.geom) OVER (...
user avatar
3 votes
2 answers
101 views

Is there a convenient way to uniformly partition the United States into "buckets?"

I'm not a GIS professional, it's just that my current project is heavily reliant on geospatial data. I'm currently working on a project that has to do with transportation behavior. My hypothesis is ...
user avatar
0 votes
0 answers
27 views

Performing cluster analysis when separate clusters and point layer using ArcGIS Pro

I have a garbage patch layer (cluster) and a plastic accumulation points (point). The number of points are less compared to the spread of clusters. there are many extra clusters. I want to identify ...
user avatar
4 votes
2 answers
224 views

Clustering spatial data based on categorical attribute

For a project I'm doing, I want to cluster parcels together based on their specific land use category. As an example, a small part of the data looks like this. Spatial Data with different categories ...
user avatar
0 votes
1 answer
94 views

Hack to identify clusters after pointStacker

I'm implementing a clustering solution using the PointStacker Transformation. It works great, but I would like to get information about individual features that the cluster point consists of. I figure ...
user avatar
  • 1,015
1 vote
1 answer
64 views

Splitting Vectors with Raster Layer

Does anyone know of a method to split vector data based on a corresponding raster layer. For example, I have a classification with two classes and have an overlaid vector layer as seen in the image ...
user avatar
  • 121
2 votes
1 answer
75 views

Differences in first-order Polygon Contiguity in ArcGIS - Contiguity Edges Corners (CEC) vs. Contiguity Edges Only (CEO) [closed]

I am working on spatial autocorrelation, and using the spatial modeling relationship methods available in ArcMap. In ArcMap, there are the following methods for polygon contiguity: Contiguity Edges ...
user avatar
  • 121
4 votes
1 answer
189 views

If a Moran's I value is close to 1, then why is it necessary to report the p-value?

For instance, if we get a Moran's I value of around 0.6, then we already know based on that Moran's I value that spatial autocorrelation is present. Why is it important to additionally report the p-...
user avatar

1
2 3 4 5
11