Skip to content

Commit

Permalink
Merge pull request #33 from edcarp/rkm
Browse files Browse the repository at this point in the history
fixup lesson 08
  • Loading branch information
rkm authored Feb 21, 2024
2 parents 2ed4a55 + 58dd783 commit fef55d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _episodes/08-geopandas.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ buoys_geo.to_crs(epsg="4326",inplace=True)
In our case, the geospatial data are all individual points. However, geospatial data can also deal with polygons. Let's load in data about Scottish Local Authority Boundaries:

~~~
scotland = gpd.read_file("data/scotland.geojson")
scotland = gpd.read_file("data/scotland_boundaries.geojson")
~~~
{: .language-python}

Expand Down Expand Up @@ -164,7 +164,7 @@ National Parks in Scotland, and we can plot it
~~~
# Notice this is a different file format to the geojson file we used for the Scottish Council Boundaries data
# The corresponding `shx` file (with the same filename) also needs to be in the same directory
cairngorms = gpd.read_file("data/cairngorms.shp")
cairngorms = gpd.read_file("data/cairngorms_boundary.shp")
cairngorms.plot()
~~~
{: .language-python}
Expand Down

0 comments on commit fef55d8

Please sign in to comment.