lookup endpoint, better tag filtering
This commit is contained in:
parent
be5938ffb0
commit
9168a7cbb8
3 changed files with 102 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue