This endpoint counts the features in OpenStreetMap that match the given tags and reside in a bounding box.
tags
is formatted as a list of tags, each like key=value
.You can create a tag list by forming an array of key=value
items and joining
them into one string with the &
character.This list must be URL encoded because both =
and &
are reserved characters in URI.An example list of tags could be leisure=park
and name=Westglen Park
. This matches parks
that have the name Westglen Park. To set this parameter,
we’ll URL encode leisure=park&name=Westglen Park
.Documentation on tags can be found on the TagInfo resource website.-108.984375,32.026706,-103.051758,37.195331
.You can create a bounding box on bboxfinder, or in shapely by
invoking the bounds
property on a geometry.Content-Type: application/json
. The body will have a property feature_count
which will be an unsigned integer representing the number of features matching the tags and bounding box.
error
field describing the cause.