geost.base.Collection.to_geopackage#
- Collection.to_geopackage(outfile: str | Path, metadata: dict[str, str] = None)[source]#
Write header and data to a geopackage. You can use the resulting file to display borehole locations in GIS for instance.
- Parameters:
file (str | Path) – Path to geopackage to be written.
metadata (dict[str, str], default None) – Optional metadata to be stored in the file. Keys and values must be strings. The default is None.