<div dir="ltr">Hi Tom.<div><br></div><div>There is a list of OSM search engines. <a href="http://wiki.openstreetmap.org/wiki/Search_engines">http://wiki.openstreetmap.org/wiki/Search_engines</a></div><div>Most of the should have fuzzy search some of them do that better, some of them - worse.</div><div><br></div><div>If you are looking for something what will work for Russia, try:<br><br></div><div>1. <a href="http://openstreetmap.ru">openstreetmap.ru</a> (they have their own geocoder osm2pgsql + some magic queries + sphynx, it's not open source, but you'll get the vision what you can achive going osm2pgsql + sphynx way.</div><div><br></div><div>2. OSM-Gazetteer - that's my geocoder, since I'm from Russia and made some trics for russian addresses should works fine. Or you can use it as an OSM data preprocessor. But you may want more stability and enterprise stuff.</div><div><br></div><div>3. Photon, Pelias - they both have fuzzy search capabilities.</div><div><br></div><div>Other options from the list may also have fuzzy search, I just haven't tried them so can't say for sure.</div><div><br></div><div>Regards, Dmitry.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-28 19:03 GMT-04:00 Tom <span dir="ltr"><<a href="mailto:nominatim@tscholz.net" target="_blank">nominatim@tscholz.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi everybody,<div><br></div><div>I’m in the quest for a geocoder for OSM that is fault-tolerant in regards of miss-spelled search terms.</div><div><br></div><div>The company I’m working for does different projects for customers in the logistics field. From every customer we receive several hundred thousand address-records, which we have to geocode in order to do different calculations. I started to use Nominatim for that (on an own installation), but it seems that Nominatim has not much of tolerance regarding miss-spelled street and city names. Especially on our last project in Russia it turned out, that street- and city-names often include abbreviations in different ways (like „street“, „str.“, „s“, …). Since we receive the address information from our customers, we have not much influence on the quality of the data. So there are not just these valid abbreviations, but also real spelling errors. Nevertheless we have to geocode as much of these addresses as possible. </div><div><br></div><div>But right now, Nominatim throws out around 40% of the addresses, not finding anything, although the address is in OSM and could be found (just slightly different spelled). What I would expect is, that a geocoder gives me back some kind of answer for <i>every</i> question I ask, being it an exact match on the city or on the street, or only a „similar“ match. It should tell me if there was no 100%-match, there were several records found, matching my street or my city from e.g. 80% to 50%. So then I can decide later on which records I consider a match and which not. In any case the first row returned should be the best match available.</div><div><br></div><div>So I have a couple of questions here: </div><div><br></div><div><ol class="m_560774993589476258MailOutline"><li>Does anybody know of a geocoder for OSM-data that does this already? <br>I found besides Nominatim there are several other geocoders. But I cannot test them all. Maybe some work already this way.<br><br></li><li>There is a Postgresql-module that seems to do just what I want: pg_trgm. It does not seem like Nominatim uses that right now.<br>Is there anybody already working on implementing this (or anything similar)?<br><br></li><li>If not, I would be willing to invest further time and effort into this, but I need some help on the internals of Nominatim, which I’m not firm with. </li><ol><li>Where would be the right place to integrate this into Nominatim? </li><li>Does it make sense to try to put this into Nominatim?</li><li>Or would it be easier to use just osm2psql and build on top of that a new query-interface?</li></ol></ol></div><div><br></div><div><br></div><div>Thanks a lot for anybody who can help me getting forward with this issue!<br><div><br class="m_560774993589476258webkit-block-placeholder"></div><div>Best regards,</div><div><br></div><div>Tom</div><div><br></div><div><br></div><div>PS: I put this on both mailing list, 'dev‘ and 'geocoding', since I’m not sure where it suits better. Please excuse me if this is wrong!</div></div></div><br>______________________________<wbr>_________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thank you for your time. Best regards.<br>Dmitry.</div></div>
</div>