Every named OSM object in each country's Geofabrik extract goes into a SQLite FTS5 index (data/places/<CODE>.sqlite, lib/maptool/places.rb), built as the last offline-build step or on its own with rake places:index. Kiwix full-text search is another source; clicking a hit opens the article. Results from every source are sorted by distance from the map center (settlements weighted closer) and show it; each source is queried separately so a slow one doesn't hold up the list.
21 lines
352 B
Ruby
21 lines
352 B
Ruby
source "https://rubygems.org"
|
|
|
|
gem "sinatra", "~> 4.2"
|
|
gem "sinatra-contrib", "~> 4.2"
|
|
gem "puma", "~> 8.0"
|
|
gem "rexml", "~> 3.4"
|
|
gem "oauth2", "~> 2.0"
|
|
gem "rubyzip", "~> 3.0"
|
|
gem "sqlite3", "~> 2.10"
|
|
|
|
group :development do
|
|
gem "rerun"
|
|
end
|
|
|
|
group :test do
|
|
gem "minitest", "~> 6.0"
|
|
gem "rake", "~> 13.0"
|
|
end
|
|
|
|
gem "faraday-cookie_jar", "~> 0.0.8"
|