alsdb.utils.viz.plot_dsm#

alsdb.utils.viz.plot_dsm(df: DataFrame, resolution: float = 1.0, hillshade: bool = True, cmap: str = 'terrain', vert_exag: float = 3.0, ax=None)[source]#

Plot a Digital Surface Model (max Z per cell), optionally with hillshade.

Parameters:
  • df – Point-cloud DataFrame.

  • resolution – Grid resolution in metres.

  • hillshade – Overlay a hillshade derived from the DSM.

  • cmap – Matplotlib colormap name for elevation.

  • vert_exag – Vertical exaggeration for the hillshade.

  • ax – Matplotlib axes. A new figure + axes is created if None.

Return type:

matplotlib.axes.Axes