Readers#

Geopackage#

Geopackage(file)

Read and inspect the contents of a geopackage file.

Geopackage.close()

Close the connection to the geopackage file.

Geopackage.get_column_names(table)

Get the column names of a table in the geopackage.

Geopackage.get_connection()

Create a manual sqlite3 connection to the geopackage file.

Geopackage.layers()

Return a Pandas DataFrame containing the layers and associated geometry types in the geopackage.

Geopackage.query(query[, outcolumns])

Use a custom query on the geopackage to retrieve desired tables or joined information from multiple tables.

Geopackage.read_table(table)

Read all data in a specified table of the geopackage.

Geopackage.table_head(table)

Select the first five records from a table the in geopackage for quick inspection.

BRO CPT Geopackage (Experimental)#

BroCptGeopackage(gdf, db)

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.

BroCptGeopackage.from_geopackage(file, ...)

Create an instance of BroCptGeopackage from a GeoPackage file.

BroCptGeopackage.select_location_info()

Select the location information from the BRO CPT geopackage.