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
0answers
39 views

Grouping clustered points within 50 meters and export new data Google Maps

I have tracking device on our company vehicles. It records and track all vehicles movements. Also for every stops for more than 5 minutes it record the current location Lat, Long as "stop" the ...
1
vote
0answers
25 views

Separating (“high enough”) trees from “lower height” vegetation? In abstract (non-RGB) .xyz point cloud

Suppose I want to select trees that are "high enough", but the data contains other vegetation, like bushes and smaller trees. My data is abstract (non-RGB) .xyz point cloud. I.e. there's only ...
0
votes
1answer
29 views

Popup with Leaflet.markercluster in leaflet map

I am a beginner with leaflet and I tested this code to create a cluster maker. However when I click on the markers the information in the pop-up window is always the same. Could you please tell me ...
1
vote
3answers
90 views

Identify spatially contiguous clusters in raster data using kmeans

I would like to cluster the cells of a raster object into k contiguous regions using kmeans. The number of regions, k, is known. Each cell has various geographical attributes, such as temperature, ...
0
votes
0answers
9 views

Converting point to polygon based on attribute value using ArcMap [duplicate]

I have survey points with a attribute "settlement name" and I need to create polygons from point with same settlement name. The polygon should enclose all the points with same settlement name. Any ...
1
vote
0answers
15 views

Get “nClusters” value from GEE [duplicate]

After training the kmeans model, how can i obtain the number of classes of the model? i've tried with get(), getInfo() and doesnt work. https://code.earthengine.google.com/...
0
votes
0answers
40 views

Obtaining “nClusters” value in Google Earth Engine

After training the kmeans model, how can i obtain the number of classes of the model? i've tried with get(), getInfo() and doesnt work. https://code.earthengine.google.com/...
0
votes
2answers
25 views

Clustering Raster Monthly Precipitation Pattern

I am looking for a way to automatically cluster the monthly rainfall data that I have like the Koppen Classification Map. I have 12 raster files of precipitation (months of Jan-Dec) of a country and I ...
5
votes
1answer
73 views

Variogram for clustered data point

I would like to study the spatial dependency in my dataset of a variable (crop yield) spread across a country with 250 sites. A first guess was to use a variogram on the data. However, I am not sure ...
2
votes
0answers
19 views

How to cluster points based on network traveling time to a common location?

I have a set of points that I need to divide into N different clusters. I know how to do this with the arithmetic distance, but in this example I need to cluster them based on the network traveling ...
2
votes
0answers
37 views

PostGIS - create polygons from clusters of a fix number of points

I have a set of about 120,000 points, not regularly spread. I would like to cluster them in order to create groups of about 3,000 points, regardless the distance. The final goal is to create ...
1
vote
1answer
36 views

Processing dbscan by group

I am new to Postgis and I need to do DBSCAN by commune. I have the base dir_v2: id_dir geom commune I need to process clustering at least 1000 points in a radius of 1000 meters per commune but it ...
3
votes
1answer
50 views

Clustering of points based on 1 or 2 attributes

In QGIS: I have data of sightings of a particular animal that has been mapped as points. Some of these may be repeated sightings. I've classed the sightings according to 'SightCode' which represents ...
1
vote
0answers
35 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 ...
1
vote
0answers
33 views

Providing a qualitative description of the results from DBSCAN clustering

I have run a DBSCAN clustering algorithm in QGIS 3 on bus stops in my specific study area where my minimum cluster size is 50 and maximum distance is circa 9km. After this I created a concave hull of ...
1
vote
1answer
65 views

Speed up GeoJSON clustering and rendering?

I am rendering 10,000 points with Leaflet's markercluster library. I fetch these 10k points from our server. This takes about 700ms. It takes Leaflet about 3 seconds to cluster these points and ...
4
votes
2answers
128 views

Display millions of locations very, very fast

We're building a mapping application for voter data using PostGIS and Leaflet. It has a web interface. Our voter file will have several million entries. In our app you can select a subset of the voter ...
2
votes
0answers
41 views

Displaying sum of field in cluster symbology using QGIS?

Using QGIS, I have a point layer of wind turbines. One of the fields is MW (megawatts produced by the turbine). I want to display the turbines by clustering. But I to show the sum of MW in the ...
2
votes
0answers
33 views

Importing hdbscan in QGIS plugin?

I am building a QGIS plugin and would like to add hdbscan in methods. But when I import with OSGEO4W shell it failed at this line: File "C:\OSGeo4W\apps\Python37\lib\site-packages\hdbscan-0.8.22-...
4
votes
1answer
72 views

Clustering only if name attribute is same using QGIS?

I have a point layer on a world map with several attributes. Each point marks the position of a berth at a terminal in a port in a certain country. When I zoom out, it's getting too crowed so I ...
1
vote
0answers
132 views

Change maxZoom level on Leaflet Marker Cluster Group?

Our leaflet web app allows users to switch between tile layers. The tile layers sometimes have different max zoom implemented by the tile provider or local config. We have another layer with ...
-2
votes
1answer
68 views

Cluster Analysis on spatial data on R? [closed]

I sampled a population of an insect in an area and got GPS points. Now I want to investigate if there are subpopulations within the pop using distance from points. I have a dataset with coordinates ...
3
votes
2answers
99 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 ...
1
vote
1answer
158 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 ...
1
vote
2answers
118 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 ...
0
votes
0answers
19 views

Automating Cluster Assignment of Grid Squares?

I'm using MapInfo. I have a grid layer which has results assigned to each grid square. I'm wanting to automatically assign cluster references using a minesweeper style approach, i.e. where grid ...
1
vote
1answer
94 views

L.esri.Cluster.featureLayer does not call style function

Using the L.esri.Cluster.featureLayer plugin for Leaflet to cluster features from Esri does not call the style method despite the documentation stating that this is the way to style vector layers. ...
2
votes
0answers
26 views

Clustering raster based on area of specific number of pixels

I'm currently looking at overflows of rainwater in a region and I want to find all the puddles, which have a restricted size and a minimum number of pixels in them and create a vector layer where each ...
1
vote
0answers
82 views

QGIS > Concave Hull plugin > Shared Nearest Neighbor Clustering

I have been using the Concave Hull plugin in QGIS & the Shared Nearest Neighbor Clustering feature. I am having issues with this plugin, each time I choose the option of "Number of Neighbours" it ...
0
votes
1answer
70 views

Style OpenLayers.Feature.Vector in OpenLayers.Strategy.Cluster()

I'm using the clastering feature in my project. I collect list of points like so: cluster_features.push(new OpenLayers.Feature.Vector( new OpenLayers.Geometry.Point(lon,lat), {heading:deg} )...
1
vote
1answer
46 views

Sample method returns empty featureCollection (GEE)

I have some troubles with the sample method from Google Earth Engine. On some images, it returns an empty feature collection (0 element). Why this is happening and how do I deal with that ? It's ...
1
vote
0answers
29 views

Leaflet.TimeDimension and Leaflet.Marker.Cluster

I am trying to combine L.MarkerClusterGroup with L.TimeDimension: basically, I would like to load a geoJSON and control the appearance and disappearance of points with L.TimeDimension, but in such a ...
1
vote
0answers
64 views

Simple clustering example

I'm trying to use postgis ST_withincluster function. But my knowledge over SQL seems a bit too fresh at the moment and I can't figure out by myself how I should proceed by reading posts like this one: ...
1
vote
0answers
46 views

Reducing excessive segmentation from Linear Referencing? [closed]

Can anyone suggest a resource which discusses different approaches to cleaning up linearly references events in order to minimize the occurrence of small dynamic segments? I'm working with many ...
0
votes
1answer
576 views

How to cluster markers using the “Geojson-dashboard” in Leaflet JavaScript

I know how to use Leaflet.markercluster, but for some reason I can't use with geojson-dashboard framework template for Leaflet (http://fulcrumapp.github.io/geojson-dashboard/). But I have a simple ...
0
votes
0answers
69 views

Seeking Python implementation of contiguity constrained clustering?

I'm looking for an example of Python implementation of contiguity constrained clustering algorithm. The task I want to perform is to reduce the number of administrative zones by grouping them into as ...
2
votes
1answer
160 views

Natural Breaks Results Difference in Different GIS Analyst Tools

I calculated natural break clustering in each GIS software and Python Jenkspy library. The data is population of each city in Europe and this is the result below. Jenkspy library and QGIS shows ...
3
votes
1answer
59 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
455 views

Open the popups of all markers that are visible on the map with a zoom > 10

I need to open all the markers that are visible on the map at Zoom > 10. I am using leaflet.markercluster plugin. Init map: initMap() { this.map = L.map('map', { center: [55.55, 37.61], ...
0
votes
0answers
164 views

Leaflet markers at same geo location (ClusterGroup)

I have a map created with leaflet with different markers. Sometimes the markers have the same (1:1) geo position. I have already tested the great addon clustergroup, but I need the function to be ...
0
votes
1answer
122 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 ...
0
votes
0answers
55 views

Browse features in cluster won't work in ArcGIS Web App

After creating and configuring a web app i realized that the "browse features function" included in the cluster pop-up does not work properly when clicking a point layer's cluster icon. After showing ...
1
vote
1answer
73 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
40 views

Dissolve polygons using clustering

The attached vector file contains thousands of individual polygons (a byproduct of the underlying raster image). The result of using polygonize function in qgis. My intent is to dissolve the polygons ...
7
votes
1answer
501 views

Clustering points and summing up attributes per cluster in QGIS

We want to find out the ideal location for sheds and the required dimensions of each shed. As input, we have a point layer with locations (each representing one arable field) and the estimated yield ...
0
votes
0answers
52 views

How to cover data by circles, limited by a maximum of values?

I have a regular grid with a cell width of 200 meters (available as raster and vector data set). Each cell has a value from 0 to 2000. I now want to draw circles around these cells in such a way ...
0
votes
0answers
60 views

Clustering of Coordinates?

i want to detect wildfire in earth engine. So the classification works almost very well. But now i want to determine the fire polygons, calculate their centroids and then cluster centroids which are ...
0
votes
0answers
33 views

Cluster Point Symbology not supported on QGIS Server

I am using the QGIS cluster points symbology feature. It works well in QGIS Desktop 3.4 but not on QGIS Server (installed on Ubuntu Server).. Is Cluster Point Symbology supported in QGIS Server ? ...
1
vote
1answer
189 views

K-means clustering in QGIS with statistically significant difference

Anyone knows that how to do K-means clustering with significant difference? What I means is as the image shows, the area is divided into two zones using k-means clustering, and the significant ...
2
votes
0answers
58 views

Clustering by Equal Sum Value [closed]

I have a shapefile of points that each have a value A. I want to be able to create cluster regions such that if I sum value A for each point in a region, the sum of value A for each region will be ...