일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 크롤링
- 셀레니움
- geoDataFrame
- 혁신성장부문
- flask
- 알고리즘
- Crawling
- Python
- 코랩 런타임
- 인스타그램
- 해시태그
- python buildpacks
- Merge Repositories
- convert to shp
- string to list
- 2164 카드2
- colab runtime
- kmeans
- Chat-GPT
- 플라스크
- NLP
- 괄호 문제
- plotly dash
- geopandas
- clustering
- to shp
- Selenium
- 웹페이지
- 백준
- 파이썬
Archives
- Today
- Total
목록to shp (1)
코딩코딩코딩
Convert the Geo DataFrame (csv) to shp file
geometry 형식의 컬럼을 가지고 있는 데이터프레임을 shp file로 바꿔서 저장하려고 할 때 발생할 수 있는 오류의 종류 ㄱ) TypeError: Input must be valid geometry objects ㄴ) 'Series' object has no attribute 'has_z' 에러 방지 ㄷ) WKTReadingError: Could not create geometry because of errors while reading input. 1. 먼저 csv 파일로 저장되어 있는 geo file 을 불러옴 (pd.read_csv) 2. geometry column의 개별값에 wkt.load()를 적용해주어야 함 2-1. 위에 적어 둔 (ㄷ) 에러가 발생할 수 있는데, 이 때 에러 처리를 ..
파이썬/GeoData
2021. 4. 16. 00:37