Opened 18 years ago
#1650 new defect
Graticule labels incorrect between 0 and -1 degrees using DDMM / DDMMSS formats
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.4 |
Severity: | normal | Keywords: | |
Cc: |
Description
Using the DDMMSS or DDMM labelformats for graticule labels, grid lines drawn between 0 degrees and -1 degrees are incorrectly labelled as positive. I.e. - 0.25 degrees is incorrectly shown as "0 15 00" (POSITIVE 0 degrees 15 minutes 0 seconds, instead of negative). Positive 0 15 00 appears twice, once on both sides of the meridian. This is a particular problem here in the UK where -1 to 0 degrees covers the main area which we are mapping. Found error using phpmapscript on v4.4.1, but a look at the latest code for _FormatLabel in mapgraticule.c appears to show the same problem in latest release. As a side note, some more useful label formats would be appreciated. In particular, it would be more appropriate to be able to show 'N'/'S' or 'E'/'W' instead of the negative symbol when using imperial formats.
Note:
See TracTickets
for help on using tickets.