Skip to content

Objects deletion tool and various fixes#9

Merged
XavDmz merged 15 commits into
mainfrom
feature/delete_objects
Aug 12, 2025
Merged

Objects deletion tool and various fixes#9
XavDmz merged 15 commits into
mainfrom
feature/delete_objects

Conversation

@XavDmz

@XavDmz XavDmz commented Aug 12, 2025

Copy link
Copy Markdown
Collaborator

Changelog

[Added]

  • delete_data executable : cascade delete objets from any table, following lists of identifiers.
  • SQL structures initialisation scripts:
    • one file dedicated to declaration raw data import (target for import_declaration)
    • one file for the main structures used by the pairing tool (pair_from_sources)
    • not tested : delete_data may probably work only on the main structures (because of the cascade deletion)

[Changed]

  • functions from delete_data module are used by pair_from_sources.
  • declaration input data specifications changes were implemented in import_declarations
  • import_declaration is more permissive and imports any delcaration dossier from source. Use of two different tables, schema or database (your choice) is recommended to distinguish between the following:
    • raw imported declaration data: simple SQL extraction of the remote source data
    • filtered partial declaration data: used for pairing and further visualisation.

[Fixed]

  • detection objects' geometries construction method created invalid multipolygons. (contained polygons shared edges) Now the construction process ensures the geometry's validity.
  • Miscommunications on detection input data specs caused SQL insertion errors. The table definition has been modified to ensure a unique integer identifier.

@github-actions github-actions Bot added enhancement New feature or request quality tooling labels Aug 12, 2025
@XavDmz XavDmz merged commit c3ababe into main Aug 12, 2025
1 check passed
@XavDmz XavDmz linked an issue Aug 12, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request quality tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Éxecutable de suppression d'objets dans la base

1 participant