The power of array in qgis : match two sets of lines together

Fiche du document

Date

20 août 2020

Discipline
Types de document
Périmètre
Identifiant
Source

Datagistips

Relations

Ce document est lié à :
info:eu-repo/semantics/reference/issn/2608-0702

Organisation

OpenEdition

Licence

info:eu-repo/semantics/openAccess



Citer ce document

Mathieu Rajerison, « The power of array in qgis : match two sets of lines together », Datagistips, ID : 10.58079/nh1t


Métriques


Partage / Export

Résumé 0

On Georezo, a French forum, someone asked how to retrieve the streets closest to pipelines. The QGIS expression So, let's suppose we have one data for pipelines (source) and one for streets (target), here is a QGIS expression that retrieves the street data object index closest to each pipeline. with_variable( 'mean_distances', aggregate( 'streets', 'array_agg', array_avg( with_variable( 'nodes', nodes_to_points(geometry(@parent)), arra...

document thumbnail

Par les mêmes auteurs

Sur les mêmes sujets

Sur les mêmes disciplines

Exporter en