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

2016-02-18 Thread Neumann, Andreas
Hi Andrew, Thank you for these useful custom expression functions. It would be quite useful to have the Python unichr() function available in QGIS as an expression function under the "String" functions group. Thanks and greetings, Andreas On 2016-02-18 14:47, Andrew Harfoot wrote: > I

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

2016-02-18 Thread Andrew Harfoot
I have just posted a couple of unicode superscript and subscript functions to GIS Stackexchange: http://gis.stackexchange.com/questions/181287 Cheers, Andy On 18/02/2016 13:15, Claas Leiner wrote: Hi, With Unicode Characters is a good idea. As the code is implemented directly in a QGIS-Exp

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

2016-02-18 Thread Claas Leiner
Hi, With Unicode Characters is a good idea. As the code is implemented directly in a QGIS-Expression me remains a mystery. I have searched for the mark on LibreOffice (insert special characters) and then copied using CTRL-C / CTRL-V in the expression. With this expression: Case when @grid_ax

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

2016-02-17 Thread Neumann, Andreas
That's an excellent idea - thanks for sharing! Andreas On 2016-02-17 10:42, Andrew Harfoot wrote: > Hi Uwe, > > If you can't use formatting tags, then possibly Unicode is your friend here - > have a look at characters U1D31 and U1D3A - superscript E and N respectively. > Using these sho

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

2016-02-17 Thread Andrew Harfoot
Hi Uwe, If you can't use formatting tags, then possibly Unicode is your friend here - have a look at characters U1D31 and U1D3A - superscript E and N respectively. Using these should allow you to generate labels like this: 0234ᴱ or 345389ᴺ Cheers, Andy On 16/02/2016 18:48, Nyall Dawson wr

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

2016-02-16 Thread Nyall Dawson
On 17 Feb 2016 2:20 AM, "Uwe Fischer" 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 form

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

2016-02-16 Thread Uwe Fischer
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) , 'E'). That