First - huge thanks to all of the devs and supporters of QGIS, making it the great software that it is!
Second - here's the feature request:
Desired End Result:
Labels on a map, based on the data from a specified layer, are hyperlinks when the map is exported (from the Print Composer) as a PDF or interactive map (e.g., via QGIS2Web)
Why:
In a variety of instances, with people interacting with maps on computers (or mobile devices), even as PDFs, the desired purpose of a label is not only to give the users the label information per se (e.g., the name of the administrative unit), but to serve as a link to some content on the web with more information. For example, for a map of administrative units, it can be useful to have the links to go more information specifically related to those units (e.g., a government website, specific thematic content, etc.)
Current experience:
When creating labels based on the attribute table of a layer, users can select a field with HTML-formatted text, and the HTML formatting will apply for specific formatting related to visual styles documented here.
Thus, if there is a column formatted to be hyperlinks (e.g., entries along the lines of <a href="https://qgis.org">QGIS</a>, the visual style makes the label appear as a hyperlink, but it does not function as one in any way that I have found.
This holds true both when working in QGIS, and when exporting maps (e.g., from the Print Composer as a PDF using various different settings and PDF export drivers) nor in generating a webmap such as via QGIS2Web.
For maps exported as PDFs from the Print Composer, the using the "Add Label" tool in the Print Composer with html-formatted hyperlinks and seems to function as one would expect, with the text that looks like a hyperlink functioning as one.
Additional context
Full email thread of pertinent discussion on the QGIS-User email list is here
What I'm hoping to achieve is basically something like shown in the image below, where each of the labels, visually formatted as a standard HTML-formatted hyperlink (based on the attribute values and label setting checked for "Allow HTML formatted"), functions as a hyperlink, especially in a PDF but also, ideally, in interactive maps such as those generated through QGIS2Web
Feature description
First - huge thanks to all of the devs and supporters of QGIS, making it the great software that it is!
Second - here's the feature request: Desired End Result: Labels on a map, based on the data from a specified layer, are hyperlinks when the map is exported (from the Print Composer) as a PDF or interactive map (e.g., via QGIS2Web)
Why: In a variety of instances, with people interacting with maps on computers (or mobile devices), even as PDFs, the desired purpose of a label is not only to give the users the label information per se (e.g., the name of the administrative unit), but to serve as a link to some content on the web with more information. For example, for a map of administrative units, it can be useful to have the links to go more information specifically related to those units (e.g., a government website, specific thematic content, etc.)
Current experience:
<a href="https://qgis.org">QGIS</a>
, the visual style makes the label appear as a hyperlink, but it does not function as one in any way that I have found.Additional context
Full email thread of pertinent discussion on the QGIS-User email list is here
What I'm hoping to achieve is basically something like shown in the image below, where each of the labels, visually formatted as a standard HTML-formatted hyperlink (based on the attribute values and label setting checked for "Allow HTML formatted"), functions as a hyperlink, especially in a PDF but also, ideally, in interactive maps such as those generated through QGIS2Web