Skip to main content

Questions tagged [count]

For processes that involve enumeration or listing the finite number of iterations in an object, layer, feature, or other measurable instance.

Filter by
Sorted by
Tagged with
6 votes
4 answers
228 views

Creating new layer that shows the number of intersecting vector layers at each point in QGIS

I have a QGIS project file with over 50 layers, each representing a different species' habitat range. I would like to create a new layer that adds up the number of layers at each point in the map and ...
Achi26's user avatar
  • 61
4 votes
1 answer
95 views

QGIS count points layer to polygon layer that have the same field attribute

From a layer with point geometry 'POINTS' and a layer with polygon geometry 'POLY'. Both layers have a common attribute field "UNIONCODE". To the 'POINTS' layer I apply the following ...
Ingrid Ingravida's user avatar
1 vote
1 answer
46 views

Counting points in polygons and adjacent polygons

I would like to sum up the amount of points in a polygon and in surrounding polygons adding certain weights. Step 1. Here an example with one point: where the point is contained the weight should be ...
Anna's user avatar
  • 19
1 vote
1 answer
77 views

Counting outgoing links connected to a node [closed]

I've a large linear shape and I need to find all nodes with class >=3 connected to at least two outgoing links. It's actually a sewage graph, I'm trying to identify sewer dividers. I have read ...
pelino's user avatar
  • 21
0 votes
0 answers
48 views

Counting features in Geodatabase using ArcGIS Pro

I try to find out the numbers of feature in a geodatabase. I can't find any tool or option in ArcGIS Pro 3.1.2 or ArcCatalog.
GIS Noh's user avatar
  • 330
0 votes
0 answers
43 views

Normalize county coverage data by population

I have point data where the result is either in coverage or out of coverage. I know that we receive far more in coverage results in high population areas, so I want to normalize the data by population....
ANW225's user avatar
  • 1
0 votes
0 answers
109 views

Fire frequency calculation in GEE with FireCCI data

I have a problem with calculating the fire frequency (burned area count) in GEE. I want to calculate the counts of the fire in my study area from 2001-2020(the data availability of the FireCCI data). ...
Cinnamon roll's user avatar
2 votes
1 answer
172 views

Showing feature count in layer name in QGIS

I'm looking for a way to write the feature count at the bottom of the Layer Name, is this possible? Is there a variable? I know about the feature counting functionality built into QGIS and I know the ...
andreaordonselli's user avatar
1 vote
1 answer
100 views

Summing up attributes overlapping polygons in QGIS

I have large single layers with many features overlapping, like this: Where the features overlap I want the attributes added together. I've managed to count the number of overlap polygons by doing ...
Alba's user avatar
  • 11
3 votes
1 answer
101 views

Counting points from layer at map extent with QGIS expression

I want to create an expression in the QGIS 3.28 dashboard layer that counts points on a specific point_layer and with a specific value that is displayed in the current map_extent view aggregate( ...
Rii Pii's user avatar
  • 474
0 votes
1 answer
116 views

Use Overpass API to output different tag counts as CSV

I want to create CSV data with different OpenStreetMap tag counts for selected cities using Overpass API. Unfortunately, the "Counting Objects" section of the Overpass API Documentation is ...
winnewoerp's user avatar
  • 1,544
1 vote
0 answers
105 views

Displaying symbol size based on number of records with value in ArcGIS Pro

I am new to working in ArcGIS Pro. I have a table of historical sites, each with a county location. I geocoded the table so now I have a point for each county that has at least one historical site. ...
ericdmj's user avatar
  • 11
1 vote
2 answers
155 views

Understanding the QGIS API documentation based on the featureCount() method with legendKey parameter

I'm trying to understand the QGIS Python API documentation - as an example I want to get the number of features with a specified legend key, but I don't get the correct result. Under the layer ...
Maryla's user avatar
  • 196
1 vote
1 answer
73 views

Summarize points by tag over each atlas feature with QGIS composer

I'm trying to represent in every single atlas feature the basin for several streams. Each basin can have one or more stations. The data to plot is a point vector, with columns for "data" and ...
Pablo Xesteira's user avatar
0 votes
1 answer
107 views

Calculating trend of number of days exceeding the threshold in each year using Google Earth Engine

I am trying to generate a raster where each pixel will show a trend of days exceeding a particular threshold of maximum temperature in GEE. I have calculated the number of days exceeding the threshold ...
shravani banerjee's user avatar
0 votes
1 answer
47 views

Using Cadastral data to count number of Lots in a given Suburb based on calculated field AreaOfLot

I make use of my local Councils Cadastral data, and I'm looking to identify all properties over a certain area within the surrounding suburbs. I have loaded in Layers for "Lot" and "...
Paul Louis's user avatar
0 votes
1 answer
85 views

Count number of records with the same date

I have a table with species sightings and I would like to add a field with the sighting number in that day (every day should start again from number 1). Ideally this should be done automatically as I ...
Kike's user avatar
  • 33
0 votes
0 answers
80 views

Count grid cells overlapping with target polygon

I am working with ArcGIS Pro trying to obtain the number of grid cells of a polygon grid (purple) overlapping with different target polygons (green), e.g. 9 grid cells for the uppermost polygon. The '...
Kristina's user avatar
  • 1,083
2 votes
1 answer
127 views

How to automatically count intersecting geometries by excluding a layer and adding new layers with any layer name

I am using the following expression to count and label the number of geometries of a layer (POINTS1_TO_INCLUDE) that intersect with polygons of another layer (POLYGONS): to_string( round(array_length( ...
Ingrid Ingravida's user avatar
3 votes
2 answers
92 views

Determining if no features in layer are selected using ArcPy

I am creating a custom geoprocessing tool and I only want it to run if at least 1 feature in a layer is selected. However when I use the GetCount tool if no features are selected it gives me the ...
Matthew Attiyeh's user avatar
0 votes
0 answers
326 views

Count and list all polygon features within a polygon in ArcGIS Pro

I am trying to count and list the names of all individual layers that have polygons (in blue and green) within multiple target polygons (one example shown in orange) in a separate layer using ArcGIS ...
Kristina's user avatar
  • 1,083
1 vote
1 answer
137 views

How to count features from multiple different layers in a grid in ArcGIS Pro 3.1?

The multiple features (points and polygons) are all a toxic chemical from different sources. The grid was created using the 'Grid Index features', so it is a polygon. Some grid cells have no features, ...
Hannah's user avatar
  • 11
1 vote
0 answers
72 views

Getting total count in each grid cell from multiple point and polygon layers using ArcGIS Pro

I am using ArcGIS Pro 3.1. The multiple point and polygon feature layers are sources of a toxic chemical but from different companies/studies/departments, etc. The grid layer was created with the Grid ...
Hannah's user avatar
  • 11
3 votes
1 answer
146 views

Counting features in child table that are related to the report feature in QGIS

I am building out a report template in QGIS. I have a Field Group Section that generates a report page for every feature in Layer A. Layer B is related to Layer A in a many-to-one relationship like so....
dan.erm's user avatar
  • 89
6 votes
1 answer
177 views

How to label a point layer with the percentage of points within another polygon layer?

I would like to find a method using Geometry generator to label a point layer with the percentage of points inside another polygons layer. I'm working on implementing a solution based on the COUNT and ...
Acperience's user avatar
  • 1,152
5 votes
3 answers
1k views

Counting points per category in polygons using QGIS

I am looking for a QGIS function to count specific point values inside polygons. I have a number of points, all sorted in specific categories "HOOFDGROEP" and a rectangular grid (see image). ...
Joost van Driesum's user avatar
5 votes
1 answer
138 views

Count the number of features joined by shortest_line function conditioned

Using the shortest_line function conditioned to a table attribute to return the shortest line joining features of the same layer as it shows in this expresion: shortest_line( $geometry, ...
Acperience's user avatar
  • 1,152
8 votes
7 answers
2k views

Getting the number of features in shapefile without opening it using Python

I have some big shapefiles that takes dozens of minutes if not hours to load. I was wondering if there would be a way to get the size of the files (number of rows) without loading them entirely. I ...
Lucas Morin's user avatar
3 votes
2 answers
902 views

Counting seconds using QTimer in PyQGIS [closed]

I am having a hard time counting seconds in PyQGIS using QTimer. The current code waits for 1 second and prints 5 times "1" as output. I desire that after every second the output should be ...
Sajeel Zafar's user avatar
7 votes
2 answers
1k views

Counting distinct values per polygon in QGIS

In QGIS I have a list of points, each with a town it's located in and a status, either 'new' or 'existing'. So something like: ID town type 01 Alicetown new 02 Alicetown new 03 Alicetown existing ...
Syrus Drake's user avatar
5 votes
1 answer
257 views

Counting points in adjacent polygons using QGIS

I would like to sum up the amount of points in a polygon and its adjacent polygons. If possible, I would like to add a certain "weight" to the points of the adjacent polygons. Here is a ...
Jérôme's user avatar
3 votes
2 answers
153 views

Counting points in hex grid by attribute in QGIS

I'm trying to count points within a polygon layer (hexagonal grid), grouped by an attribute of the points. There are some solutions on here (Python console, SQL virtual layer) but I can't seem to get ...
Patrick C's user avatar
2 votes
0 answers
31 views

Convert a raster to show count of cells of a given relationship to each cell

Is there a tool (QGIS preferably), that will look at every raster cell, and compare it to neighbouring (1km) cells and populate the value with a value based on relationship. Example (and indeed the ...
Olly Roberts's user avatar
1 vote
1 answer
230 views

How to get rolling count of masked pixels in Google Earth Engine

Using the Global Forecast System from NOAA, which provides relative humidity (RH) estimates several hours in to the future (up to 16 days to be exact). I create a binary of the RH, call it leaf ...
John Polo's user avatar
  • 377
3 votes
1 answer
284 views

Counting and summing selected number of features in map layer using PyQGIS

I have a map layer and I want to find out how many of one type of feature there are, and sum an associated feature. I want to do this as a plugin script as there will be a number of other operations ...
WillH's user avatar
  • 479
0 votes
2 answers
912 views

ArcPy command to get the number of features in map layer

I am looking for an ArcPy command to get the number of features in map layer. There are posts on how to check the number of features in the source of the map layer with arcpy.GetCount_management(lyr....
Eifa's user avatar
  • 1
5 votes
2 answers
224 views

Counting number of points in one layer within fixed distance to points in another layer in QGIS

In QGIS 3.22.7 I want to count the number of points on point 'layer B' within 60m of each point on point 'layer A' and add a column to the data on point 'layer A'. What is wrong with the following ...
osakanatengoku's user avatar
0 votes
0 answers
126 views

QGIS count points in polygon by category

This question is following to this answer point count in polygon by category array_length(overlay_intersects('pointlayername',$id,filter:="fieldcontainingcategory"='nameofcategory')) This ...
Rii Pii's user avatar
  • 474
5 votes
1 answer
222 views

QGIS count points in polygon geometry generator

This is a follow up question to this question. I have in QGIS v3.22 two layers: polygon hex layer and points layer. I want to count all the points that overlap with the polygon layer and display the ...
Rii Pii's user avatar
  • 474
0 votes
1 answer
408 views

Counting total number of records in layer using ArcGIS Pro

I have a point layer which has millions of points and I would like to know the total number of points in this layer. How can I do this in ArcGIS Pro 3? Usually, I just go to the attribute table and ...
Arthur_Morgan's user avatar
6 votes
2 answers
461 views

Counting adjacent polygons using QGIS

Is there a way to count adjacent polygons using QGIS? I want to create a new field with the number of adjacent polygons. I want to count adjacent polygons to determine if a polygon (house) is a corner ...
Sander Van Beuningen's user avatar
4 votes
1 answer
1k views

What replaces refFunctions plugin's intersecting_geom_count function?

I have been away for quite a while and it is probably a couple of years since I used the atlas features. I upgraded to QGIS 3.24 and I have just tried to generate an atlas from a saved layout. That ...
Russell Fulton's user avatar
1 vote
1 answer
1k views

ArcGIS Online Arcade Count Features

I'm creating a dashboard using ArcGIS Experience Builder and I'm having trouble writing Arcade code to display the total number of assets with a condition equal to excellent. I think I'm on the right ...
JFischer's user avatar
2 votes
1 answer
422 views

Counting in field calculator with several group_by- and filter-conditions

My question relates to a work-around that I assumed might work, instead of trying this: Count points per polygon, classify point count in original layer in QGIS as all counting attempts have either ...
gruenbet's user avatar
4 votes
3 answers
540 views

Count points per polygon, classify point count in original layer in QGIS

I have a question that I believe is similar to Count points in polygon grouping by attribute using PyQGIS but not really the same, as I would like to do it without PyQGIS and also have the information ...
gruenbet's user avatar
0 votes
0 answers
41 views

Creating variable that counts locations within buffer by monthly intervals using ArcGIS Pro

I am using ArcGIS Pro. I have Sales locations and opening dates (and closing dates if applicable) for retailers in a state. I want to draw buffers and then count the number of other retail locations ...
Joshua Scott's user avatar
0 votes
1 answer
458 views

Errors when counting data points in polygon

I am trying to count my datapoints inside different polygons, but it gives an error about my shapefile saying: No spatial index exists for points layer, performance will be severely degraded Feature (...
user207306's user avatar
6 votes
2 answers
1k views

Counting points within certain distance of each other in QGIS

I have a shapefile right now that contains many points. I would like to count the number of point points that are within 150 ft of each other. For example, I should count 8 locations with points ...
Jez's user avatar
  • 61
0 votes
1 answer
246 views

Select points by number of unique values by group - ArcGIS Pro

Similar to this question, I have two datasets that consist of points and polygons, where all the points are inside the polygons. The polygon IDs (called cluster IDs) were previously joined with the ...
KatieGeo's user avatar
7 votes
3 answers
709 views

Counting points that meet condition within polygons in QGIS

I want to create a dataset containing information about civilian deaths in areas near UNPKOs. Therefore, I use the Geo-PKO dataset, which geocodes UN peacekeeping missions, and the UCDP-ged dataset, ...
KC15's user avatar
  • 211

1
2 3 4 5 6