26 lines
634 B
Bash
Executable File
26 lines
634 B
Bash
Executable File
#!/bin/bash
|
|
# Acquire OpenStreetMap data for Dubai Marina
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
echo "=== Acquiring OSM Data for Dubai Marina ==="
|
|
echo ""
|
|
|
|
# Dubai Marina bounds: 25.07,55.13,25.09,55.15
|
|
BOUNDS="25.07,55.13,25.09,55.15"
|
|
OUTPUT="processed/dubai_marina_buildings.geojson"
|
|
|
|
echo "Bounds: $BOUNDS"
|
|
echo "Output: $OUTPUT"
|
|
echo ""
|
|
|
|
if [ -f "../scripts/data/import_osm_data.py" ]; then
|
|
python3 ../scripts/data/import_osm_data.py \
|
|
--output "$OUTPUT" \
|
|
--bounds "$BOUNDS"
|
|
echo "✓ OSM data acquired"
|
|
else
|
|
echo "⚠ OSM import script not found"
|
|
echo "Manual download: https://www.openstreetmap.org/export"
|
|
fi
|