Difference between revisions of "China datums"

From OSGeo
Jump to navigation Jump to search
Line 6: Line 6:
 
Parameters for precision transforms is not officially given, but you can try your luck with [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].
 
Parameters for precision transforms is not officially given, but you can try your luck with [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].
  
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. For Beijing 1954 (EPSG:4214), the EPSG has a few local transforms to try. All articles dealing with Xian 1980 are heavily redacted; the screenshots in [https://www.researchgate.net/publication/334379904_GISshujugeshizhuanhuanjizuobiaoxizhuanhuanfangfatantao 10.32629/gmsm.v2i4.291] look promising, until you realize the Bursa-Wolf values look way off and the source data is also redacted.
+
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. For Beijing 1954 (EPSG:4214), the EPSG has a few local transforms to try. All articles dealing with Xian 1980 are heavily redacted.
  
 
=== Possible Xian 1980 sources ===
 
=== Possible Xian 1980 sources ===
 
This section is for those who really want to put a TOWGS84 on Xian 1980 once and for all.
 
This section is for those who really want to put a TOWGS84 on Xian 1980 once and for all.
* The aforementioned publication 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").
+
* 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.
 
* 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.
 
* [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.

Revision as of 07:35, 17 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.

If you are doing modern work, you should only see CGCS2000 (EPSG:4490), which is close to ITRS and WGS 84 for casual use. Parameters for precision transforms is not officially given, but you can try your luck with Wang et al. (2019), Table 1.

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. For Beijing 1954 (EPSG:4214), the EPSG has a few local transforms to try. All articles dealing with Xian 1980 are heavily redacted.

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