Difference between revisions of "China datums"

From OSGeo
Jump to navigation Jump to search
m (add category)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Datums in China==
 
==Datums in China==
<!--TO DO-->
+
Please see e.g., http://www.asprs.org/a/resources/grids/05-2000-china.pdf and https://www.iag-aig.org/doc/5d8dd34ba63c6.pdf (reports #1, #3).
 +
On this page we aim to just supplement the more widely known information.
 +
 
 +
Transformation for PRC datum are only legally acquired from the local government, which should normally be your source for maps made in old datums too.
 +
* CGCS2000 (EPSG:4490) is the modern datum. For casual use, assume it's close enough to WGS 84. For more precise use, it is referenced to ITRF97 at epoch 2000.0 and you can use that for conversion. There are later, better parameters such as [https://isprs-archives.copernicus.org/articles/XLII-3-W10/535/2020/isprs-archives-XLII-3-W10-535-2020.pdf Wang ''et al.'' (2019), Table 1] (frame) and the official recommendation of [https://www.sciencedirect.com/science/article/pii/S2095809920302149 CPM-CGCS2000] (plate) + usual ITRF97 frame, defined in CH/T 2014-2016.
 +
* Xian 1980 is still commonly used. Papers dealing with its conversion are heavily redacted.
 +
* For Beijing 1954 (EPSG:4214), the EPSG has a few local transforms to try, centered on some oil-producing areas.
 +
 
 +
=== Possible Xian 1980 sources ===
 +
This section is for those who really want to put a TOWGS84 on Xian 1980 once and for all.
 +
* The publication doi:10.32629/gmsm.v2i4.291 has three pairs of XYZ points in Xian 1980 and CGCS2000. The redaction is sloppy enough to have the top pixels show through. If anyone wants to try, use the PDF archived at [https://archive.is/iVplB] (click "Download Zip").
 +
* In the GCJ-02 tradition, open-source code often inadvertently leak classified information. [https://github.com/Artoria2e5/GNSSAMS/tree/main/workspace/%E5%9D%90%E6%A0%87%E8%BD%AC%E6%8D%A2%E6%95%B0%E6%8D%AE GitHub: GNSSAMS] (forked for preservation) provides six pairs of XY points in Xian 1980 and Beijing 1953.
 +
* [https://github.com/Artoria2e5/iDesktop-MainDocs/blob/master/en/tutorial/DataProcessing/Projection/TransformationParaStep.md SuperMap/iDesktop-MainDocs] (also forked) provides a dozen pairs of tightly clustered XYZ in Xian 1980 and CGCS 2000, 3° zone 36.
  
 
==Coordinate systems used in China==
 
==Coordinate systems used in China==
  
===Paper maps===
+
===Web map examples===
 +
Some common coordinate systems observed,
 +
觀測中國電子地圖諸網站常見座標系統,
 +
 
 +
Here we give examples of how a single longitude latitude pair is
 +
located differently depending on which web mapping site one uses!
 +
 
 +
This is necessitated by the state mandated distortion... 其政府所規定之偏移…
  
===Web maps===
+
#http://maps.google.com/maps?q=loc:40,116.5&t=k
 +
#http://maps.google.com/maps?q=loc:40,116.5&t=m
 +
#*http://ditu.google.com/maps?q=loc:40,116.5&t=k
 +
#*http://ditu.google.com/maps?q=loc:40,116.5&t=m
 +
#http://api.map.baidu.com/staticimage?markers=116.5,40&zoom=14
  
觀測中國電子地圖諸網站常見座標系統,
+
We observe we can obtain the exact same three points,
An observation of Chinese web mapping sites shows various non longitude /  latitude systems in use.
 
  
Very many of them are plain [http://en.wikipedia.org/wiki/Mercator_projection Mercator projection]s. They are
+
*http://map.sogou.com/#hb=1,1&c=12968861,4838218,15&tip=1,12968861,4838218
visible in the URLs generated when "sharing" map views with friends.
+
*http://map.sogou.com/#hb=1,1&c=12968189,4838039,15&tip=2,12968189,4838039
 +
*http://map.sogou.com/#hb=1,1&c=12967462,4837158,15&tip=3,12967462,4837158
  
One finds one can replicate very closely the results of e.g.,
+
via [http://map.sogou.com/api/documentation/javascript/api2.0/interface_translate.html 搜狗 Sogou API]'s type=1, 2, 3.
[http://map.sogou.com/api/documentation/javascript/api2.0/interface_translate.html Sogou API] (type=1)
+
We also notice type=1 is a plain [http://en.wikipedia.org/wiki/Mercator_projection Mercator projection],
using the following parameters, here as we take a diagonal swath through the country:
+
[http://en.wikipedia.org/wiki/Alexander_Ross_Clarke Clarke] 1866 ellipsoid,
 +
a=6378206.4 rf=294.978698213898 .
 +
$ [http://proj.osgeo.org/ proj] +proj=merc +ellps=clrk66
  
$ perl -wle 'for($x=90, $y=20; $y<=50; $x++, $y++){print "$x $y"}'|
+
(Note not all sites are actually reachable from inside China.)
[http://proj.osgeo.org/ proj] -E +proj=merc +k_0=1.000010881 +rf=294.9787 +a=6378137
 
...
 
116 46 12913201.44 5749320.52
 
117 47 13024522.14 5910526.61
 
118 48 13135842.84 6074798.25
 
119 49 13247163.55 6242305.46
 
120 50 13358484.25 6413230.50
 
  
Indeed, the only differences that remain appear to be the state mandated distortion... 似乎僅留政府所規定之偏移…
+
See the [https://en.wikipedia.org/wiki/GCJ-02 Wikipedia page on GCJ-02] for how and why the map distortion is done. On top of messing with the lat/lon, each site uses their own variation of Mercator for tiling, which is less than convenient. [https://github.com/gumblex/cntms cntms] is a Python map tile proxy with support for some Chinese sites: you will see that Baidu also uses Clarke 1866 Mercator.
  
 
==See also==
 
==See also==
 
*[[Taiwan datums]]
 
*[[Taiwan datums]]
  
 +
[[Category:Datums by country]]
 
[[Category:China]]
 
[[Category:China]]
[[Category:Datums by country]]
 

Latest revision as of 05:46, 18 May 2023

Datums in China

Please see e.g., http://www.asprs.org/a/resources/grids/05-2000-china.pdf and https://www.iag-aig.org/doc/5d8dd34ba63c6.pdf (reports #1, #3). On this page we aim to just supplement the more widely known information.

Transformation for PRC datum are only legally acquired from the local government, which should normally be your source for maps made in old datums too.

  • CGCS2000 (EPSG:4490) is the modern datum. For casual use, assume it's close enough to WGS 84. For more precise use, it is referenced to ITRF97 at epoch 2000.0 and you can use that for conversion. There are later, better parameters such as Wang et al. (2019), Table 1 (frame) and the official recommendation of CPM-CGCS2000 (plate) + usual ITRF97 frame, defined in CH/T 2014-2016.
  • Xian 1980 is still commonly used. Papers dealing with its conversion are heavily redacted.
  • For Beijing 1954 (EPSG:4214), the EPSG has a few local transforms to try, centered on some oil-producing areas.

Possible Xian 1980 sources

This section is for those who really want to put a TOWGS84 on Xian 1980 once and for all.

  • The publication doi:10.32629/gmsm.v2i4.291 has three pairs of XYZ points in Xian 1980 and CGCS2000. The redaction is sloppy enough to have the top pixels show through. If anyone wants to try, use the PDF archived at [1] (click "Download Zip").
  • In the GCJ-02 tradition, open-source code often inadvertently leak classified information. GitHub: GNSSAMS (forked for preservation) provides six pairs of XY points in Xian 1980 and Beijing 1953.
  • SuperMap/iDesktop-MainDocs (also forked) provides a dozen pairs of tightly clustered XYZ in Xian 1980 and CGCS 2000, 3° zone 36.

Coordinate systems used in China

Web map examples

Some common coordinate systems observed, 觀測中國電子地圖諸網站常見座標系統,

Here we give examples of how a single longitude latitude pair is located differently depending on which web mapping site one uses!

This is necessitated by the state mandated distortion... 其政府所規定之偏移…

  1. http://maps.google.com/maps?q=loc:40,116.5&t=k
  2. http://maps.google.com/maps?q=loc:40,116.5&t=m
  3. http://api.map.baidu.com/staticimage?markers=116.5,40&zoom=14

We observe we can obtain the exact same three points,

via 搜狗 Sogou API's type=1, 2, 3. We also notice type=1 is a plain Mercator projection, Clarke 1866 ellipsoid, a=6378206.4 rf=294.978698213898 .

$ proj +proj=merc +ellps=clrk66

(Note not all sites are actually reachable from inside China.)

See the Wikipedia page on GCJ-02 for how and why the map distortion is done. On top of messing with the lat/lon, each site uses their own variation of Mercator for tiling, which is less than convenient. cntms is a Python map tile proxy with support for some Chinese sites: you will see that Baidu also uses Clarke 1866 Mercator.

See also