Query to get back count of features greater than 1000
I would like to query a layer to get back a total count of features inside a polygon.
The returned features could be more than 10,000. Is this possible.?
I am only after the count, not geometry or attributes. As far as I know a workflow query is still bound by the ArcGIS Server limit, which I do not want to change.
0
-
As far as I know, statistics are not restricted by the 1000 record limit, so you could use the Out Statistics property: { New OutStatistic("AnyField", "COUNT", StatisticType.Count) }This will result in a featureset that contains a single record with the number of features as attribute.
Alternatively, you could try Return IDs Only, I think that will also work with >1000 records. But obviously the 'statistics' method would result in a much smaller webrequest.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar