-
|
Hi Nominatim community, I am looking for a way to, given a park (for example https://www.openstreetmap.org/relation/13070397), find a list of its entrances (
My application could then filter to within the park's polygon with some tolerance. But trailheads and entrances do not fit the amenity=* pattern. (Also, even for things that do, like The use case is routing, similar to what is described in this blog post about entrance information, so I got excited when I saw that. But that presents two problems: 1) trailheads, for parks, are not exactly entrances, and 2) most of the parks I want to use this for are mapped as relations, not ways, and the blog mentions this feature currently only supports ways. Is there any way Nominatim can find me all nodes with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
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: 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 Now the search |
Beta Was this translation helpful? Give feedback.
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:
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-replaceto add to whatever other special phrases you have. The CSV file should look something like this: