Skip to main content

Questions tagged [relation]

The tag has no usage guidance.

1 vote
0 answers
55 views

QGIS values from 1:n related table to parent attribute table

I'm confused since I don't really get the difference between a form and a table in QGIS. I've successfully created multiple one to many relations between my parent shapefile and child excel sheets ...
edge's user avatar
  • 229
1 vote
0 answers
50 views

QGIS: Update parent attribute based on most recent child

To describe the situation, I have parent geopackage layer for 'Trees' which is related to a child geopackage table 'tree_inspections'. So each tree can have many inspections. I use a foreign key '...
SHall's user avatar
  • 13
0 votes
1 answer
93 views

Calculate a field in a parent table when a child record is created or modified using QGIS

In QGIS, I have a feature class named "Water_Crossing" that has a field named "Modified". I have a relation set up from "Water_Crossing" to 3 child tables "...
Tom Roussell's user avatar
1 vote
0 answers
41 views

QGIS: Value relation forms

Is it possible to set default value to parent, based on child entry? I know how to do it from parent to child, but I want to do it in reverse. I have two CSV files with values. First I want to edit ...
Dean7's user avatar
  • 358
1 vote
2 answers
358 views

Geometry extraction from osm.pbf file using relation id with ogr2ogr

What works If I need a GeoJSON file with the OpenStreetMap borders of Liechtenstein, I download liechtenstein-latest.osm.pbf from GeoFabrik: curl https://download.geofabrik.de/europe/liechtenstein-...
zabop's user avatar
  • 2,224
2 votes
0 answers
32 views

Displaying more than 100 entries in Relation Reference Widget dropdown in QGIS

I am using QGIS 3.28, and I've encountered an issue with the Relation Reference Widget. In the form view, the dropdown menu of the Relation Reference Widget only displays 100 entries. Is there a way ...
MartinMap's user avatar
  • 8,338
3 votes
0 answers
79 views

Using get_feature() function on layer while editing in QGIS

In QGIS, I am trying to update a feature based on entries made on a nested form (relation). Considering: Layer1 has Field1 that should capture the value of Field 2, and field in Layer2 Layer2 is ...
Horizen's user avatar
  • 567
2 votes
1 answer
437 views

Extracting relations with osmnx?

I am using osmnx package https://osmnx.readthedocs.io/en/stable/osmnx.html to extract data from OSM. I aim to obtain relations from the cyclist node network in Flanders. After some info about tagging, ...
ajchavez94's user avatar
1 vote
1 answer
82 views

QGIS relation reference widget shows an empty list instead of values

I'm trying to set up a QField project to entry data from a bird watch project. I have a few layers which I would like to connect with the ID of the tour. I am using relation reference widgets. The ...
MBi's user avatar
  • 11
5 votes
2 answers
253 views

QGIS aggregate - filter by newest date

i have two one-to-may related layers (relation name: tree_observation) parent: trees and child: obeservations. The trees should be revisited on a regular base and for each observation a new child ...
sn1ks's user avatar
  • 3,022
2 votes
0 answers
98 views

QGIS Relation reference widget performance

I have a relation 1:1 on a table with limited parcels (ca 2000 rows) related to huge table on national level (ca 22 million rows), PostgreSQL 14 with PostGIS. Smaller table is used with view to show ...
Albine Pro's user avatar
2 votes
1 answer
441 views

QGIS - Relations - Update parent from child / child from parent

The functioning of my project under QGIS is based on the use of information between parent and child (relation layers). I need to access specific information to control visibility of containers and ...
Giene's user avatar
  • 753
4 votes
1 answer
403 views

QGIS - Value relation values based on geometry

I am having a problem with last part of defining values in geopackage. I have created relation values based on field values (drop-down values). Last one I want to create, is to make relation based on ...
Dean7's user avatar
  • 358
1 vote
1 answer
1k views

ArcGIS Pro Attribute Rule to pass a value from child to parent

I have an ArcGIS geodatabase with a parent feature class related to a child stand alone table containing the various inspections made on each parent feature. Primary key is GlobalID and foreign key is ...
Maja's user avatar
  • 33
3 votes
1 answer
262 views

Using relations

I am using QGIS, version 3.24.0. I have a shapefile called "Map_CorrectionDEF", uniquely identify by fields "GID" and "unitcode". It is a grid cell, in which the field &...
OgeiD's user avatar
  • 618

15 30 50 per page