Description
Overpass allows to query with a country name or osm-id,
area[name="London"]; or area(3600065606)
Our dashboard also allows to choose countries (by name).
And as we already have the administrative boundaries in our database we could provide a new filter-parameter for the ohsome-api which allows the user to specify the name/code/wikidata/iso/id for one or more features.
here some example filters how this could look like:
-
area=Anderson Country:Kansas:USA
orarea=Q377234
orarea=1070344
-
also multiple areas should be allowed
area=Heidelberg or Mannheim
orarea=Heidelberg, Mannheim
-
and querieable should also be a mix of name/localname/wikidata,iso3166_2 code, and id
area=münchen or essex:can or gb-lce or q1044 or 62691
This new parameter would us also allow to generate a query (curl/https) link from a dashboard query.
As we already have access to the adminboundary data, I guess a first version could be done quite quickly.