当前位置:网站首页>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));
边栏推荐
- Buuctf question brushing notes - [geek challenge 2019] easysql 1
- 如何做好功能测试
- 4. File modification
- Who is the winner of PTA
- Derivation of anti Park transform and anti Clarke transform formulas for motor control
- Redis cluster deployment based on redis5
- 这些不太会
- jsscript
- resulttype和resultmap的区别和应用场景
- Classic interview question [gem pirate]
猜你喜欢
Solution: attributeerror: 'STR' object has no attribute 'decode‘
IPv6 jobs
Linear programming matlab
下一个行业风口:NFT 数字藏品,是机遇还是泡沫?
C language - Blue Bridge Cup - promised score
Performance analysis of user login TPS low and CPU full
Microservice registration and discovery
Web security SQL injection vulnerability (1)
【Unity3D】GUI控件
Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
随机推荐
【若依(ruoyi)】ztree 自定义图标(iconSkin 属性)
淘宝焦点图布局实战
MySQL learning notes-10-tablespace recycling
JS regular filtering and adding image prefixes in rich text
Jenkins basic knowledge ----- detailed explanation of 03pipeline code
真机无法访问虚拟机的靶场,真机无法ping通虚拟机
Introduction to robotframework (I) brief introduction and use
如何做好功能测试
Universal crud interface
多态day02
tcpdump: no suitable device found
ArabellaCPC 2019(补题)
Zhang Lijun: penetrating uncertainty depends on four "invariants"
Linear programming matlab
Buuctf question brushing notes - [geek challenge 2019] easysql 1
Handwriting database client
2.12 simulation
【paddle】加载模型权重后预测报错AttributeError: ‘Model‘ object has no attribute ‘_place‘
Communication between microservices
Maturity of master data management (MDM)