Folium 알아보기

학습 목표

학습 내용

01. 사전 이해

02. folium 설치 및 이슈

pip install folium

에러 발생 시,
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

selenium 4.1.0 requires urllib3[secure]~=1.26, but you'll have urllib3 1.25.11 which is incompatible.

해결
pip install folium --use-feature=2020-resolver

지도 확대 및 축소

html 파일로 저장

지도의 위치 찍기(Marker)

popup과 icon을 사용해보기

CircleMarker 이용

Marker를 군집화 시키기 - MarkerCluster

for문을 이용한 위치 Circle표시

Heatmap

GeoJson 행정 구역 데이터

tiles을 값 변경

Ref