Fixed wrong count used for transform
Clamp latitude for mercator