Web Mercator Non-Conformal, Non-Mercator


clip_image002

clip_image004

clip_image006

clip_image008

clip_image010

clip_image012

clip_image014

public static void XYtoGL(Coordinate coordinate)

{

double R = 6378137;

coordinate.x = coordinate.x / Math.PI * 180.0 / R;

coordinate.y = ((Math.atan(Math.exp(coordinate.y / R)) - Math.PI/4) / Math.PI * 180.0)*2;

}

public static void GLtoXY(Coordinate coordinate)

{

double R = 6378137;

coordinate.x = R * (coordinate.x - 0)/180 * Math.PI;

coordinate.y = R * Math.log(Math.tan(Math.PI/4+coordinate.y/2*Math.PI/180));

}

clip_image016

clip_image018

clip_image020

clip_image022

posted @ 2018-08-25 08:17  ParamousGIS  阅读(317)  评论(0编辑  收藏  举报