Show HN: Fast deterministic natural language search for OpenStreetMap data (opens in a new tab)hippomaps.ch
142 pointsMy aim with HippoMaps is to get to a level where I don't need Google Maps anymore. The biggest hurdle IMHO with OSM based apps is the lack of nice and fast search (where GMaps excels at). To get there I started working on a deterministic (as in no LLMs used) parser of queries that translates them to the Overpass QL.
Search queries are split into tokens and the algorithm tries to guess "what" you want to search and "where". The former comes from a word list (known brands, sports, OSM tags) and the latter from the geocoder service (Photon).
You can get quite creative like "cafes in Zurich by the Limmat", "peaks over 4000 m in Valais", "pharmacies open now in Bern". It's good for discovering hiking trails, e.g. "hiking trails from Arth-Goldau to Rigi Kulm". It knows how to find stuff between two places, next to a place, near a place and so on. You can stack those as well like "bridges over the danube in serbia 50 km from novi sad".
Except the search it has almost all of the features you would expect from a map like turn-by-turn navigation (Valhalla) with voice (Piper), public transport navigation in Europe (MOTIS), live traffic (only a few countries so far).
The app is GPL-3.0: https://github.com/cdutsov/hippomaps
I'm looking forward to feedback on searches that work or don't work for you + overall comments.

Comments (52) 21 threads
Earlier comments"sparsely populated urban residential areas with >75% greenery nearby".
I was able to make it work.. tested it on a small area of 50x50 km2.
But the costs were insane.. first to populate the database, and then to host the query engine.
I love the features mappings you do, then you wrapped a nice UX around it. I did try to find dispensaries in Stamford, which here means cannabis retailers. It mapped that to "pharmacies" instead, so I got a CVS drug store. It got my Stamford (CT) correct and suggested a few other Stamfords (like VT).
Since it is Golang, so you might be interested in our ntmaps library. It is MIT-licensed, so should be compatible. It would let you make terminal apps with this (or browser, but you handled that already).
https://nimbleterminal.github.io/ntmaps/?demo=explorer
All comments shown.
Couldn't load more comments. Check your connection and try again.