ArcheoFOSS 2022
PThe new Harris Matrix workflow from pyArchInit to Extended Matrix

Enzo Cocca
CNR-ISPC, Napoli, Italy

PThe new Harris Matrix workflow from pyArchInit to Extended Matrix

Panel: Archaeological stratigraphy data

The work proposed here is intended to show the new workflow in pyArchInit4 for generating an Harris Matrix comaptible with Extended Matrix. The generated matrix will not only include the classical stratigraphic relationship, but also the virtual stratigraphic relationship used into EM. The tools used for this workflow include: • the plug-in for QGIS (version >=3.22) pyarchinit4; • the graphviz software; • an xml parser written ad hoc to convert a file dot to graphml for yed; • the yed software. The workflow steps involve recording the relationship information in pyArchInit4, which will be processed by graphviz to generate a ‘dot’ file and cleaned of redundancies with a tred function. Via an xml parser, the dot file will be converted into a graphml for yed. Finally, with yed, you will open the graphml file to expand it with the swimeline function and save it as a jpg or svg file. Saving it in svg format allows you to make the matrix interactive because it keeps all information (such as attachments) in hypertext.

License

This text is released with CC BY 4.0 International license. Copyright Enzo Cocca 2022