Skip to content

Commit

Permalink
Switch to osmx-rs for indexing and also overhaul language detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ellenhp committed Mar 13, 2024
1 parent 05fb34b commit 3bb508e
Show file tree
Hide file tree
Showing 14 changed files with 515 additions and 887 deletions.
153 changes: 152 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions INDEXING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# How to index an OSM file

This is an extremely quick writeup mostly for my own use, so please pardon the dust.

These are the commands I use.

mkdir -p ~/index; rm ~/index/* ; RUST_LOG=info cargo run --release --bin airmail_import_osm -- --wof-db ~/Downloads/whosonfirst-data-admin-latest.spatial.db --index ~/index --admin-cache ~/admins --docker-socket /run/user/1000/podman/podman.sock --osmflat ~/Downloads/seattle-latest.osmflat

RUST_LOG=info cargo run --release --bin airmail_service -- --index ~/index
Loading

0 comments on commit 3bb508e

Please sign in to comment.