Lurker News
I want to show you HippoMaps. It is a fully featured map and navigation app built on OpenStreetMap with a custom Overpass API engine for really fast search of POIs, areas and ways.

My 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
dialectio1 reply#
How do you handle queries in other languages? In Zurich a lot of people would type "Cafés an der Limmat" rather than the English version. The "where" part already comes from Photon, which is multilingual, so I guess the "what" word list is the hard part. The iD editor's tagging presets are translated into dozens of languages, which might give you a multilingual vocabulary of OSM tags almost for free.
vihren#
Try it out. It already works in quite a lot of languages. I have translations for the connecting words like "in", "along" etc. The categories like "restaurants", "cafes", "train stations" etc are also translated.
freakynit1 reply#
I was too building something similar 2 months back.. the intent was to be able to locate places with such queries, for example:

"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.

vihren1 reply#
HippoMaps runs on a 4-core AMD from 2019 with 64 GB ram and 1 TB ssd. The map tiles are on a separate server that's more beefy but I also sell access to Overpass there so that covers the costs more or less.
freakynit1 reply#
I should have been more clear on the serving part... i meant the tiles, not just the "query engine".
vihren#
Actually hosting Overpass (the thing that queries the OSM data) takes more or less the same space as the map tiles. I am sure that there is a more efficient way to do that, but the vector tiles and Overpass use different databases
neomantra1 reply#
This is cool! I've been up and down the map stack, but never dug into the query layer like that. It's so fast on the search and generally works well.

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

vihren#
Cool. I will definitely check this out. I love terminal apps. Never thought of terminal m*apps, that'd be fun.
Yiyli1 reply#
I really love this cool idea.I tried "cheap coffee near shenzhen univisity",but it found some "Chinese food"which are not cafes
vihren#
Ah, it wouldn't know cheap, but it shouldn't resort to a different category. Thanks for reporting. I'll see how to fix it.

Load more comments