[Qgis-user] Labelling in QGIS 3

Paul Wittle paul.wittle at dorsetcouncil.gov.uk
Thu Nov 19 07:43:45 PST 2020


Hi Bernd,

That is great as I can now see where the Key information is stored. You can delete the auxiliary storage to get the prompt for the primary key back but of course this needs doing before you do much work or you will lose the work you did.

I can see that I could probably use that to develop a plugin option that will allow the users to create a single label. I would achieve it by auto creating the auxiliary storage; populating the primary key and then hiding all features before enabling labels. This would mean you can then use the abc(eye) tool to add a single label but it would also mean that every single record would need to be in the auxiliary storage.

I guess the question remains and to whether it can / should be possible via any of the default functionality?

Thanks,
Paul


From: Bernd Vogelgesang <bernd.vogelgesang at gmx.de>
Sent: 19 November 2020 14:55
To: Paul Wittle <P.Wittle at dorsetcc.gov.uk>; qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Labelling in QGIS 3


Hi,

maybe this article will give some clues: https://oslandia.com/en/2017/10/17/auxiliary-storage-support-in-qgis-3/

Cheers,

Bernd
On 19.11.20 15:38, Paul Wittle wrote:

Hi,



Is there a way to turn on labelling without actually displaying any labels?



I would like to have a layer where there are no labels but if you use the abc(eye) button I can add remove individual labels as required. At present the best I can find is to label everything then individually hide the labels I don’t want.



I was also wondering whether the UI actually shows the unique key setting anywhere? I accidentally set that the option wrong on one occasion when it popped up to ask the first time but then struggled to find where the option is stored; it only asks the first time. I ended up just removing the layer from the map then adding it back to achieve the result.



Of course the layer I’m using actually has a primary key defined in the metadata so perhaps I would ask why it doesn’t just use the primary key when one exists?



Anyway; a few questions there but generally the tools are pretty good 😊 If anyone is able to point me in the right direction on the labelling individual records that would be great though.



Thanks,

Paul





This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. It may contain unclassified but sensitive or protectively marked material and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All traffic may be subject to recording and/or monitoring in accordance with relevant legislation. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Dorset Council. Dorset Council does not accept service of documents by fax or other electronic means. Virus checking: Whilst all reasonable steps have been taken to ensure that this electronic communication and its attachments whether encoded, encrypted or otherwise supplied are free from computer viruses, Dorset Council accepts no liability in respect of any loss, cost, damage or expense suffered as a result of accessing this message or any of its attachments. For information on how Dorset Council processes your information, please see www.dorsetcouncil.gov.uk/416433<http://www.dorsetcouncil.gov.uk/416433>



_______________________________________________

Qgis-user mailing list

Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>

List info: https://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. It may contain unclassified but sensitive or protectively marked material and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All traffic may be subject to recording and/or monitoring in accordance with relevant legislation. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Dorset Council. Dorset Council does not accept service of documents by fax or other electronic means. Virus checking: Whilst all reasonable steps have been taken to ensure that this electronic communication and its attachments whether encoded, encrypted or otherwise supplied are free from computer viruses, Dorset Council accepts no liability in respect of any loss, cost, damage or expense suffered as a result of accessing this message or any of its attachments. For information on how Dorset Council processes your information, please see www.dorsetcouncil.gov.uk/416433
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201119/42c937dc/attachment.html>


More information about the Qgis-user mailing list