Ao fazer o "sjoin":
geo_dados = gpd.sjoin(geo_dados, setor, how='left', op='within')
Aparece a seguinte mensagem:
AttributeError: 'NoneType' object has no attribute 'intersection'
O que pode estar acontencendo?
Ao fazer o "sjoin":
geo_dados = gpd.sjoin(geo_dados, setor, how='left', op='within')
Aparece a seguinte mensagem:
AttributeError: 'NoneType' object has no attribute 'intersection'
O que pode estar acontencendo?
Como usei o Colab o GeoPandas dava esse erro....
Para resolver o problema, fiz a seguinte instalação:
%%time
!apt update
!apt upgrade
!apt install gdal-bin python-gdal python3-gdal
# Install rtree - Geopandas requirment
!apt install python3-rtree
# Install Geopandas
!pip install git+git://github.com/geopandas/geopandas.git
`