Min/Max scale values incorrectly formatted (python Mapscript) #5014

Merged
merged 1 commit into from Feb 24, 2016

Projects

None yet

3 participants

@stodge
stodge commented Oct 9, 2014

If I set a min or max scale in Mapscript (python) using

k.maxscaledenom = 5000000000.0

And then generate the mapfile using

m.save()

The resulting value is formatted as:

MAXSCALEDENOM 5e+09

Which means the annotation layer isn't rendered until I replace it with:

MAXSCALEDENOM 5000000000

Is there anyway to control the format of these values when using save()?

Thanks

@jratike80

Mapserver-users mailing list is a better forum for questions but perhaps you did find a bug. I apologize @stodge , but I do not know mapscript.

@tbonfort tbonfort Fix mapscript saving of numbers in exp format (#5014)
ed7d3f6
@tbonfort tbonfort merged commit ed7d3f6 into mapserver:branch-6-4 Feb 24, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@tbonfort
Member

applied to branch-6-4 branch-7-0 and master

@tbonfort tbonfort added this to the 7.0.1 milestone Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment