osm-search / Nominatim

Open Source search based on OpenStreetMap data
https://nominatim.org
GNU General Public License v3.0
3.08k stars 712 forks source link

Better ordering for places according to their object type. #280

Open HolgerJeromin opened 9 years ago

HolgerJeromin commented 9 years ago

If you search for "Alunorf" you get 4 "small" amenity=parking areas and at the fifth position the huge landuse=industrial + man_made=works IMO you should get an object with landuse=industrial or man_made=works with a higher priority. This is valid also if the works is tagged as a node only.

lonvia commented 9 years ago

I'd like to see a general solution for this where secondary ordering via place type is automatically computed from the importance of objects we have from the wikipedia data. Needs some experimenting what the best metric would be here.