How to plot a shapefile in matplotlib
Question:
I have a question regarding plotting a polygon shapefile in matplotlib.
The data I am working with is available here (the zip file called Delmarva_PL_House_Final.zip). The polygons coordinates are UTM 18N.
After importing it into geopandas and changing the crs as such:
df = df.to_crs(epsg=4326)
I went ahead and plotted the shapefile using the following command:
df.plot()
But this is the result I got:
What am I doing wrong?
Answers:
I have a question regarding plotting a polygon shapefile in matplotlib.
The data I am working with is available here (the zip file called Delmarva_PL_House_Final.zip). The polygons coordinates are UTM 18N.
After importing it into geopandas and changing the crs as such:
df = df.to_crs(epsg=4326)
I went ahead and plotted the shapefile using the following command:
df.plot()
But this is the result I got:
What am I doing wrong?