lookup endpoint, better tag filtering

This commit is contained in:
randogoth 2025-03-05 19:22:56 +00:00
parent be5938ffb0
commit 9168a7cbb8
3 changed files with 102 additions and 10 deletions

View file

@ -22,9 +22,9 @@ process file:
#!/usr/bin/env bash
stem=$(basename {{file}} .pbf)
echo "Extracting Data from OpenStreetMaps PBF"
quackosm {{file}} --osm-tags-filter-file tags.json --compact --output ${stem}.parquet
quackosm {{file}} --osm-tags-filter-file tags.json --all-tags --compact --output ${stem}.parquet
echo "Generating geohash parquet files"
python3 slice.py --input ${stem}.parquet --water water.parquet --output geohash --parquet
python3 slice.py --input ${stem}.parquet --water water.parquet --tags tags.json --output geohash --parquet
echo "Cleaning up"
rm ${stem}.parquet