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

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

Merged
merged 1 commit into from Feb 24, 2016

Conversation

Projects
None yet
2 participants
@tbonfort
Member

tbonfort commented Feb 23, 2016

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

This comment has been minimized.

Show comment
Hide comment
@jratike80

jratike80 Nov 9, 2015

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.

jratike80 commented Nov 9, 2015

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 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

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Feb 24, 2016

Member

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

Member

tbonfort commented Feb 24, 2016

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