Feature request #9292
Custom Format for Grid Coordinates
|Pull Request or Patch supplied:||No||Resolution:|
Would it be possible to get a "custom" format for "Draw Coordinates" in the Composer.
When selecting "custom" a similar box as for normal labels could get activated.
This way I could get a label in any projected coordinate system displayed in any way I want. The example in the picture takes the y_coordinate and extracts to digits representing the kilometre value in a 100 km x 100 km box (i.e. UTM coordinates).
In the same way I could "build" more complicated grid labels with custom texts etc.
The above is only a suggestion for getting more flexible options for creating labels. Another option would be to add new formats in a config-file in some way.
#2 Updated by Klas Karlsson about 3 years ago
- File Suggested_fix.png added
Why not add a "data defined" option for the "Draw Coordinates" > "Format" option...
see attached file
As long as the coordinate intended for use at the grid line as a label is available in the "function list" (ex: $gridlinevalue ) You could do pretty much anything with the labels.
#4 Updated by Ian Holt over 2 years ago
Apologies if this is the wrong place to post this.
The last comment on this issue was 10 months ago.
Does anyone know if there have been any further thoughts?
Being able to be more flexible in the good coordinates in Print Composer means I have to take the image I generate and use other software to create more pleasing labelling,
i.e. rather that 460000 461000 462000 It could read 460000 461 462 (maybe with the 4 and trailing 0s as superscript?
Or if anyone can point me towards a way of creating more flexible labelling outside QGIS, then I would be very appreciative.