Quando dou o comando:
metro = metro.to_crs('+proj=utm +zone=23 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=km +no_defs')
Aparece o erro:
RuntimeError Traceback (most recent call last) in ----> 1 metro = metro.to_crs('+proj=utm +zone=23 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=km +no_defs')
~\Documents\Anaconda3\lib\site-packages\geopandas\geodataframe.py in to_crs(self, crs, epsg, inplace) 441 else: 442 df = self.copy() --> 443 geom = df.geometry.to_crs(crs=crs, epsg=epsg) 444 df.geometry = geom 445 df.crs = geom.crs
~\Documents\Anaconda3\lib\site-packages\geopandas\geoseries.py in to_crs(self, crs, epsg) 302 except TypeError: 303 raise TypeError('Must set either crs or epsg for output.') --> 304 proj_in = pyproj.Proj(self.crs, preserve_units=True) 305 proj_out = pyproj.Proj(crs, preserve_units=True) 306 project = partial(pyproj.transform, proj_in, proj_out)
~\Documents\Anaconda3\lib\site-packages\pyproj_init__.py in new(self, projparams, preserveunits, *kwargs) 360 # on case-insensitive filesystems). 361 projstring = projstring.replace('EPSG','epsg') --> 362 return proj.Proj._new__(self, projstring) 363 364 def call(self, *args, *kw):
proj.pyx in proj.Proj.cinit__()
RuntimeError: b'no arguments in initialization list'