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
1
vote
1answer
167 views

Difference in Spherical Mercator(google/mapbox/supercluster code) calculation and Postgis 3857

As per source code of supercluster, google map utils and mapbox formula to convert (lng, lat) to spherical mercator is as x = lng/360 + 0.5; siny = Math.sin(Math.toRadians(lat)); y = 0.5 * Math.log((...
2
votes
1answer
399 views

DBScan with Convexhull

I am new to GIS, I am using PostGIS(2.3). I have two problems I am not clear with Problem-1: I have list of locations(longitude, latitude, 4326), what is best/correct projection to use while ...
1
vote
1answer
2k views

How to avoid getting “float division by zero” error message when using hierarchical clustering in the scipy plugin?

I am trying to use the hierarchical clustering function in the plugin scipy point clustering in order to group individuals that are close to each into populations. Here is a screenshot of my ...
2
votes
1answer
288 views

OpenLayers 2 Cluster Strategy with OSM

I am digging into clustering strategies with Open Layers 2. Looking at the example OpenLayers2 Cluster Strategy Threshold, I was able to get it working. Unfortunately I am working with OSM, and the ...
0
votes
0answers
282 views

Split Point Layer into even sized cluster

I want to cluster many points (around 1.000) into even sized groups (13 points each group). There is no attribute defining that groups, it should be grouped based on spatial distance. I tried to work ...
2
votes
1answer
181 views

Leaflet - trying to use markerclustergroup feeding it polygons

I am trying to show clusters using markerclustergroups with Polygons. Right now the polygons are shown but the clusters aren't. I have been trying to use center of mass for the polygons because it ...
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 ...
2
votes
0answers
328 views

Identifying activity places in GPS trajectories using R?

Is there a way in R (a script or package) that would allow identifying activity spots in GPS tracking data? I have a number of GPS tracks in GPX/CSV formats that follow the movements of people in a ...
5
votes
3answers
565 views

Clustering neighboring points inside ArcGIS Desktop?

I am using ArcGIS Desktop 10x. I have a shapefile of 300 points which I need to make groups, each of which will contain exactly 9 points which are closest neighbors. I tried the 'near' tool, ...
1
vote
0answers
68 views

Spatial Analysis Grouping/Clustering Question

If this question is incorrectly titled, I apologize; I wasn't sure exactly how to best phrase it. I'm working with my city's housing department to develop zones for building inspectors. One of the ...
3
votes
0answers
818 views

Can't clear markers from MarkerClusterGroup

i have problems removing all markers befor adding new ones. var L_Emergency_Access_Points = L.markerClusterGroup(); var EapMarkers = L.geoJson(null,merge_options(globalOverlayOptions, ...
2
votes
1answer
121 views

QGIS how to access to constrained clustering plugin?

QGIS how to access to constrained clustering plugin? I have downloaded the plugin but I'm wondering where to find it?
10
votes
1answer
742 views

Generating urban footprint polygons from building clusters in QGIS?

I'm not sure what the correct term is, but it's a common cartographic design pattern. I want to show the outline of built-up areas as a filled polygon beneath road and buildings layers. In ...
1
vote
0answers
292 views

ArcGIS javascript Cluster Layer not working on a map with UTM spatial reference

I use this sample's clusterlayer module to create a cluster layer. problem is that when map spatial reference is UTM the cluster layer that I added to map does not work properly. the errors are svg....
2
votes
1answer
495 views

Clustering from MVT in OpenLayers 4?

How to write OpenLayers code to create clusters from MVT (using 100k points)? Because MVT file format saves disk space (90 % less than GeoJSON) and requires only 50 % RAM of browser. Class ...
4
votes
1answer
2k views

Openlayers 4 Cluster polygons

I have a layer with polygons in Openlayers 4 that I want to show as polygons when zoomed in and cluster them when I zoom out to a given level. Ol.source.Cluster has a geometryFunction attribute where ...
2
votes
0answers
550 views

Displaying markers instantly when loading in cluster?

I am loading a big json for about 10000 pins with some text, about 3-4mb. And it takes some time to load all the pins and display them. Is there a way to diplay the pin right after loading? So to ...
1
vote
0answers
149 views

how to get (number of) clustered features before map completely rendered?

When you add features into ol.source.Cluster, you can access original ol.Feature object but clustered ol.Feature which is currently displayed on the map. check this codepen with console log. it doesn'...
1
vote
2answers
1k views

Clustering geographic points

I have a bunch of thousands of points. I'd like to group them, in a user-defined number of clusters for example or based on some kind of "best number of clusters", based for example on their relatives ...
4
votes
1answer
737 views

Adding python module to QGIS python interpreter on mac?

I'm on OS X El Capitan running QGIS version 2.18.2 which I installed via the Kyngchaos installers. I'm trying to install a plugin, which requires, among other things, that Pysal needs to be installed....
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
0answers
209 views

Clustering polygon's created with Leaflet.Draw

I am experimenting with Leaflet at the moment and am trying to cluster polygon's that I've created with Leaflet.Draw plugin's tools. I know that clustering polygons is possible (Is it possible to ...
3
votes
0answers
80 views

Scaling postgresSQL database when searching polygons against points?

I am using our single server - CentOS 6.6 x64 16 CPU 24 GB SSD (PostgreSQL) 9.4.1 as our GIS database processing engine. This is part of the PostGIS software package installed on the server. I am ...
5
votes
2answers
946 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 ...
5
votes
0answers
294 views

QGIS/Spatialite cluster analysis with density

beginner here I am trying to analyse a large set of points (2 millions) over a set of polygons (3000), and particularly find clusters of points. Doing it in QGIS was taking too long/crashing the ...
3
votes
0answers
98 views

Perform cluster with point limit?

I have a layer with about 250 points and I need to group them into groups of 30 points. How could I perform this operation in QGIS? I researched on plugins and clustering techniques and the most ...
1
vote
0answers
198 views

Use of Hot Spot Analysis (Getis-Ord Gi*) [duplicate]

I'm working with a polylines shape. I'm searching for a tool that could help me to define neighbourhoods using the values of the polylines. I have good results with Hot Spot Analysis (Getis-Ord Gi*), ...
1
vote
0answers
82 views

QGIS cluster groups of houses [closed]

I want to cluster houses into groups of 32 in a QGIS point file, with the clusters arranged to select houses which are in rows. All my houses are in rows of 5-10 and I want to exclude houses which ...
1
vote
1answer
1k views

Marker popup isn't opening

i'm working with a hudge amount of data, that's why i decided to use clustermarker on my leaflet map : function CickOnPoint (e) { var pm = e.target.feature.properties.distCoupe;//recupère dist coupe ...
3
votes
1answer
603 views

Adjust size of clustering icon in leaflet

In my leaflet application, I would like to reduce the size of cluster icons by half and also modify the font size of the value inside of the icon: Having read the documentation on github, I have ...
1
vote
0answers
99 views

What's the difference between classification/clustering and zoning?

A week ago I had an exam and there was a question: What are the main steps of zoning in a GIS? I didn't understand the question and asked the instructor what does she mean by zoning (in ...
1
vote
1answer
415 views

How to merge a overlapping points into a single feature to reduce Map “noise”

I have a shapefile of the locations of wind turbines within the central flyway. I was attempting to show the size by the total number of turbines however I am having a problem with many large scale ...
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 ...
1
vote
0answers
186 views

Geoserver :Is it possible to cluster polygons in sld?

Is that even possible? This is my work area: And I want this to be clustered when I zoomed out. Like this:
3
votes
0answers
3k views

K-Means clustering in QGIS (Attribute based clustering)

In the 2.18.4 and 2.18.5 version of QGIS K-means clustering was moved to a plugin called 'Attribute based clustering'. However, I am working with a virtual raster dataset (vrt.) and the current ...
6
votes
2answers
732 views

Increasing marker size based on number of points at same location in QGIS

I have a dataset that contains many points (representing specimens) with GPS locations taken at the same point. When I map these points as a vector layer, only the uppermost point shows - so, at one ...
7
votes
2answers
1k views

Open layers supercluster integration - is it possible to fetch underlying features for each cluster?

I am using the open layers 3 with supercluster at the moment, extending the example provided here : https://jsfiddle.net/d5gwvz2y/2/ My question is: How does one fetch all the underlying features ...
0
votes
1answer
840 views

Getting the childcount in leaflet markercluster

I have created a custom icon for clustering my data, using leaflet markercluster. As default markercluster have the "childcount" in the icon. How can i put that number in my divicon? var markers = L....
1
vote
0answers
434 views

Openlayers 4 - Clustering view - Select and Modify Interactions

I'm working on a specialized browser-based editing app based on openlayers 4. I'm displaying features (pictures, data Elements, docs) from a few source Layers which are geo referenced, using drag &...
3
votes
2answers
1k views

How to determine if a cluster is at its maxZoom level?

I'm using the Leaflet MarkerCluster plugin, and I want to know whether a particular cluster represents points at the same location, or whether the cluster would break into smaller components if I ...
2
votes
1answer
256 views

Clustered choropleth map using CARTO?

I have a set of field measurements for a bird species (pitch of its song) along with coordinates for each measurement. The default choropleth style in CARTO works perfectly for showing how the pitch ...
1
vote
1answer
639 views

How to cluster data (and not only the number of markers)

I wanted to display some data (a number, different for each point) on a map (either Google maps or OpenStreetMap). Each point has an associated value (the number above). For markers which are close ...
2
votes
0answers
162 views

k nearest neighbour with count limit

I have a set a points, and I want to create 10 clusters. I used attribute based clustering plugin, which worked well for creating the clusters, but the points count isn't perfect, some clusters have ...
0
votes
1answer
362 views

Clustering point data to obtain maximum count groups using QGIS?

I am working with a data set of over 3000 points which I need to cluster/group based on a distance criteria. What I would like to do is build clusters from the point data which contain the maximum ...
1
vote
1answer
515 views

What alternative to Voronoi polygons should I use for my QGIS problem? 2d Clustering?

I have a table with all the hotels in Paris. The columns are the name of the hotel, the geocode and the neighborhood (arrondissement) of Paris that hotel is in. I've plotted all these points in GQIS ...
4
votes
1answer
584 views

Where is Cluster point style in new Carto?

In the old interface for CartoDB (Carto Editor?) overlapping points could be displayed as clusters allowing users to click on a cluster to distribute the points visually and select one to read the pop-...
3
votes
1answer
193 views

Using Weighted sum and Grouping Analysis?

I have a collection of points representing buildings, and each has a number value. I need to look at building within 50 miles of each other, where the total number values of the building in that ...
1
vote
0answers
328 views

Spatial Data Cluster in sql-server ? ( like ST_ClusterWithin in Postgis )

Postgres 9.5 providing ST_ClusterWithin for Cluster the spatial data in DB level. Is there any available solution for data clustering in MS SQL (NOT SERVER CLUSTER) OR Is there Any Function ( like ...
3
votes
0answers
410 views

Spatial clustering with attribute

I need to do some sort of spatial clustering where each spatial coordinate has a value attribute. So, for example, each point has a salary attached to it. So each cluster would have a total salary if ...
1
vote
1answer
257 views

Specifying minimum cluster size with OpenLayers 3 Clustering?

With OpenLayers 3, how can I specify a minimum cluster size so that clusters with 5 map markers or less will not get clustered, but will instead display the individual map markers? Is there a way to ...