Skip to main content
HedgeTools HedgeTools HedgeTools
Search Ctrl+K
  • English
  • Français
  • General
  • For users

    Table of Contents

    • Installation
    • Processing algorithms
      • Data - Extraction raster
      • Data - Preparation
      • Data - Transformation
      • Metrics - Morphology
      • Metrics - Physiognomy
      • Metrics - Context
      • Metrics - Network
      • Metrics - Landscape
      • Update link between layers
      • Data - Extraction LiDAR
      • Metrics - LiDAR
    • Usage
      • Cas 0 - Extraction à partir d’une orthoimage IRC et d’un MNH
      • Cas 1 - Extraction à partir du LiDAR
      • Cas 2 - Préparation des données (géométrie et topologie)
      • Cas 3 - Transformation : création d’autres points de vue
      • Cas 4 - Calcul de métriques morphologiques
      • Cas 5 - Calcul de métriques de physionomie à partir d’un MNH
      • Cas 6 - Calcul de métriques contextuelles
      • Cas 7 - Calcul de métriques dans le réseau
      • Cas 8 - Calcul de métriques à l’échelle de fenêtres paysagères
    • Python API
      • Documentation
      • Usage
    1. For users
    2. Processing algorithms
    3. Update link between layers
    • Copy page
    • View source

    Update link between layers#

    Algorithm ID: hedgetools:updaterelation

    This tool takes a polygon, line, and point layer — typically generated at the end of the Data - Preparation or Data - Transformation steps — and updates the fields that allow geometries to be associated across layers.

    It is useful when the topology has been disrupted due to manipulations or error corrections.

    Parameters#

    Label

    Name

    Type

    Description

    Input polygon layer

    INPUT_POLY

    [vector: polygon]

    Input polygon vector layer

    Input arc layer

    INPUT_ARC

    [vector: line]

    Input line vector layer

    Input node layer

    INPUT_NODE

    [vector: point]

    Input node vector layer

    Output polygon layer

    OUTPUT_POLY

    [vector: polygon]
    Default: [Create temporary layer]

    Output polygon vector layer

    Output arc layer

    OUTPUT_ARC

    [vector: line]
    Default: [Create temporary layer]

    Output line vector layer

    Output node layer

    OUTPUT_NODE

    [vector: point]
    Default: [Create temporary layer]

    Output node vector layer

    Outputs#

    Label

    Name

    Type

    Description

    Output polygon layer

    OUTPUT_POLY

    [vector: polygon]

    The output polygon vector layer will have updated following link fields:

    • pid: primary key of the polygon

    Output arc layer

    OUTPUT_ARC

    [vector: line]

    The output line vector layer will have updated following link fields:

    • pid: foreign key referencing the polygon
    • eid: primary key of the line
    • src_vid: foreign key of one of the nodes at the line’s extremities
    • tgt_vid: foreign key of the other node at the line’s extremities

    Output node layer

    OUTPUT_NODE

    [vector: point]

    The output polygon vector layer will have updated following link fields:

    • vid: primary key of the node

    PreviousGrid Next Data - Extraction LiDAR

    On this page

    • Parameters
    • Outputs

    © Copyright 2025 - 2026, Gabriel MARQUÈS, Lucas Bernigaud Samatan, David Sheeren

    Made with Sphinx and Breeze theme.

    Back to top