Count GeoJSON features by property value (COUNT ... GROUP BY).
Returns a JSON object mapping property values to their counts.
input
key
JSON string like {"value1": 5, "value2": 3}.
{"value1": 5, "value2": 3}
Count GeoJSON features by property value (COUNT ... GROUP BY).
Returns a JSON object mapping property values to their counts.
Arguments
input— GeoJSON stringkey— Property name to count byReturns
JSON string like
{"value1": 5, "value2": 3}.