Has anyone ever tried/accomplished adding custom tags into nominatim to geocode against? Basically what I would like to accomplish is to be able to geocode store id #s with nominatim, for instance, retail stores have unique identifying numbers for their particular store. I would like to be able to, for example, be able to add these tags under a custom tag store_id:123456 with something like the iD environment and then ingest that data into Nominatim to geocode against those custom store_id values. Any suggestions? Thanks asked 04 Sep '14, 13:46 olearytd12 aseerel4c26 ♦ |
The question has been closed for the following reason "The question is self-answered (accepting own answers would not work here on this site) → closed" by aseerel4c26 21 Oct '14, 19:47
I ended up figuring this out myself, if anyone else is interested. You can accomplish this by editing the output-gazetteer.c file in the osm2pgsql/ directory at the root of Nominatim. Add the custom "key" tag with the other name tags that are imported to the Nominatim database during ingest and you will have to rebuild Nominatim to pick up your changes to the gazetteer file. Ingest your data that holds your custom key:value and you should be able to geocode that feature now. answered 07 Oct '14, 15:15 olearytd12 |