Skip to content
Discussion options

You must be logged in to vote

It looks like you are running your own instance of Nominatim. That means you can configure it to index entrances and trailheads and then search for them:

Firstly, you need a custom Lua import script with the extra objects:

local flex = require('flex-base')

flex.load_topic('full', {with_extratags = true})

flex.set_main_tags{
    highway = {trailhead = 'always'},
    entrance = 'always'
}

Reimport the database to get the new data.

Then you need special phrases to be able to find those items by type. Easiest here is to use the CSV import with --no-replace to add to whatever other special phrases you have. The CSV file should look something like this:

phrase,class,type,operator
trailhead,h…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by graue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants