Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapserver GRID enhancement - degrees and decimal minutes format #5407

Open
PedroVenancio opened this issue Mar 12, 2017 · 0 comments
Open

Mapserver GRID enhancement - degrees and decimal minutes format #5407

PedroVenancio opened this issue Mar 12, 2017 · 0 comments

Comments

@PedroVenancio
Copy link

Hi all,

At this moment, it's not possible to use a GRID [0] in degrees and decimal minutes LABELFORMAT. Something like:
40 46.817 -7 4.327

LABELFORMAT "DDMM" gives only the integer part of Degrees and Minutes.

Using C-style formatting string, it's possible use %g, %f, etc., but it is only applied to Degrees component.

It would be a good improvement something like "%gº %3.2f", in whitch %gº were for the Degrees, and %3.2f for the decimal Minutes.

Some TETRA (Terrestrial Trunked Radio [1]) equipments, widely used by emergency services, only give the GPS coordinates in this format, and so I think this could be a good enhancement for Mapserver applications.

[0] http://mapserver.org/mapfile/grid.html
[1] https://en.wikipedia.org/wiki/Terrestrial_Trunked_Radio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants