diff --git a/images/postal_codes.png b/images/postal_codes.png new file mode 100644 index 0000000..39205cd Binary files /dev/null and b/images/postal_codes.png differ diff --git a/images/postalcoades_roads.png b/images/postalcoades_roads.png new file mode 100644 index 0000000..8ae5aca Binary files /dev/null and b/images/postalcoades_roads.png differ diff --git a/images/postalcodes_buildings.png b/images/postalcodes_buildings.png new file mode 100644 index 0000000..8ae5aca Binary files /dev/null and b/images/postalcodes_buildings.png differ diff --git a/images/unused_buildings.png b/images/unused_buildings.png new file mode 100644 index 0000000..929f5fb Binary files /dev/null and b/images/unused_buildings.png differ diff --git a/index.Rmd b/index.Rmd index 6812f14..74ad733 100644 --- a/index.Rmd +++ b/index.Rmd @@ -339,7 +339,7 @@ pc_gdf.plot() plt.show() ``` -Roads in Wageningen +Roads in Wageningen ```{block, type="alert alert-success"} @@ -380,10 +380,10 @@ pc_layer.set_xlim(xmin, xmax) pc_layer.set_ylim(ymin, ymax) # Save the figure to disk -plt.savefig('./output/postalcoades_roads.png') +plt.savefig('./output/postalcodes_buildings.png') ``` -Buildings in Wageningen +Buildings in Wageningen ```{block, type="alert alert-success"} > **Question 5**: How many buildings do you get? (hint: _len()_) Do you miss buildings? How can we extract missing buildings in our extent? @@ -447,9 +447,10 @@ newBuildingsGDF = newBuildingsGDF.to_crs(epsg=3857) ax = newBuildingsGDF.plot(figsize=(10, 10), alpha=0.5, edgecolor='k') ctx.add_basemap(ax, source=ctx.providers.OpenStreetMap.Mapnik, zoom=17) ax.set_axis_off() +plt.savefile() ``` -Parcels at Wageningen University Campus +Parcels at Wageningen University Campus (Figures shown here and in the next section may differ slightly from the ones you obtain.) diff --git a/index.html b/index.html index 025a7b0..1e431ef 100644 --- a/index.html +++ b/index.html @@ -1465,7 +1465,7 @@

Reading from webservices

pc_gdf.plot() plt.show() -

Roads in Wageningen

+

Roads in Wageningen

@@ -1514,9 +1514,9 @@

Reading from webservices

pc_layer.set_ylim(ymin, ymax) # Save the figure to disk -plt.savefig('./output/postalcoades_roads.png') +plt.savefig('./output/postalcodes_buildings.png')
-

Buildings in Wageningen

+

Buildings in Wageningen

@@ -1606,9 +1606,10 @@

Selecting data

# Plot with 50% transparency ax = newBuildingsGDF.plot(figsize=(10, 10), alpha=0.5, edgecolor='k') ctx.add_basemap(ax, source=ctx.providers.OpenStreetMap.Mapnik, zoom=17) -ax.set_axis_off() +ax.set_axis_off() +plt.savefile()
-

Parcels at Wageningen University Campus

+

Parcels at Wageningen University Campus

(Figures shown here and in the next section may differ slightly from the ones you obtain.)

Geometric manipulations