Hi Alanna,
It depends a bit on what you want to do.
There are map grids that you can use to label the edges of a map.
Or you can use a label with an expression. Here is one expression to
help you get started:
with_variable(
'mapextent',
map_get(item_variables('Map1'),'map_extent'),
round(x_min(@mapextent)) || ' - ' || round(x_max(@mapextent))
)
This gets the map extent of the map with the ID "Map1" (you need to set
the ID accordingly). Using the item_variables() data structure you can
get hold of the first map and then query one or more of the attributes
of a referenced item in a layout.
https://docs.qgis.org/3.34/en/docs/user_manual/expressions/functions_list.html#variables
gives you a list of available variables - but it depends of the
expression scope you are currently in.
Hope this helps you to get started.
Andreas
On 2024-04-15 12:13, Alanna Mitchell via QGIS-User wrote:
Dear QGIS community,
I am attempting to get the coordinate intersects of my map corners to
display in Print Layout/Composer (i.e., N and W coordinates). The exact
directions were: 'For geo-referencing purposes labelled coordinate
intersects should be shown in all four corners of the map'. There does
not seem to be an option for this in QGIS (I have found a few in ARC).
I have found dynamic text in the Print Layout (Add Items - Add Dynamic
Text - Map Properties) and one can see X minimum, X maximum, Y etc. I
am not sure what these are or if they are relevant to me finding the
map corner coordinates.
I also found the plugin Map Corner coordinates. But this seems to only
work for the main map viewer, and I can't get this to align exactly
with my Print Layout to ensure these coordinates are exactly the same.
If there was even a mathematically method, I would be more than partial
to using that even. I appreciate any and all help in these matters.
Thank you in advance.
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