I want to remove the direction for latitude (N) and Longitude (W) and keep (°) like 52° and -130° in the map. I tried to find in the draw coordinates and format but I haven't found a way yet. I think I have to write a program in custom but I don't know it.

Edit: Here the example of the map containing latitude and longitude values with respectively N and W. I just want to remove these two letters.

enter image description here

  • 2
    In Printcomposer grid? Please clarify and describe your question as precisely as possible. – MrXsquared Jul 15 at 17:18
  • 2
    Hi, please be more specific. Posting some screenshots will also help to get your message across. – vagvaf Jul 15 at 17:18
  • 1
    Possible duplicate of Custom coordinates format – TomazicM Jul 15 at 19:08

Your grid coordinates format is set to "Decimal with suffix."

enter image description here

Change the grid coordinate format to "Decimal."

enter image description here

If you don't like any of the eight pre-formatted options, choose the "custom" setting and write an expression to achieve your desired format.

For example, to display decimal degrees with the degree symbol, use this expression:

 @grid_number  ||  '°'

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.