This tool functions as a world Mercator coordinate calculator using the EPSG:3395 projection. It efficiently takes latitude and longitude inputs and seamlessly converts them into world Mercator coordinates, facilitating bidirectional conversion between the two coordinate systems.
EPSG:3395 referene: https://epsg.io/3395
Important Note: This Mercator projection differs from the commonly used Web Mercator projection. It excels particularly in polar regions, offering increased accuracy compared to the Web Mercator projection.
It Convert Latitude and longitude to X and Y coordinates in world Mercator
double x = MercatorProjection.lonToX(lon);
double y = MercatorProjection.latToY(lat);
It Converts x and y to latitude and longitude.
double lat = MercatorProjection.yToLat(y)
double lon = MercatorProjection.XToLon(x)