Fix tolerance computation
Merge pull request #104 from geoadmin/dev_fix_tolerance

Fix tolerance computation