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...```
Is that the whole error message? Because we had this discussion recently with a longer error message, which also tells the user (more or less) what to do, and I think @juliohm was going to improve that message further.
The update should just be a small fast code changes. After that you will either have to wait for the release of the new CoordRefSystems.jl version or get the new version directly from Github.
I have made a PR to add this code now. The maintenance of CoordRefSystems.jl (@juliohm and @eliascarv) are located in Brazil so it will probably take at least half a day before they see it.
Alternately, you can try in a clean environment to first add CoordRefSystems.jl from my branch and then add GeoIO.