Skip to main content

Questions tagged [virtual-field]

0 votes
1 answer
62 views

In a plugin I want to create a duplicate of the selected layer and add a virtual field including some symbology to it. I've tried the following, and it appears to do the what I want (imitate the "...
Honeybear's user avatar
  • 2,788
2 votes
2 answers
62 views

Given data I have a layer1 as output of a model that has a field kmh and a field kfzh. Both are integer fields. kmh has one of the following values: NULL,0,7,10,20,30,40,50,60,70,80,90,100 kfzh has a ...
e-shirt's user avatar
  • 845
2 votes
1 answer
99 views

Can a virtual field be added to a vector layer within a model (using a graphical modeller)? The goal would be to get a model output layer with the virtual field already declared and working. *I've ...
Boris CALVET's user avatar
1 vote
0 answers
70 views

In QGIS 3.34.5 I have a vector layer in QGIS with a large amount of attributes. I want to generate labels that only show relevant attributes. To do that, I define a PyQGIS function that takes a ...
xsmet's user avatar
  • 11
0 votes
0 answers
44 views

We have several feature classes (points and lines) on an Oracle geodatabase to which a third party tool needs two fields added. The third party tool would need read/write to these two new fields, ...
Steve's user avatar
  • 785
2 votes
1 answer
143 views

I am working on a project in QGIS, where I have two point layers, named "Infrastructures" and "Inspections". In my system, whenever an infrastructure is inspected, a new point ...
MartinMap's user avatar
  • 8,284
0 votes
0 answers
74 views

I want to store values from a virtual field to a static field (the file will be used externally and I need those calculated values from the virtual field hard coded). My idea was to write a python ...
Kay's user avatar
  • 1,894
1 vote
1 answer
143 views

I have a layer my_layer containing a virtual field virtual_1. Next step I want to create a virtual layer, which list only unique values (as a bonus also dissolves the geometries by unique values). The ...
gissurfer's user avatar
2 votes
1 answer
159 views

I have a CSV-Layer with multiple columns (e.g. ID, owner_name) and well-known text data to contain information about polygons. One ID can be owned by to owners which would cause the feature to appear ...
gissurfer's user avatar
4 votes
2 answers
329 views

In QGIS 3.26 I have polygon layers (districts) and line layers (roads) in my project. I need to sum the line lengths inside the polygons and write them in an attribute table of this polygon. The goal ...
MarinT's user avatar
  • 85
3 votes
1 answer
252 views

I created a virtual field "attr" for a vector layer in QGIS using a expression for the values. These values will be updated as data changes. How can I convert/materialize this virtual field ...
bugmenot123's user avatar
  • 12.4k
0 votes
1 answer
632 views

I've created a series of layers in QGIS to collect data in field with mobile app QField. Each layer have a rule to make its names. For example, one layer is modeled to collect corn fields. It has ...
Marcelo Franco Patané Júnior's user avatar
3 votes
1 answer
447 views

I would like to create a new virtual field with a specific expression (like 2*"ID") on an existing layer. Is it possible to do so from the Python console? I've tried using addExpressionField ...
MiroD's user avatar
  • 67
1 vote
0 answers
164 views

How can I link a field of derived coordinates and attributes to an attribute table? It cannot be copied manually, many lines (100,000).
Miloslav Charvát's user avatar
2 votes
0 answers
81 views

I am inputting data for power lines and tried using the normal field and imported it in PostGIS. But the some of the data inputs I needed must be refreshed constantly to obtain. So instead I used ...
jerjc0's user avatar
  • 85

15 30 50 per page