This repository contains two automation scripts designed for research purposes related to 급경사지 (steep slope hazard sites) listed in the 국민재난안전포털 database.
The scripts help researchers quickly collect official site data and retrieve Naver Street View imagery around each location for environmental assessment, hazard monitoring, or other scientific studies.
- 국민재난안전포털 → 메뉴 경로:
급경사지 - The portal lists registered steep slope hazard sites with their administrative addresses and management names.
- This script automates:
- Data collection (address & name) from the portal.
- Surrounding condition capture via Naver Street View for each site.
This tool is for academic research and analysis purposes only.
Data accuracy depends on the portal and Naver Maps availability.
-
safekorea_scraper.py- Automatically selects a province/city in the 급경사지 portal.
- Crawls all registered steep slope hazard sites (address + name).
- Saves results as
locations_auto_filtered.csv.
-
naver_streetview.py- Reads addresses from
locations_auto_filtered.csv. - Opens each location in Naver Maps, enters Street View mode.
- Captures multi-angle screenshots (12 rotations) and saves to
naver_map_result.xlsx.
- Reads addresses from
- Python 3.8+
- Google Chrome + ChromeDriver (matching version)
- Python packages:
pip install -r requirements.txt