fixed calculation of the resolution
Merge pull request #58 from lat-lon/degreeBasedCrsRenderingBug-1744

fixed calculation of the resolution