Я использую файл обобщенной формы ESRI World Countries, который доступен здесь
с использованием GeoPandas
Код: Выделить всё
shp_file =gpd.read_file('World_Countries/World_Countries_Generalized.shp')
print(shp_file.crs)
Код: Выделить всё
shp_file1 =gpd.read_file('../../Downloads/World_Countries/World_Countries_Generalized.shp',crs='EPSG:3857')
Код: Выделить всё
/opt/anaconda3/envs/geo_env/lib/python3.12/site-packages/pyogrio/raw.py:198: RuntimeWarning: driver ESRI Shapefile does not support open option CRS return ogr_read(
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/793 ... -specified