문제 설명
어떤 점에 포함된 영역을 찾는 Geopandas (Geopandas to locate which area does a point contains)
그래서 도시의 모든 지점을 포함하는 하나의 지오데이터프레임 파일이 있고 폴리곤 파일이 포함된 다른 지오데이터프레임 파일이 있습니다. 이것으로 sjoin을 사용하지 않고 점이 폴리곤 내에 있는지 확인할 수 있는 다른 방법이 있습니까? 이 함수를 사용할 때마다 이 오류가 항상 나타납니다.
'AttributeError: 'BlockManager' 개체에 'dtype' 속성이 없습니다.'
참조 솔루션
방법 1:
You can check if your point is within a polygon: point.within(polygon)
(by user494619、Ashim Pokharel)