Hi, Alanna.

I was able to replicate this issue here by adding a label to a layout
using the dynamic text "Layer Credits", which creates a label using
this expression:
[%array_to_string(map_credits())%]

It seems that that expression will include any credits specified in
the QGIS metadata for each layer that appears on the layout.  To
adjust (or remove) the credit text for a layer, open the Layer
Properties > Metadata > Access and edit the value shown for the
"Rights (attribution or copyright)" section.

I'm guessing that the text string "REQUIRED: Restrictions and legal
prerequisites for using the data set after access is granted" was in
the rights metadata of one of the datasets you are including on your
map.  I've occasionally seen such values in cases where the data
creator (even an otherwise authoritative government entity) started
their metadata from a template and never finished editing it properly.

There are some more details about the map_credits() function and its
options (like saying which data layer the credit applies to) here:
https://docs.qgis.org/3.34/en/docs/user_manual/expressions/functions_list.html#map-credits

Hope this helps!

Keith


On Fri, Jul 26, 2024 at 3:50 AM Alanna Mitchell via QGIS-User
<qgis-user@lists.osgeo.org> wrote:
>
> Good Day QGIS Users,
>
> I wanted to enquire about dynamic text - map properties - layer credits.
>
> 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?
>
> Kind regards,
> Alanna
>
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to