1

I have a layer inserted in QGIS.

When I select/interact various elements together, to distinguish them the interface offers me grouping by UUID which is the primary key.

Of course I want UUID to remain the primary key, but the question is if it is possible to show as "search key" (in the attached case) another more understandable field as an alternative to UUID (even if it is not a primary key and if there would be duplicates).

For example, "Post Office" for the first and "Restaurant" for the second in this case, attributes set in a "Type" field.

This would also be useful in using Qfield (I convert the project).

Thanks

Set another field than UUID.

1 Answer 1

1

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 personalize the display name (for exemple you may want to display both the type and the uuid or an adresse to differentiate between element of the same type)

1
  • Thank you. That's exactly what I meant, I didn't know about this function. Sep 14 at 9:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.