ERROR: ArgumentError: EPSG/ESRI code for the ESRI ID "GCS_North_American_1983" not found in dictionary

imantha
Fri, 30 Aug 2024 06:55:09 +0000
Specific Domains

Any one can help me with this error when attempting read a shape file using GeoIO

using GeoIO
df_lo = GeoIO.load("data/processed/low/us_division_2018/us_division_2018.shp")

>>>
ERROR: ArgumentError: EPSG/ESRI code for the ESRI ID "GCS_North_American_1983" not found in dictionary.

Equivalent version which works perfectly fine using python Geopandas

# Read Low Resolution DataFrame
df_lo = gpd.read_file("data/processed/low/us_division_2018/us_division_2018.shp")
df_lo.rename(columns = {"total_spec" : "total_specimens", "total_flu_" : "total_flu_cases"}, inplace = True)
df_lo

>>>

area	total_specimens	total_flu_cases	geometry
0	New England	20954	2964	MULTIPOLYGON (((-68.37659 44.11376, -68.37538 ...
1	Middle Atlantic	80827	2266	MULTIPOLYGON (((-72.03496 41.25546, -72.02944 ...
2	East North Central	62901	3762	MULTIPOLYGON (((-82.73571 41.60336, -82.7188 4...
3	West North Central	9762	2948	POLYGON ((-104.0577 44.99743, -104.05021 44.99...
4	South Atlantic	12874	5185	MULTIPOLYGON (((-75.5708 39.62677, -75.55945 3...
5	East South Central	1532	484	MULTIPOLYGON (((-88.04374 30.51742, -88.03661 ...
6	West South Central	14849	873	MULTIPOLYGON (((-88.88145 30.0532, -88.87048 3...
7	Mountain	42251	5961	POLYGON ((-120.00574 39.22866, -120.00526 39.2...```

6 posts - 4 participants