Fix computation for scale
Merge pull request #684 from geoadmin/gal_fix_minmax_scale

Fix computation for scale