geost.bro.BroCptGeopackage#
- class geost.bro.BroCptGeopackage(gdf: GeoDataFrame, db: Geopackage)[source]#
Class to handle the Bro CPT Geopackage file for data selections and facilitate making combinations between the different data tables in the BRO CPT geopackage.
- Parameters:
gdf (gpd.GeoDataFrame) – GeoDataFrame containing the spatial locations of the CPT data. The “find key” per “bro_id” to each related tables in the Geopackage as index (index name: “fid”).
db (
Geopackage
) – Geost Geopackage instance to handle the database connections and queries.
- __init__(gdf: GeoDataFrame, db: Geopackage)[source]#
Methods
__init__
(gdf, db)from_geopackage
(file, **gpd_kwargs)Create an instance of BroCptGeopackage from a GeoPackage file.
Select the location information from the BRO CPT geopackage.