File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,19 @@ def write_brgi_db_to_file(
1616 path : str | Path ,
1717 driver : str ,
1818) -> None :
19+ """Writes a Bedrock GI (geospatial) database to a file.
20+
21+ Writes a Bedrock GI (geospatial) database to a file. The file type is
22+ determined by the `driver` argument. Possible values are "GPKG" and "EXCEL".
23+
24+ Args:
25+ brgi_db (BedrockGIDatabase | BedrockGIGeospatialDatabase): The Bedrock GI (geospatial) database.
26+ path (str | Path): The path of the output file.
27+ driver (str): The type of the output file. Possible values are "GPKG" and "EXCEL".
28+
29+ Returns:
30+ None
31+ """
1932 dict_of_dfs = brgi_db_to_dfs (brgi_db )
2033 if driver .upper () == "GPKG" :
2134 write_gi_db_to_gpkg (dict_of_dfs , path )
You can’t perform that action at this time.
0 commit comments