Hacker News new | ask | show | jobs
by ijustlovemath 16 days ago
Does it work offline? That's the main time I use osm
1 comments

Unfortunately not. I need about 3 TB of SSD for the map tiles, query engine, routing and navigation and languages.
Why does a search engine need tiles? Could use it with any tile server
https://gitlab.com/cdutsov/overpass-search

The search is a standalone project. You give it a string and it returns the overpass query.

Having the overpass server though is the hard part.

I think that if you have the vector tiles, you could have a serch over them and not need a separate DB for geocoding and overpass, but it is not the case yet.

Vector tiles are relatively small. The data necessary for a full Overpass query server is huge.
Could it be segmented if a user just wants a specific area and can dedicate a few hundred megabytes? I'm glad you built this, OSM search has always seemed terrible!
Yes indeed. For tests I use just a segment of Luxembourg or Monaco that takes very little space. I could think of a dedicated offline app. Problem is that the search is Rust and Go and I'm not sure how does this work on android.
I think you could do some native code interop, but I'm not sure! Regardless, impressive work!
Would there be a way to maybe expose it as an API so you have only the search part and not the rendering?
https://gitlab.com/cdutsov/overpass-search

Its a standalone project, yes :)