Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
114 views

Selecting only features that have another layers feature on top in QGIS

I have an aerial fibre plan and splitters on certain poles (these layers overlap each other). There are over 3000 poles and only 1699 of those poles have a splitter on them. Is there any way I can ...
Dylan Kew's user avatar
1 vote
0 answers
15 views

Adding custom fields to PgMetadata HTML Templates in QGIS [closed]

I am currently working with the PgMetadata plugin for QGIS, and I am trying to add a custom field (test) to the metadata HTML template. Here's the situation: I have successfully added the test field ...
user279999's user avatar
1 vote
0 answers
27 views

First field gets cleared (if time field) in QGIS Attribute Table

I recently noticed a strange bahavior in QGIS (currently working with version 3.34-7): When the first field of a shapefile is named "time" (I regularly work with GPX files exported to ...
M S's user avatar
  • 53
2 votes
1 answer
47 views

Loading selected geometry from GeoParquet with multiple geometry columns into QGIS

I have a GeoParquet file containing two geometry columns ("geom_p_4326" and "geom_4326") and an ID column ("id"). The first geometry column holds points and the second ...
fazzer14's user avatar
1 vote
0 answers
41 views

Autocompleting attribute field in Drag and Drop Designer in QGIS

I need to manually add some rather long attributes to features. Is there a way to have the Drag and Drop Designer auto-complete these? (I access the table with 'Modify all selected features ...
Aron's user avatar
  • 303
1 vote
1 answer
50 views

Retrieving Attribute from closest feature or with most overlap form another layer

I am trying to use the Field calculator to retrieve an attribute from the closest feature in another layer. I have had the most success using Overlay_Nearest, but the array it returns does not use ...
Sean Dawson's user avatar
0 votes
0 answers
44 views

QGIS adding field to multiple layers

is it possible to add a new field to multiple layers (with same geometry)? Layerstyles will only save the style. When I need the same field in all of my point layers, I must do this step by step and ...
Sickculture's user avatar
0 votes
1 answer
55 views

QGIS copy fields in empty geopackage or reset FID

How to copy all fields and styles in a new geopackage without features? I will create a new geopackage. I´ve saved the style from an other geopackage and import this in a new geopackage. All styles ...
Sickculture's user avatar
5 votes
2 answers
316 views

Deleting special characters from QGIS Attribute table

Is there a way to delete special characters such as *? I've tried using replace and regexp_replace, but my version at least doesn't recognise special characters. There are hundreds of fields, and I'm ...
Kai's user avatar
  • 157
2 votes
1 answer
69 views

Getting attributes from different layers with multiple overlaping polygons

In QGIS 3.34.4 I have 2 layers, one underlying layer (Layer 1) and an overlapping layer (Layer 2). Both layers are polygon layers. I want to get the specific data of one field from layer 1 to a field ...
Bob Schmith's user avatar
4 votes
2 answers
228 views

Creating new field from another field in QGIS Field Calculator

I am trying to create a new field in QGIS where: if the number in the field "DN"=2, then the new field (a text string) will say "veg" and if the number in the field "DN"...
caroline fales's user avatar
3 votes
0 answers
39 views

Creating/updating fields without create temporary files in QGIS Model Designer

So I'm starting with an "add layer" input, then a "refactor fields" and I need the output to update the original layer I added in the "add layer" at the beginning. So I ...
marcijel1's user avatar
2 votes
1 answer
150 views

When deleting attribute from GDB file all the fields in the remaining attributes get deleted as well in QGIS

In QGIS 3.38.2 I have a gdb shapefile with many attributes, let's say A100, A200, A300 and with many fields. When I go to the edit through the "Open attribute table" and delete A200, all the ...
Francis's user avatar
  • 191
0 votes
1 answer
34 views

Field data types change to text when exporting to CSV with 'Add saved file to map'

In QGIS 3.32.2-Lima when exporting a non-spatial layer, e.g. the output from the Statistics by category tool, to CSV with the 'Add saved file to map' checked, the data types of all fields of the new ...
Philip Smith's user avatar
1 vote
0 answers
26 views

Wrong field types when connecting to MSSQL DB with user-defined data types using PyQGIS

When I connect to an MSSQL table without geometry via QgsDataSourceUri, Browser or Data Source Manager, QGIS doesn't recognize the user-defined data types of the database and sets it to string. from ...
lukschn's user avatar
  • 31
0 votes
0 answers
36 views

Creating subtype and domain and linking them together in QGIS [duplicate]

I am wondering if there is a similar feature to subtypes in ArcGIS Pro within QGIS software. I want to create a subtype and a domain, and link them together in QGIS, similar to the example below: ...
MTH MHTd's user avatar
1 vote
0 answers
110 views

Exporting GeoPackage to shapefile

I have a GeoPackage layer with point features containing some important attributes. When I try to export this layer into a shapefile format the point features are exported but all of the attributes ...
Chris Kout's user avatar
0 votes
1 answer
40 views

Expression for closest to zero value

I want to display the closest value to zero from a field in an attribute table from a QGIS layout without having to create a new field. Is it possible?
DobleG_95's user avatar
0 votes
1 answer
59 views

Fields that fill in automatically

I want to create a point layer with an ID field that fills in automatically as I digitize a geometry. It's possible? How can I do?
Tommaso Ferrari's user avatar
0 votes
1 answer
64 views

Copy and Paste in QGIS for plugin

I want to create a plugin where I can choose a layer to copy and paste. For copying a layer, I will select the specific layer and choose the field and features. Then, for pasting the layer, I only ...
unknown's user avatar
  • 49
3 votes
3 answers
147 views

Deselecting duplicate records in QGIS Attribute table

Several SE-GIS posts describe how to identify duplicate records, such as Identifying duplicate attributes in field using QGIS. I would like to extend this concept by unselecting any duplicate records ...
Stu Smith's user avatar
  • 8,356
2 votes
2 answers
269 views

Assigning unique ID to new points in QGIS

I want to add a new field to my feature attribute table. In this field, I want to generate a random ID (just a number, like 1, 2, 3, etc.) for every new and existing point I create on the map. This is ...
Agos's user avatar
  • 101
0 votes
1 answer
42 views

Graduated symbology

I have opened a delimited text file with coordinates XY defined in two columns on the file plus two other columns with data and they are represented in QGIS as a point layer. I want to symbolize the ...
DobleG_95's user avatar
1 vote
2 answers
89 views

Removing character from many field names in QGIS

I have a shapefile with ~100 fields. Each field corresponds to a date, the name of each field is something like this 2006-07-05 (year-month-day). I want to remove the - symbol and have only 20060705. ...
Na_Na_Na's user avatar
  • 131
3 votes
1 answer
239 views

Khmer Language is not properly displayed in layer fields in QGIS

I have created a new shapefile layer which uses Khmer language fields. The encoding is UTF-8. When I create new fields in Khmer in the attribute table it displays perfectly. Then as soon as I hit save ...
Tim Frewer's user avatar
1 vote
1 answer
43 views

Mismatched IDs Between Two tables with relation using QField and QGIS

I am setting up my qgis qfield survey app. I have a shape file of metadata.shp that has a field “id” and another non geometric table log.dbf that has a field “fk_id”. They are in relation based on id ...
Geesara's user avatar
  • 11
2 votes
1 answer
211 views

Repeating linestring across farm field at 40 inch intervals to use r.report for pixel values

I am a new user of QGIS. I have found answers to most of my issues. This one has me stuck. I have included an image of the project I am attempting to create. My plan is to place a linestring on every ...
Jess Woeltje's user avatar
2 votes
0 answers
54 views

Calculating the end km with reference to the start km of road in QGIS

Note the labelling on the picture to be the lengths of the link segments and have been selected from Right to Left. Start KM = KM at the beginning of the link End KM = KM at the end of the link. (...
Kendel Mashuga's user avatar
0 votes
0 answers
32 views

How to use a field not yet saved from a table in another table not yet saved in QGIS

I have a project in QGIS to register field points (x,y), where I collect different types of samples (soil, water, rock) for the same point. I need that in the "Samples" table, when some ...
Denilson's user avatar
  • 695
0 votes
1 answer
55 views

QGIS - attribute table - column to mark last edit in row

I would like to know, if there is a way to create a column for a Layer, that automatically applies the date and time of the last edit/change of values in a row, if it occurs?
Marek's user avatar
  • 555
1 vote
0 answers
52 views

How to create line topology from-node to-node table fields?

We are looking for a way to create line topology from-node and to-node attribute fields on a shape file as shown below. We know that ArcHydroTools GenerateFNodeTNode can do it, but want to avoid ...
jger's user avatar
  • 137
1 vote
0 answers
41 views

Combining predefined list with custom entry in attribute form

Currently, I am working on a project to map plants outdoors. I would like to have a drop down menu to choose from a list of known species. But no list is complete and occasionally, I have to use ...
burnt-board's user avatar
0 votes
0 answers
45 views

Changed project from QGIS 3.16 to 3.24, now 'NULL' fields turn into '-9223372036854775808'

Been working on a digitizing project on QGIS 3.16.15-Hannover, as I like to use LTR versions for the stability. But, 3.34 introduced an automatically incrementing UUID field, which I find useful. My ...
Nelg's user avatar
  • 175
1 vote
1 answer
53 views

Expression to auto-fill field according to the order of polygon creation

I'm working on an urban cartography actualization project, looking for a way to auto-fill a field (let's call it "field_1") in the new polygons created in the buildings layer. I need to ...
Mig TabSher's user avatar
0 votes
0 answers
154 views

QGIS - Attachment with a photo in the attributes does not show the photo and the button to open the file dialog

I received a QGIS map project with data that I needed to update. So I chose the Change data source layer and selected the updated data. Now I'm supposed to continue updating the data, but the upload ...
Br3ndys_cz's user avatar
0 votes
0 answers
23 views

Relation QGIS: get_feature

I have 2 layers (1 polygon / 1 no-geometry (aType)). I have a relation between them. As we know, we can display 1 value from the related layer via layer property -> Attributes Form. In the widget ...
eagleadmiral's user avatar
0 votes
1 answer
52 views

Testing the value of a field against a list of strings

I want to test the value of a field against a list of possible strings for inclusion (value contains none of these strings) or exclusion (value contains at least one of the strings). The difficulty is:...
Timm's user avatar
  • 41
2 votes
1 answer
123 views

QGIS Field Calculator Expression: get field name for value at specific index

I am looking for a way to search the field name ( green circle ) of a value at a specific index. In the example shown above I would like to find the field name "25 x 2,3" for the value of ...
Denis Crîlov's user avatar
0 votes
1 answer
128 views

Adding uploaded polygon measurement style to KML file polygons

Following up on QGIS: multiple map measurements I want to use a style to convert a kml layer to have measurements on all size, kind of like: I'm using QGIS 3.28 LTE. I started by downloading the ...
user1592380's user avatar
1 vote
2 answers
175 views

Filling field with values from field of another table using QGIS

I am using QGIS 3.28.9. I need to complete a field from a building's layer with the field's values from a plot's layer, based on the location of the buildings. At first I thought of doing it through ...
Mig TabSher's user avatar
4 votes
2 answers
675 views

QGIS: expression in attribute table between greater than and less than with different categories in one field

I am trying to create a field that shows the following different categories in the same field: Variable = verschil bouwhoogte "Verschil bouwhoogte" <3 "Verschil bouwhoogte" =>...
Mees's user avatar
  • 43
3 votes
1 answer
95 views

Displaying two attributes of line vector layer with same color ramp in QGIS

I have a QGIS line vector layer that contains two attributes: "attr1", "attr2". I want to display it as shown below. The same line geometry two times with an offset in both ...
588chm's user avatar
  • 645
1 vote
0 answers
116 views

Data-defined size legend only showing size in QGIS

I am having issues getting a legend set up in QGIS 3.34.1 for a point layer that is colored based on one attribute (population class) and then sized based on another attribute (population). I have ...
Puwx's user avatar
  • 11
0 votes
0 answers
50 views

Duplicate features error in QGIS, I can't create new fields from shapefile layer

I've had the same problem. Sometimes when I create points from table (.xls), sometimes when I create a new polygon, I can't text to fields (ex. a field with character name). More, when I texted to the ...
Thiều Nem's user avatar
0 votes
0 answers
78 views

(QGIS) Creating a rule to hide labels based on their appearance on a list or array

I'm creating maps for a project, and I'm handling sensitive data. I have a list of species I can't display on maps. I would like to create a rule that checks if the value in column "species_name&...
Niles's user avatar
  • 1
0 votes
0 answers
43 views

Display information from a different layer in an attribute table in QGIS

I have two different polygon layers we'll call them A and B. I would like to create an attribute table with fields that list areas of A and B (calculated using the $area function in field calculator). ...
Justin Perry Illustrator's user avatar
1 vote
1 answer
92 views

QGIS: Need to create a feature for a vector layer with a list of all unique values derived from a raster layer's cells

I have a vector layer with inner boundaries delineating certain land-use types in each discrete area. I also have a raster layer that contains information related to the vegetation found in each ...
Linus's user avatar
  • 31
1 vote
2 answers
273 views

Merging layers, then dissolving and keeping all attribute values in QGIS

I have three layers in QGIS, each with one feature, including some attributes. Layer 1 has attributes a, b, and c, Layer 2 has attributes d, e, and f and Layer 3 has attributes g, h, and i I want to ...
winnewoerp's user avatar
  • 1,599
1 vote
1 answer
104 views

Setting a Boolean field to be empty

I have a layer with a Boolean field called bool. I can set the field value to NULL, e.g. using the Field Calculator. When printed via Python, the values are correctly shown as None: >>> layer ...
bugmenot123's user avatar
  • 11.3k
1 vote
1 answer
69 views

Handling *other* attributes in a drag'n'drop form

I built a form for my vector layer using the Drag'n'drop form designer but I only did so for some of the layers fields. Is it possible to automatically add widgets for the other fields to the form, e....
bugmenot123's user avatar
  • 11.3k

1
2 3 4 5
17