Skip to content

scripts/fix_sqlite_geometry.py

Overview

This file contains 3 documented elements.

Functions

fix_geometry_in_file(file_path)

Fix geometry handling for SQLite in a structure file

Parameters: - file_path

main()

No description available. Iterates over a predefined list of Python structure files located in the pyarchinit QGIS plugin's structures directory and applies geometry fixes to each by calling fix_geometry_in_file(). For each file, it checks whether the file exists at the expected path, logs the processing result with a success or informational indicator, and prints a completion message when all files have been processed. This function serves as the script's entry point when executed directly.