geost.base.Collection.to_geopackage_3d#

Collection.to_geopackage_3d(outfile: str | Path, crs: str | CRS = None, x_end: str | None = None, y_end: str | None = None, **kwargs)[source]#

Write data to geopackage file containing a layer “locations” with point geometries and a layer “3dlines” with 3D line geometries. For example, this can be used for visualization and data inspection using QGIS’s elevation profile tool.

Parameters:
  • outfile (str | Path) – Path to geopackage file to be written.

  • crs (str | CRS, optional) – Coordinate reference system to use for the geometries in the output file. If None, the horizontal reference of the Collection is used. The default is None.

  • x_end (str | None, optional) – Column name for x-coordinates of bottom endpoints in inclined boreholes. The default is None.

  • y_end (str | None, optional) – Column name for y-coordinates of bottom endpoints in inclined boreholes. The default is None.

  • **kwargs – geopandas.GeoDataFrame.to_file kwargs. See relevant Geopandas documentation.