<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Keith,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
That worked and absolutely did the job. Thanks for having a look into this for me, and thanks for the extra information.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i>Kind Regards</i>,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i>Alanna</i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i><br>
</i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i><br>
</i></div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Keith Jenkins <kgjenkins@gmail.com><br>
<b>Sent:</b> Friday, July 26, 2024 8:33 PM<br>
<b>To:</b> Alanna Mitchell <A.Mitchell@aquafact.ie><br>
<b>Cc:</b> qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org><br>
<b>Subject:</b> Re: [Qgis-user] QGIS Query - Dynamic Text - Layer Credits</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
Caution – This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Contact the IT Team if you are unsure<br>
<br>
<br>
Hi, Alanna.<br>
<br>
I was able to replicate this issue here by adding a label to a layout<br>
using the dynamic text "Layer Credits", which creates a label using<br>
this expression:<br>
[%array_to_string(map_credits())%]<br>
<br>
It seems that that expression will include any credits specified in<br>
the QGIS metadata for each layer that appears on the layout.  To<br>
adjust (or remove) the credit text for a layer, open the Layer<br>
Properties > Metadata > Access and edit the value shown for the<br>
"Rights (attribution or copyright)" section.<br>
<br>
I'm guessing that the text string "REQUIRED: Restrictions and legal<br>
prerequisites for using the data set after access is granted" was in<br>
the rights metadata of one of the datasets you are including on your<br>
map.  I've occasionally seen such values in cases where the data<br>
creator (even an otherwise authoritative government entity) started<br>
their metadata from a template and never finished editing it properly.<br>
<br>
There are some more details about the map_credits() function and its<br>
options (like saying which data layer the credit applies to) here:<br>
<a href="https://docs.qgis.org/3.34/en/docs/user_manual/expressions/functions_list.html#map-credits">https://docs.qgis.org/3.34/en/docs/user_manual/expressions/functions_list.html#map-credits</a><br>
<br>
Hope this helps!<br>
<br>
Keith<br>
<br>
<br>
On Fri, Jul 26, 2024 at 3:50 AM Alanna Mitchell via QGIS-User<br>
<qgis-user@lists.osgeo.org> wrote:<br>
><br>
> Good Day QGIS Users,<br>
><br>
> I wanted to enquire about dynamic text - map properties - layer credits.<br>
><br>
> I use this in the print layout, usually to credit Google or OSM. However, for Google, sometimes the dynamic text is simply 'Map data ©2015 Google', however sometimes this changes to 'REQUIRED: Restrictions and legal prerequisites for using the data set after
 access is granted., Map data ©2015 Google'. This may change mid map, or if I am creating two maps back to back using the same base layer (Google Satellite), between the two maps this may change. The changes could be as simple as having the same vector layer
 displaying different symbology/properties. Would anyone know why this is happening and how to prevent this?<br>
><br>
> Kind regards,<br>
> Alanna<br>
><br>
><br>
> _______________________________________________<br>
> QGIS-User mailing list<br>
> QGIS-User@lists.osgeo.org<br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div>
</span></font></div>
</body>
</html>