Search for OpenStreetMap tags (key and value combinations) by a query.
description
field
and put them in a vector database.
This makes it easy to search for particular features in English and
get the tag OSM uses for that feature. For example, searching “trail head”
gives highway=trailhead
as the first result, which is described as:
A trailhead (highway=trailhead
) is a designated or customary place where a trip on a trail begins or ends.
Multiple results are returned, ordered in increasing dist
. This allows for
autocomplete text boxes, where a user can type in their query and then select
the exact tag they want to use.
Content-Type: application/json
.
Results look like this (query was “national park”):
error
field describing the cause.