Daniel on Nostr: There has been some work on getting nominatim to work with sqlite ...
There has been some work on getting nominatim to work with sqlite
https://nominatim.org/2023/10/25/sqlite-reverse.htmlbut if you're used to the Protomaps + Maplibre map stack, I don't think geocoding will give you that simple of a user experience.
Maybe you can get away with a very limited auto-complete based on your use case where you e.g. load all street names into sqlite and use their text index functionality?
Published at
2024-03-30 14:20:36Event JSON
{
"id": "3b026667211b03ac395cd2db61e44c03bc9c34eb09d2009b33cd5f1cac8e724b",
"pubkey": "f860787e99eabd6f64ff9fdb53bc089e3076caaf73d3e771e17ff35b2ba728d8",
"created_at": 1711808436,
"kind": 1,
"tags": [
[
"p",
"a071462e960207a7a2272a3f59d042e59623bb2217b56f9365cba21e12213e3e"
],
[
"e",
"5868fe056ae31786856980ef057826e96d5e275aff89f6e17e14cdeec258e971",
"",
"root"
],
[
"proxy",
"https://chaos.social/users/djh/statuses/112185077689922311",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://chaos.social/users/djh/statuses/112185077689922311",
"pink.momostr"
]
],
"content": "There has been some work on getting nominatim to work with sqlite\n\nhttps://nominatim.org/2023/10/25/sqlite-reverse.html\n\nbut if you're used to the Protomaps + Maplibre map stack, I don't think geocoding will give you that simple of a user experience.\n\nMaybe you can get away with a very limited auto-complete based on your use case where you e.g. load all street names into sqlite and use their text index functionality?",
"sig": "9e7b5b521a105e6b01aa23df5248d9465731f2a1c9e54c0177891251434bd4c903bdf1c23dbecac4881c8e0198d12b612dba7ba14daea805fb8f8b33ed8ab528"
}