{% extends "base.html" %} {% block title %}{{ _('Excel Import - Harris Matrix') }}{% endblock %} {% block content %}

{{ _('Excel Import - Harris Matrix') }}

{{ _('Import stratigraphic data from Excel files and generate Extended Matrix') }}


{{ _('Import Excel File') }}

{{ _('Drag & drop file here or click to browse') }}

{{ _('Supported formats: .xlsx, .xls, .csv') }}
{{ _('Importing...') }}
{{ _('Import Successful!') }}

{{ _('Import Failed') }}

{{ _('Format Information') }}
{{ _('Harris Matrix Template') }}

{{ _('Structured Excel format with separate sheets:') }}

  • NODES: {{ _('Define stratigraphic units') }}
    us_number, unit_type, description, area, period, phase
  • RELATIONSHIPS: {{ _('Define connections') }}
    from_us, to_us, relationship

{{ _('Supports all Extended Matrix node types: US, USM, USVA, USVB, USVC, TU, USD, SF, VSF, CON, DOC, Extractor, Combiner, property') }}

{{ _('Extended Matrix Parser') }}

{{ _('Single sheet with inline relationships:') }}

  • ID: {{ _('US identifier') }}
  • DEFINITION: {{ _('Short description') }}
  • LONG_DESCRIPTION: {{ _('Detailed description') }}
  • PHASE: {{ _('Archaeological phase') }}
  • {{ _('Relationship columns:') }}
    is_before, covers, is_covered_by, cuts, is_cut_by, leans_on, equals, fills
  • NOTES: {{ _('Additional notes') }}

{{ _('Relationships specified as comma-separated US numbers in each column') }}


{{ _('Generated Output') }}
  • {{ _('US records in database') }}
  • {{ _('Stratigraphic relationships') }}
  • {{ _('Periodization data') }}
  • {{ _('GraphML file for visualization (optional)') }}
{{ _('Example Files') }}

{{ _('Test with example files:') }}

  • test_20us_complete.xlsx - {{ _('Harris Template format') }}
  • test_20us_em.xlsx - {{ _('Extended Matrix format') }}
{% endblock %}