gemgis.utils.interpolate_strike_lines#

gemgis.utils.interpolate_strike_lines(gdf: geopandas.geodataframe.GeoDataFrame, increment: Union[float, int], xcol: str = 'X', ycol: str = 'Y', zcol: str = 'Z') geopandas.geodataframe.GeoDataFrame#

Interpolating strike lines to calculate orientations

Parameters
  • gdf (Union[gpd.geodataframe.GeoDataFrame, pd.DataFrame]) – (Geo-)DataFrame containing existing strike lines

  • increment (Union[float, int]) – Increment between the strike lines, e.g. increment=50

  • xcol (str) – Name of X column, e.g. x='X'

  • ycol (str) – Name of X column, e.g. y='Y'

  • zcol (str) – Name of Z column, e.g. z='Z'

Returns

gdf_out – GeoDataFrame containing the existing and interpolated strike lines

Return type

gpd.geodataframe.GeoDataFrame

New in version 1.0.x.