Cannot search on address or postcode after applying osmfilter on a map.
Hi all,
I am trying to downsize / shrink the map of The Netherlands by leaving only information about a single city (Laren).
I have done the following:
osmconvert netherlands-latest.osm.pbf -o=netherlands-latest.o5m
osmfilter netherlands-latest.o5m --keep="addr:city=Laren" -o=nl-Laren.o5m
The new map of Laren is imported with the nominatim setup.php script:
./src/utils/setup.php --osm-file /app/src/nl-Laren.o5m --all
The above one is a part of a Dockerfile that I'm using: [nominatim-docker][1]. The only thing I have changed in the Dockerfile is putting the new small map of Laren.
However, when I use the web interface or the REST api trying to search by address or postcode I get no results. It looks like not all of the tags or object relations have been preserved after I shrinked the map with osmfilter.
Am I missing something when applying the osmfilter?
osmfilter? I would like to leave only nodes related to this city.
Thanks in advance,
Peter
[1]: https://github.com/mediagis/nominatim-docker