일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- Selenium
- to shp
- colab runtime
- Python
- 크롤링
- 해시태그
- NLP
- Chat-GPT
- geopandas
- plotly dash
- 백준
- flask
- string to list
- 인스타그램
- convert to shp
- 알고리즘
- 혁신성장부문
- 2164 카드2
- 웹페이지
- Merge Repositories
- 괄호 문제
- kmeans
- 파이썬
- 코랩 런타임
- geoDataFrame
- 셀레니움
- 플라스크
- clustering
- python buildpacks
- Crawling
Archives
- Today
- Total
목록convert 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