当前位置:网站首页>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));
边栏推荐
- Introduction to robotframework (II) app startup of appui automation
- Data and Introspection__ dict__ Attributes and__ slots__ attribute
- #PAT#day10
- Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
- 深度解析指针与数组笔试题
- resulttype和resultmap的区别和应用场景
- Modeling specifications: naming conventions
- [concept] Web basic concept cognition
- Summary of Bible story reading
- [network security interview question] - how to penetrate the test file directory through
猜你喜欢

How to choose PLC and MCU?

My C language learning record (blue bridge) -- on the pointer

codeforces每日5题(均1700)-第六天

1. Dynamic parameters of function: *args, **kwargs

Era5 reanalysis data download strategy

OCR文字识别方法综述

Analyze 菜单分析
![[concept] Web basic concept cognition](/img/27/14bcd73ca70d136436a4382a1b4bd1.jpg)
[concept] Web basic concept cognition

银行核心业务系统性能测试方法
![[Chongqing Guangdong education] higher mathematics I reference materials of Southwest Petroleum University](/img/0f/520242492524522c887b6576463566.jpg)
[Chongqing Guangdong education] higher mathematics I reference materials of Southwest Petroleum University
随机推荐
RobotFramework入门(一)简要介绍及使用
Descriptor implements ORM model
电机控制反Park变换和反Clarke变换公式推导
BUUCTF刷题笔记——[极客大挑战 2019]EasySQL 1
Communication between microservices
Audio-AudioRecord Binder通信机制
下一个行业风口:NFT 数字藏品,是机遇还是泡沫?
CSP date calculation
Recommended foreign websites for programmers to learn
Apt installation ZABBIX
RobotFramework入门(二)appUI自动化之app启动
CobaltStrike-4.4-K8修改版安装使用教程
tcpdump: no suitable device found
2.11 simulation summary
如何做好功能测试
Leetcode problem solving -- 108 Convert an ordered array into a binary search tree
[concept] Web basic concept cognition
【Unity3D】GUI控件
真机无法访问虚拟机的靶场,真机无法ping通虚拟机
Fault analysis | analysis of an example of MySQL running out of host memory