plot_polygons.py¶
Plot georeferenced data (landuse, building, highway) using geopandas.
- plot_polygons.plot_building(df_building, legend_box, fig_size, font_size, face_color, destination)[source]¶
Plot polygons for buildings.
- Parameters
df_building (DataFrame) – building georeferenced data (geodataframe)
legend_box (tuple(float)) – tuple of floats, eg (0.0, 0.05, 0.01, 0.7)
fig_size (tuple(int)) – figure size
font_size (int) – title font size
face_color (str) – backgroud color (eg, white, black)
destination (str) – plot destination path
- plot_polygons.plot_landuses(df_building, df_landuse, legend_box, fig_size, font_size, face_color, destination)[source]¶
Plot polygons for landuse.
- Parameters
df_building (DataFrame) – dbuilding georeferenced data (geodataframe)
df_landuse (DataFrame) – landuse georeferenced data
legend_box (tuple(float)) – tuple of floats, eg (0.0, 0.05, 0.01, 0.7)
fig_size (tuple(int)) – figure size
font_size (int) – title font size
face_color (str) – backgroud color (eg, white, black)
destination (str) – plot destination path
- plot_polygons.plot_roads(df_highway, legend_box, fig_size, font_size, face_color, destination)[source]¶
Plot lines (highway).
- Parameters
df_highway (DataFrame) – highway georeferenced data (geodataframe)
legend_box (tuple(float)) – tuple of floats, eg (0.0, 0.05, 0.01, 0.7)
fig_size (tuple(int)) – figure size
font_size (int) – title font size
face_color (str) – backgroud color (eg, white, black)
destination (str) – plot destination path
Plot geo-referenced data (landuse, building, highway) using geopandas.