본문 바로가기

QGIS Intersection Ratio 구축 과정(Treatment) 본문

Research/Functional Mediation Analysis

QGIS Intersection Ratio 구축 과정(Treatment)

TaeTrix 2025. 3. 14. 22:04


QGIS 

Intersection Ratio 구축 과정

 

1 - 1. 캘리포니아 산불 shape 파일 불러오기

 

1- 2. 지오메트리 수정하기

왜해야하는지

 

- 좌표 체계 및 정확도 조정

  • 다른 시스템에서 가져온 데이터가 올바른 좌표계를 따르지 않을 수 있음.
  • 변형되거나 잘못 정렬된 지오메트리를 보정하여 데이터의 정확도를 유지해야 함.

- 공간 분석 오류 방지

  • 버퍼, 오버레이 분석, 클리핑 등의 공간 연산을 수행할 때 잘못된 지오메트리가 있으면 오류가 발생할 수 있음.
  • QGIS의 지오메트리 수정 기능을 활용하면 공간 연산이 원활하게 수행됨.

 

 

1-3 산불 파일 필터설정에서 2014년 ~ 2023년 10년 데이터 가져오기

 

 

2-1. County Shapefile 불러오기

 

 

2-2. County 파일 레이어 재투영하기

왜해야하는지

산불 파일의 좌표체계는 EPSG:3857이지만 카운티 파일의 좌표체계는 EPSG :4269로 두 카운티 파일의 Intersection 지오메트리를 구하기 위해선 좌표체계를 같게 해줘야함

 

 

2-3 필터설정에서 06이 캘리포니아 state FIPS code이므로

 

 

 

 

3-1 교차영역 구하기

산불의 전체 지오메트리 중에 각 county의 지오메트리가 어느 정도 되는지 알기 위해 교차영역을 산출

 

 

 

3-2  산불이름이 중복되는 경우가 있으므로 산불 이름과 county의 geometry intersection을 구하는게 아니라 산불의 objected ID(unique한 key)로 구하기

 

 

 

 

 

 

4-1 weight를 구한 shape파일을 csv파일로 내보내기

 

 

 

 

 

 

 

 

Air poullation

바람의 방향과 속도 데이터

https://globalwindatlas.info/en/area/United%20States%20of%20America/California

 

 

그걸 반영해서

 

 

 

 

 

IDEA

대형산불에 대해서만 지엽적인 wind direction 반영

 

wind direction이 시간에 따라 많이 변하지 않음

 

https://earth.nullschool.net/#2020/08/29/0000Z/wind/surface/level/orthographic=-123.00,39.94,4527/loc=-122.998,39.939

 

earth :: a global map of wind, weather, and ocean conditions

See current wind, weather, ocean, and pollution conditions, as forecast by supercomputers, on an interactive animated map. Updated every three hours.

earth.nullschool.net

 

 

 

 

 

IDW

https://docs.qgis.org/3.40/en/docs/gentle_gis_introduction/spatial_analysis_interpolation.html

 

11. Spatial Analysis (Interpolation) — QGIS Documentation documentation

Mitas, L., Mitasova, H. (1999). Spatial Interpolation. In: P.Longley, M.F. Goodchild, D.J. Maguire, D.W.Rhind (Eds.), Geographical Information Systems: Principles, Techniques, Management and Applications, Wiley.

docs.qgis.org

 

Comments