Click at the left Picture

Projections

In this experiment I created a visualization for the functions:
  • metersToCoords: takes a point in meters relative to some choosen center. returns the geocoordinates of that point.
  • coordsToMercator: takes geocoordinates. returns the mercator point for it.
  • mercatorToCoords: takes mercator point. returns geocoordinates.
The right picture is a typical Web Merkator Map. By clicking you set the center for the metersToCoords-projection. The mouse position is a mercator point. it gets projected to its corresponding geocoords. The seconds picture will iterate over each pixel and uses the metersToCoords and then coordsToMercator tho find the corresponding pixel in the first picture.