Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [count]

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

2
votes
2answers
33 views

ArcPy not reading Layer properly?

I would like to work with selections. For that I start to read the layer from a mxd. I have controlled that the layer count 0 returns the correct name, but the GetCount_management is empty as is the ...
1
vote
0answers
17 views

Counting points in a scratch layer poygon

I'm using QGIS 3 I am trying to count the points in a scratch layer polygon. when I use the count points in a polygon tool it says there are no points in my polygon which is untrue. I figured the ...
0
votes
1answer
66 views

Counting number of polygons within polygons using R?

I have two huge shapefiles. One contains polygons of one kind of vegetation and the other one representing a grid. A situation as follows but, of course, much bigger: I need: the efficient way to ...
2
votes
1answer
46 views

Making points count automatically when zooming out in QGIS?

Can I make the point count itself when there are too much stacked up points in one area when I zoom out my map? I want my output e.g. Area of ganli points to be like this when i zoom out Water ...
0
votes
1answer
21 views

Using ModelBuilder to Summarize Multiple Feature Classes?

I am trying to create a model that will iterate through all the files in a Database, return the counts of each feature class, then add them all together to get a final count and put the result in a ...
2
votes
1answer
80 views

QGIS - count points in polygons

I use QGIS 2.18.26. I have a layer with 10 million location points over which I lay a 1m by 1m raster. Then I want to count the number of points in each 1m² of this raster. When I launch the count I ...
1
vote
1answer
40 views

Counting the number on elements in a relation, with QGIS 3.x

Given a relation in QGIS 3.x (I have a layer A of points (150 geometries) and an attribute table B of users with 500 records, and each one of this registered users is associated to a point geometry ...
0
votes
1answer
71 views

Plot areas by class in a polygon with Google Earth Engine

I would like to plot the number of pixels or the area for each class contained in a polygon (shape of a country). I have found the ui.Chart.image.byClass function but I don't understand how to use it ...
1
vote
1answer
57 views

Pixel count on AFR Raster in ArcGIS?

I have this kind of raster which has no pixel count in his attribute table. I'd like to calculate the pixel count by class: These are the raster's properties
1
vote
0answers
44 views

SumLineLengths in QGIS 3.2 not working?

I'm trying to use the Vector > Analysis Tools > Sum Line Lengths in QGIS version 3.2.3-Bonn. I'm inputting a ploygon (Multi Polygon) and a Lines (MultiLineString) shape files. I'm hoping to get the ...
0
votes
2answers
42 views

Counting number of polygons within which points are located using ArcGIS Desktop?

I have used the network analyst to calculate service areas of varying facilities. Additionally I have points which represent buildings. To make it short, I have the following data: Polygons - which ...
0
votes
1answer
54 views

SearchCursor not reading the last row

Let's say I have a layer made up of pre-selected features from another layer: selects = arcpy.SelectLayerByAttribute_management (S_FIRM_Pan, "NEW_SELECTION", "DFIRM_ID = '{}'".format(fipC)) If I get ...
1
vote
1answer
147 views

Count pixels of different bands in MODIS

I need some help with my script in GEE. I’m working with a MODIS Terra Vegetation Continuous Fields Yearly (MOD44B.051 Terra Vegetation Continuous Fields Yearly Global 250m) and I’m trying to obtain ...
1
vote
1answer
215 views

Using value from Get Count tool in Calculate Field statement in ArcGIS ModelBuilder?

I'm trying to assign the number of crashes (points) found in a buffer to the line segment found in the same buffer. I need to iterate through the rows of the buffer feature class. I have the model ...
3
votes
5answers
275 views

Count of the different combination of two attributes in QGIS?

I've been trying in vain to use the field calculator in QGIS 2.8 to count the combinations of two attributes in two separate columns. First column is called "Alds_klass" and second is called "...
1
vote
1answer
69 views

Counting where multiple street names within polygon using MapInfo?

I have a dataset of address points with their associated street name, in addition to a tab file of polygons covering a catchment. I want to know if there is a way of selecting polygons which have ...
0
votes
1answer
113 views

Counting points in polygon using QGIS?

I use QGIS 2.18.16. I import 1.000.000 data points, from a text document, as a CSV layer. Then I add a raster of 5 by 5m over those points. Project, layer and raster are put in the same CRS (...
1
vote
0answers
19 views

Finding number of links where buffer and link intersect using PyQGIS?

Created a buffer of 0.001 size at the beginning and end of each link. I want to extract the starting point and the ending point of which the number of the buffer and the link intersect is one. layer =...
0
votes
2answers
33 views

Counting kilometers/lines with ArcGIS

I am trying to get a measure of border intensity of different regions in Europe. Having a relevant shapefile of European countries at the regional level (NUTS2) as well several ones by century for a ...
0
votes
2answers
154 views

Counting points within polygon with ArcPy?

I am trying to script a process where I need to make a selection on a point feature class, count the number of points that fall within each polygon on another feature class, and then update a COUNT ...
2
votes
1answer
117 views

Counting the number of layers in a GeoPackage

I'm trying to figure out a best practice for determining what are the names of layers in a GeoPackage and counting the total number of them. I've been able to list all the layers of a GeoPackage ...
3
votes
1answer
155 views

Counting occurence of unique points across large grid using QGIS?

I am attempting to map out, in a 10x10 km grid, the occurrence of unique plant species. I have used the "Points in Polygon" feature to count and map the unique points across the grid, however I have a ...
0
votes
1answer
127 views

Count Polygons in Buffer using ArcMap?

I'm using ArcMap and work with a dataset that contains all the buildings of north rhine-westphalia. This dataset contains different attributes for every object. My task is to count all neighboring ...
2
votes
1answer
75 views

Counting frequency of specific value in selected columns of an attribute table of the feature class in ArcGIS 10.4

I want to calculate the number of members in the houses (feature class which contain information of the members in the house interms of age,sex,occupation) based on the information entered in age ...
1
vote
1answer
248 views

Using Spatial Join with Count in ArcPy?

Using ArcMap 10.2 I am getting the ERROR: 000714 for this script. Therefore I am having trouble debugging it. The purpose of my script is to spatially join points to lines in ArcGIS. And is simply a ...
1
vote
2answers
61 views

Count number of Points within a varying distance

I have a set of points (roughly 500,000 houses), and I would like to compute how many other points (sea buoys) are within a radius of each house. The search radius for each house is its distance to ...
1
vote
2answers
829 views

Counting points in polygons using ArcGIS Desktop?

I have a table as follows: I have points and polygons. Every polygon has a variety of points inside. Some have 6, some have 12, some have 0. FID_2* is polygon ID. I would like to populate Count( 9th ...
0
votes
1answer
58 views

Counting points creating polygon with ArcMap?

I am using ArcGIS Desktop 10.5. In land consolidation projects, to determine success of the project, we use shape indices. For this purpose to calculate shape indices, I need to know how many points ...
3
votes
2answers
137 views

Grouping values by type and counting them

I have a set of points in a csv and a shapefile, and I used the buffers of the points to obtain the subset of polygons from the shapefile that intersects the buffers. Each of the polygons has a ...
0
votes
1answer
78 views

buffers overlaying and double counting

I have layer of water points and a layer of houses. I need to get the number of houses that are within 500 m from a waterpoint. After this I do a spatial join (join one to one) and then I get number ...
1
vote
1answer
114 views

How to hide label when“count” is equal to 1 in pointstacker?

Is there a way to hide labels when the "count" value is 1 (one), using pointstacker? "count" = <ogc:PropertyName>count</ogc:PropertyName> SLD Code: <?xml version="1.0" encoding="utf-...
1
vote
1answer
783 views

Counting number of pixels using ArcGIS Spatial Analyst?

There is a raster data which contains specific areas separated by layers. My purpose is to count the number of the pixels in those areas. Is it possible to do it in the ArcGIS Desktop 10.5.1 with a ...
0
votes
2answers
99 views

Finding number of mountains between two points using QGIS?

How can find the number of mountains that is crossed by a line between two points on a map? I guess I might adapt the answer to Number of buildings between two points but I don't exactly know how.
1
vote
0answers
59 views

Obtain the number of features in a Shapefile using NodeJS

I'm using the shapefile NPM library which works well, but it doesn't provide a count of the number of features in a Shapefile. Is there some other library which can access this information (other than ...
1
vote
2answers
213 views

Counting number of points differing in specific attribute within polygon in ArcGIS Desktop?

I have a grid of polygons and a shapefile with several types of points (POIs). Now I would like to count the number of POI classes lying within each polygon? With spatial join I only managed to get ...
0
votes
1answer
47 views

point count from in Inverse Distance weighting procedure - QGIS

I have conducted an interpolation using IDW procedure. I have vectorized the interpolation in order to be able to specify a 3 class clasification. I have additional point dataset indicating the ...
0
votes
1answer
941 views

How to count raster pixels inside a vector/polygon layer in QGIS?

I have a binary raster (two classes) and I would like to count the pixels of each class contained in a polygon. My goal is to know the amount of pixels of each class of the raster contained in the ...
2
votes
2answers
726 views

Summing of individual image's statistic over ImageCollection Google Earth Engine

I have an ImageCollection containing FIRMS fire image in 2014. I want to count number of fires in the year for a predefined region. I can find a way to count number of fires for individual image ...
5
votes
1answer
484 views

QGIS feature count is wrong after changing categories programmatically

I want to delete categories in my vector-layer style if the feature-count for the category is zero. The following code works so far if you run it in the python console but the feature count for the ...
5
votes
2answers
488 views

Count number of vertices in a shapefile using OGR

I'd like to extract the total number of vertices in a shapefile using command-line OGR. This answer suggests a method for intersections, but it isn't clear how to cross-apply it. Many other methods ...
1
vote
0answers
200 views

Merge and count adjacent polygons in QGIS [closed]

I have a shapefile that shows single steps as individuals shapes and im trying to figure out the total count of adjacent steps. The little model I came up for now includes using the v.dissolve ...
2
votes
1answer
190 views

Count points not in polygon in QGIS (difference between points and layers give unexpected result)

I have a layer of 130 points and another layer of driving distances as 6 polygon features When I use the count points in polygons I get a running total of the number of points in each polygon feature (...
5
votes
2answers
1k views

Feature Count in Legend (QGIS 2.18.2)

Below is a screen shot of my Layers Panel showing two Graduated Category layers. One set of category features (Change in Small Firms (2015-2010)) are accompanied by counts, while the other (Change in ...
4
votes
0answers
255 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 ...
-1
votes
1answer
284 views

Count the intersection of buffers, in the same layer. qgis [duplicate]

If I have one shape of buffers, How to count the number of times, the different buffers (in the same layer) intersect each other.
1
vote
1answer
311 views

Count multipoints within polygon

It seems I can't count the number of individual points contained in multipoints geometries with CREATE TABLE count_table AS SELECT poly_table.id, count(multipoint_table.geom) AS count FROM ...
0
votes
1answer
25 views

Populating an fc field based on the Count of a unique attribute

I am trying to add a field in a feature class that is populated with the number (or count) of how many other features in that same feature class have the same attribute value in a particular field. ...
0
votes
2answers
241 views

Creating raster that counts points using ArcGIS Desktop?

Is there a way to create a raster that counts points? I have dresses (points) and I want to know how many addresses are in a square of 100m. So I also need a tool t measure one meter. I think it is ...
4
votes
1answer
967 views

Count points in polygon results in error “'NoneType' object has no attribute 'geometry' See log for more details”

I'm new to QGIS and have the following problem: I'm trying to use the "Count points in polygons" tool, but always get an error ('NoneType' object has no attribute 'geometry' See log for more details). ...
4
votes
1answer
92 views

Counting points around a point conditional on time values

I want to count the number of points from one layer around each point from a different points layer. The thing is that each point (from both layers) has an "entrance date", so I want to count only ...