< Nominatim

Nominatim/Special Phrases

Special Phrases

Special phrases are keywords that cause Nominatim to search for a specific key=value pair.

The existing special phrases hosted on translatewiki.net are now being replaced with a list hosted on this wiki to allow for more flexibility (comment: why? nobody has told us anything -> Discussion). The idea is to capture all possible phrases and what they mean to the search engine so please record all phrases and any variations.

If the same phrase is both the singular and the plural please include 2 lines, one labelled plural 'Y' and the other labelled plural 'N'.

For the operator please use either '-', 'in', 'near' or 'named'. '-' means 'any' so for instance "London Airport" could mean either an airport in London, an airport near London or an airport called 'London'.

Word / PhraseKeyValueOperatorPlural
Airportaerowayaerodrome-N
AirportsaerowayaerodromeinY
AirportsaerowayaerodromenearY
Airport inaerowayaerodromeinN
Airports inaerowayaerodromeinY
Airport nearaerowayaerodromenearN
Airports nearaerowayaerodromenearY

If there are additional synonyms, alternate phrases or even alternative spellings that mean the same thing add additional lines as required. If the same word or phrase could be used to search for different key/value pairs include additional lines for those as well - please check that they are not already repeated further down the file.

Important

Reporting an issue

Even though this list is used by Nominatim, it is maintained by the community. Please do not report bugs you find in this list to Nominatim, just fix them here.

Automatic import of special phrases in Nominatim

You should further be aware that Nominatim only reimports the phrases sporadically when the database is reloaded, so changes may take a long time before they appear. At the moment we cannot accept requests for unscheduled database reload just to update the list. This task is done manually by administrators with an import script.

Current language pages

The current special phrases are based on the list maintained in translatewiki and periodically re-imported.

This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.