New answers tagged

0 votes

Creating line feature with multiple record

You cannot create several records in table of contents that points to the same feature; the opposite is possible. However you can create another table and with relationships, you can point several ...
riflo's user avatar
  • 1,077
3 votes
Accepted

How to replicate QGIS's Identify Features functionality with ogr2ogr when downloading data from WFS endpoint?

Your issue has something to do with the attribute with a name "name". Name has some special meaning in GML3 but unfortunately I don't exactly understand what. I can only show by examples ...
user30184's user avatar
  • 62k
1 vote
Accepted

Query - Select By Attribute

Try to enclose the field name with double quotes "" because enclosing of the field name depends on the file type. You can refer to SQL reference for query expressions used in ArcGIS If you ...
ahmadhanb's user avatar
  • 40.3k
1 vote

How to display in QGIS Map Tips an image with absolute path written in the layer?

I fixed the code, this works: <div style="width:600; height:600"> <div><img src= "file:///[% "path" %]" width="600" /></div> </div>...
AbeteBianco's user avatar
1 vote
Accepted

How to set a "main field" of a layer in QGIS interface (instead UUID)?

Go to the layer properties (right click on it then properties...) there in the Display tab you may set the display name and choose any field you want, you could even use an expression to fully ...
J.R's user avatar
  • 14.5k
0 votes

Script field calculation Python parser

Figured it out. I didnt need my Creata and Field_number fields anymore. Thank You. Here's the code Below. rec = 0 letter = "A" def autoIncrement(): global rec, letter pStart = 1 ...
Jmerryline's user avatar
1 vote

Script field calculation Python parser

Using @Hornydd 's recommendation. You need to feed the "Creata" field into the script. You script should read: def autoIncrement(Creata): creata = Creata rec = 0 letter = "A&...
Keagan Allan's user avatar
  • 3,696
0 votes

Converting string field into date field in QGIS

Workaround-----you are unable to edit this (your error message above) until you save into a GeoPackage, per Why can't I edit attribute table imported through 'text as layer'
Elizabeth's user avatar
0 votes

Script field calculation Python parser

Firstly you are calculating into the numeric field Field_number so you would never be able to create your code as that is text. You need to be calculating into a text field. Secondly you don't pass ...
Hornbydd's user avatar
  • 42.6k
0 votes

Change specific text and keep the rest

You can add a new column using the field calculator in the attribute table of your data. Using the following code you can add new data labels based on existing ones. CASE WHEN "column_name&...
Hartje's user avatar
  • 123
5 votes

Change specific text and keep the rest

Create a new field with a type of text (string), and in the field calculator just use the following expression in a new field: replace("fieldName",'OG','LIP') where the fieldName is the ...
ahmadhanb's user avatar
  • 40.3k
0 votes

QGIS Split Vector Layer By Multiple Attributes

Create virtual field that concatenates your three attributes, then use the Split vector layer processing tool:
user2856's user avatar
  • 63.9k
1 vote
Accepted

Copying an attribute field from a polygon to a polyline

If you are using Polygon To Line, look at the RIGHT_FID attribute in your output feature class. The value in that attribute is the same as the OBJECTID in the input feature class. Keep in mind that, ...
Stephan Samuel's user avatar

Top 50 recent answers are included