gdsbook/book

mexicojoin data broken

dujiaxin opened this issue · 2 comments

Hi,
For the mexico data used in the https://geographicdata.science/book/notebooks/05_choropleth.html,
When I run:

mx= geopandas.read_file("mexicojoin.shp")

I got the error message:

DriverError: 'mexicojoin.shp' not recognized as a supported file format.

When I try to open the mexicojoin.shp file in ArcGIS, it can be showed but the coordinates are wrong.

Could you fix this?

Hello @dujiaxin , thanks for opening the issue. It would make helping you easier if you provided a bit more detail and context of how you are running the code you discuss. I'm assuming you're referring to the mexicojoin.shp file available here. I have just tried it on a fresh gds_env:7.0 container (our preferred platform) and the code in the book reads the file without any issue.

Closing for now but feel free to re-open or open a new one if the issue persists.