0
respostas

Nao consigo abrir o arquivo DATASET.shp (geo_dados)

Ao tentar abrir o arquivo com: geo_dados = gpd.read_file('../01.Dados/Mapas/RJ-DATASET/DATASET.shp') Obtenho: * CRSError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel3376/2120051308.py in ----> 1 geodados = gpd.readfile('../01.Dados/Mapas/RJ-DATASET/DATASET.shp')

~\anaconda3\lib\site-packages\geopandas\io\file.py in readfile(filename, bbox, mask, rows, kwargs) 201 ) 202 --> 203 return GeoDataFrame.fromfeatures( 204 ffilt, crs=crs, columns=columns + ["geometry"] 205 )

~\anaconda3\lib\site-packages\geopandas\geodataframe.py in fromfeatures(cls, features, crs, columns) 585 row.update(feature["properties"]) 586 rows.append(row) --> 587 return GeoDataFrame(rows, columns=columns, crs=crs) 588 589 @classmethod

~\anaconda3\lib\site-packages\geopandas\geodataframe.py in init(self, geometry, crs, args, kwargs) 107 # need to set this before calling self['geometry'], because 108 # getitem accesses crs --> 109 self.crs = CRS.fromuserinput(crs) if crs else None 110 ** 111 # setgeometry ensures the geometry data have the proper dtype,

~\anaconda3\lib\site-packages\pyproj\crs\crs.py in fromuserinput(value, kwargs) 438 if isinstance(value, CRS): 439 return value --> 440 return CRS(value, kwargs) 441 442 def getgeod(self) -> Optional[Geod]:

~\anaconda3\lib\site-packages\pyproj\crs\crs.py in init(self, projparams, kwargs) 294 projstring = preparefromstring(" ".join((projstring, projkwargs))) 295 --> 296 super().init(projstring) 297 298 @staticmethod

pyproj/crs.pyx in pyproj.crs.CRS.init()

CRSError: Invalid projection: epsg:4326: (Internal Proj Error: projcreate: SQLite error on SELECT name, type, coordinatesystemauthname, coordinatesystemcode, datumauthname, datumcode, areaofuseauthname, areaofusecode, textdefinition, deprecated FROM geodeticcrs WHERE authname = ? AND code = ?: no such column: areaofuseauthname)*

Tentei realizar todos os passos passados para ver se tinha feito algo errado, mas continua dando erro. Alguem teve esse problema? Alguem pode me ajudar?