3f973a26d7a5dccba6e78844c7ffca2d7b50bd89
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.
MapTool
Table of Contents
A mapping application written in Ruby with Sinatra.
The project’s shape is still open — this is the initial scaffold.
Status
Early scaffold. The web application serves a vector map (MapLibre GL JS), with an online style and an optional offline style backed by a local PMTiles file, an animated RainViewer radar overlay, GPX upload/display (points and tracks, organized in folders), and a live position marker from a local GNSS receiver via gpsd.
Requirements
-
Ruby (see
.ruby-version) and Bundler
Getting started
bundle install
bundle exec puma -C config/puma.rb
Then open http://127.0.0.1:4567 in a browser.
Languages
JavaScript
41.9%
Ruby
41.1%
CSS
8.8%
HTML
6.4%
Rust
0.8%
Other
1%