当前位置:网站首页>3857 Mercator coordinate system converted to 4326 (WGS84) longitude and latitude coordinates
3857 Mercator coordinate system converted to 4326 (WGS84) longitude and latitude coordinates
2022-07-06 03:10:00 【Unspeakable】
mercatorTolonlat(mercator) {
var lonlat = [0, 0]
var x = mercator[0] / 20037508.34 * 180
var y = mercator[1] / 20037508.34 * 180
y = 180 / Math.PI * (2 * Math.atan(Math.exp(y * Math.PI / 180)) - Math.PI / 2)
lonlat[0] = x
lonlat[1] = y
return lonlat
}
Geographic coordinate system 4326– Projection coordinate system 3857/2436
Spatial reference coordinate system query website :https://spatialreference.org/ and http://epsg.io/
EPSG:4326 (WGS84) Geographic coordinate system ,WGS84 It is the most popular geographical coordinate system at present . In the world , Each coordinate system is assigned a EPSG Code ,EPSG:4326 Namely WGS84 Code for .
GPS Is based on WGS84 Of , So usually the coordinate data we get is WGS84 Of . Generally, when storing data , Still press WGS84 Storage .
EPSG:3857 (Pseudo-Mercator) Pseudo Mercator projection , Also known as the sphere Mercator ,Web Mercator. It's based on the Mercator projection , hold WGS84 The coordinate system is projected onto the square .
EPSG:2436, The projection coordinate system of Beijing ;
The East-West range of Beijing :Beijing: 115.7°E - 117.4°E;
Beijing 1954 / 3-degree Gauss-Kruger CM 117E (Google it);
WGS84 Bounds: 115.5000, 22.6600, 118.5000, 49.8800;
Projected Bounds: 345818.6654, 2507707.7737, 654181.3346, 5528676.1748;
Scope: Large scale topographic mapping, cadastral and engineering survey.;
Last Revised: July 22, 2006;
Area: China - 115.5°E to 118.5°E.
Inquiry and Beijing / The coordinate system related to China
SELECT * FROM spatial_ref_sys WHERE srtext ~* 'beijing';
SELECT * FROM spatial_ref_sys WHERE srtext ~* 'china';
SELECT ST_AsText(ST_Transform(ST_GeomFromText('POLYGON((743238 2967416,743238 2967450,743265 2967450,743265.625 2967416,743238 2967416))',2249),4326)) As wgs_geom;
SELECT ST_AsEWKT(ST_Transform(ST_GeomFromEWKT('SRID=2249;CIRCULARSTRING(743238 2967416 1,743238 2967450 2,743265 2967450 3,743265.625 2967416 3,743238 2967416 4)'),4326));
边栏推荐
- Overview of OCR character recognition methods
- Detailed use of dbutils # yyds dry goods inventory #
- Pat 1046 shortest distance (20 points) simulation
- Linear programming matlab
- 这些不太会
- 适合程序员学习的国外网站推荐
- Deeply analyze the chain 2+1 mode, and subvert the traditional thinking of selling goods?
- MySQL learning notes-10-tablespace recycling
- Polymorphic day02
- Reverse repackaging of wechat applet
猜你喜欢
js 正则过滤和增加富文本中图片前缀
What is the investment value of iFLYTEK, which does not make money?
[network security interview question] - how to penetrate the test file directory through
C language - Blue Bridge Cup - promised score
【Kubernetes 系列】一文學會Kubernetes Service安全的暴露應用
Overview of OCR character recognition methods
Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
Introduction to robotframework (I) brief introduction and use
Introduction to robotframework (III) Baidu search of webui automation
Linear programming matlab
随机推荐
Technology sharing | what if Undo is too big
CSP date calculation
Fault analysis | analysis of an example of MySQL running out of host memory
Erreur de la carte SD "erreur - 110 whilst initialisation de la carte SD
Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
codeforces每日5题(均1700)-第六天
电机控制反Park变换和反Clarke变换公式推导
PMP每日一练 | 考试不迷路-7.5
张丽俊:穿透不确定性要靠四个“不变”
[unity3d] GUI control
Era5 reanalysis data download strategy
Atcoder beginer contest 233 (a~d) solution
真机无法访问虚拟机的靶场,真机无法ping通虚拟机
Mysql database operation
多态day02
Derivation of anti Park transform and anti Clarke transform formulas for motor control
Misc (eternal night), the preliminary competition of the innovation practice competition of the National College Students' information security competition
#PAT#day10
Custom attribute access__ getattribute__/ Settings__ setattr__/ Delete__ delattr__ method
下一个行业风口:NFT 数字藏品,是机遇还是泡沫?