[Qgis-user] custom string formatting for grid coordinate labels

Nyall Dawson nyall.dawson at gmail.com
Tue Feb 16 10:48:24 PST 2016


On 17 Feb 2016 2:20 AM, "Uwe Fischer" <gisfisch at t-online.de> wrote:
>
> Hello List, hello Nyall,
>
>
>
> I have a question concerning the grid coordinate labels for map frames in
print composer. If you set the label format to „custom“, you get to
„Expression based annotation“ box where you can build expressions for
formatting, e.g. concat(left(@grid_number,3) ,  '<sup>E'). That works fine
in the editor and the footnote preview shows exactly the desired result (E
as an above positioned little index). But, in the map composer canvas, the
format string is rendered as text, that means <sup>E shows up as a text
string there.
>
>
>
> Is there a way to apply the format rule (which seems to work) correctly
to the map composer?

Not currently - there's no support for formatting in the coordinate text.

Nyall

>
>
>
> Regards and thanks a lot,
>
>
>
> Uwe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160217/10dd033e/attachment.html>


More information about the Qgis-user mailing list