geost.io.Geopackage.query#

Geopackage.query(query: str, outcolumns: list = None) DataFrame[source]#

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

Parameters:
  • query (str) – Full string of the SQL query to retrieve the desired table with.

  • outcolumns (list, optional) – Specify column names to be used for the output table. The default is None.

Returns:

Result DataFrame of the query.

Return type:

pd.DataFrame