geost.base.LayeredData.to_qgis3d#

LayeredData.to_qgis3d(outfile: str | Path, relative_to_vertical_reference: bool = True, crs: str | int | CRS = None, **kwargs)[source]#

Write data to geopackage file that can be directly loaded in the Qgis2threejs plugin. Works only for layered (borehole) data.

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

  • relative_to_vertical_reference (bool, optional) – If True, the depth of all data objects will converted to a depth with respect to a reference plane (e.g. “NAP”, “Ostend height”). If False, the depth will be kept as original in the “top” and “bottom” columns which is in meter below the surface. The default is True.

  • crs (str | int | CRS) – EPSG of the target crs. Takes anything that can be interpreted by pyproj.crs.CRS.from_user_input().

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