Under Chinese law, the use of geographic information in the People's Republic of China is restricted to entities that have special authorization from the administrative department for surveying and mapping under the State Council. [1] Consequences of the restriction include fines for unauthorized surveys, lack of geotagging information on many cameras when the GPS chip detects a location within China, and incorrect alignment of street maps with satellite maps in various applications. [2]
Chinese lawmakers said that these restrictions are to "safeguard the security of China's geographic information". [3] Song Chaozhi, an official of the State Bureau of Surveying and Mapping, said "foreign organizations who wish to carry out mapping or surveying work within China must make clear that they will not touch upon state secrets or endanger state security". [3] Critics outside of China point out that the laws close critical sectors of the Chinese economy to foreign companies, and assist with cracking down on dissent. [3]
According to articles 7, 26, 40 and 42 of the Surveying and Mapping Law of the People's Republic of China, private surveying and mapping activities have been illegal in mainland China since 2002. The law prohibits: [4]
publishing, without authorization, significant geographic information and data concerning the territorial air, land and waters, as well as other sea areas under the jurisdiction of the People's Republic of China.
— The National Administration of Surveying, Mapping and Geoinformation of China, Surveying and Mapping Law of the People's Republic of China
Article 1 says:
This Law is enacted to strengthen the administration of the surveying and mapping undertaking, promote its development and ensure that it renders service to development of the national economy, the building up of national defence, and progress of the society. [5]
Fines range from 10,000 to 500,000 CNY (US$1550–77519). Foreign individuals or organizations that wish to conduct surveying must form a Chinese-foreign joint venture. [1]
Between 2006 and 2011, the authorities pursued around 40 illegal cases of mapping and surveying. [6] The media has reported on other cases of unlawful surveys:
As a consequence, major digital camera manufacturers including Panasonic, Leica, FujiFilm, Nikon and Samsung restrict location information within China. [12]
OpenStreetMap, the crowdsourced project to assemble a map of the world, advises that "private surveying and mapping activities are illegal in China". [13]
Chinese law and regulations also rule on the contents of any published map:
In 2016, a large-scale search by Chinese law enforcement found 253 types of problematic paper maps and 1000 problematic online map websites, most pertaining to the depiction of Taiwan and 9-dash line. [17]
Geodesy |
---|
Chinese regulations require that approved map service providers in China use a specific coordinate system, called GCJ-02 (colloquially Mars Coordinates). Baidu Maps uses yet another coordinate system - BD-09, [18] [19] which seems to be based on GCJ-02. [20]
Technical spatial processing must be applied to electronic navigational maps prior to publication, sales, redistribution, and usage.
— GB 20263―2006 "Basic security processes for electronic navigational maps", 4.1
GCJ-02 (Chinese :地形图非线性保密处理算法; pinyin :Dìxíng tú fēixiànxìng bǎomì chǔlǐ suànfǎ; lit.'Topographic map non-linear confidentiality algorithm') [21] is a geodetic datum used by the Chinese State Bureau of Surveying and Mapping, and based on WGS-84. [22] It uses an obfuscation algorithm [23] which adds apparently random offsets to both the latitude and longitude, with the alleged goal of improving national security. [20] [24] There is a license fee associated with using this mandatory algorithm in China. [21]
A marker with GCJ-02 coordinates will be displayed at the correct location on a GCJ-02 map. However, the offsets can result in a 100–700 meter error from the actual location if a WGS-84 marker (such as a GPS location) is placed on a GCJ-02 map, or vice versa. The Google Maps street map is offset by 50–500 meters from its satellite imagery. [11] [25] Yahoo! Maps also displayed the street map without major errors when compared to the satellite imagery. [26] MapQuest overlays OpenStreetMap data perfectly as well. [27]
Despite the secrecy surrounding the GCJ-02 obfuscation, several open-source projects exist that provide conversions between GCJ-02 and WGS-84, for languages including C#, [28] C, Go, Java, JavaScript, PHP, [29] Python, [30] R, [20] and Ruby. [31] [32] They appear to be based on leaked code for the WGS to GCJ part. [33] Other solutions to the conversion involve interpolating coordinates based on regression from a data set of Google China and satellite imagery coordinates. [34] An attempt by Wu Yongzheng using fast Fourier transform analysis gave a result much like the leaked code. [35]
From the leaked code, [28] [36] GCJ-02 uses parameters from the SK-42 reference system. The parameters were used to calculate lengths of one degree of latitude and longitude, so that offsets in meters previously calculated can be converted to degrees for the WGS-84 input coordinates.
BD-09 is a geographic coordinate system used by Baidu Maps, adding further obfuscation to GCJ-02 "to better protect users' privacy". [37] [19] Baidu provides an API call to convert from Google or GPS (WGS-84), GCJ-02, BD-09, MapBar or 51ditu coordinates into Baidu or GCJ-02 coordinates. [38] [18] As required by local law, [38] there is no API to convert into WGS-84, but open source implementations in R [20] and various other languages [29] exist.
As the actual algorithm is now available in open source form (see above), the text below is obsolete.
GCJ-02 appears to use multiple high-frequency noises of the form , effectively generating a transcendental equation and thus eliminating analytical solutions.[ citation needed ] However, the open-source "reverse" transformations make use of the properties of GCJ-02 that the transformed coordinates are not too far from WGS-84 and are mostly monotonic related to corresponding WGS-84 coordinates: [39] [20]
fromtypingimportCallable# Represent coordinates with complex numbers for simplicitycoords=complex# Coords-to-coords functionC2C=Callable[[coords],coords]defrev_transform_rough(bad:coords,worsen:C2C)->coords:"""Roughly reverse the ``worsen`` transformation. Since ``bad = worsen(good)`` is close to ``good``, ``worsen(bad) - bad`` can be used to approximate ``bad - good``. First seen in eviltransform. """returnbad-(worsen(bad)-bad)defrev_transform(bad:coords,worsen:C2C)->coords:"""More precisely reverse the ``worsen`` transformation. Similar to ``rev_transform_rough``, ``worsen(a) - worsen(b)`` can be used to approximate ``a - b``. First seen in geoChina/R/cst.R (caijun 2014). Iteration-only version (without rough initialization) has been known since fengzee-me/ChinaMapShift (November 2013). """eps=1e-6wgs=badimprovement=99+99j# dummy valuewhileabs(improvement)>eps:improvement=worsen(wgs)-badwgs=wgs-improvementreturnwgs
The rough method is reported to give some 1~2 meter accuracy for wgs2gcj, [29] while the exact (fixed point iteration) method is able to get "centimeter accuracy" in two calls to the forward function. [note 1] [40] [39] The BD-to-GCJ code works in a manner much like the rough method, except that it removes the explicitly-applied constant shift of ~20 seconds of arc on both coordinates first and works in polar coordinates like the forward function does. [20]
The establishment of working conversion methods both ways largely renders obsolete datasets for deviations mentioned below. [41]
The China GPS shift (or offset) problem is a class of issues stemming from the difference between the GCJ-02 and WGS-84 datums. Global Positioning System coordinates are expressed using the WGS-84 standard and when plotted on street maps of China that follow the GCJ-02 coordinates, they appear off by a large and variable amount (often over 500 metres [1,600 ft]). Authorized providers of location-based services and digital maps (such as AutoNavi, NavInfo, or Apple Maps [42] ) must purchase a "shift correction" algorithm that enables plotting GPS locations correctly on the map. [41] Satellite imagery and user-contributed street map data sets, such as those from OpenStreetMap also display correctly because they have been collected using GPS devices (albeit technically illegally).
Some map providers, such as Here, choose to also offset their satellite imagery layer to match the GCJ-02 street map. [43]
Google has worked with Chinese location-based service provider AutoNavi since 2006 to source its maps in China. [44] Google uses GCJ-02 data for the street map, but does not shift the satellite imagery layer, which continues to use WGS-84 coordinates, [45] with the benefit that WGS-84 positions can still be overlaid correctly on the satellite image (but not the street map). Google Earth also uses WGS-84 to display the satellite imagery. [46]
Overlaying GPS tracks on Google Maps and any street maps sourced from Google.com via its API, will lead to a similar display offset problem, because GPS tracks use WGS-84, and Google Maps uses GCJ-02. The issue has been reported numerous times on the Google Product Forums since 2009, [47] with 3rd party applications emerging to fix it. [48] Data sets with offsets for large lists of Chinese cities existed for sale. [49] The problem was observed as early as 2008, and the causes were unclear, with (misguided) speculation that imported GPS chips were tampered with code that caused incorrect reporting of coordinates. [50]
Under One Country Two Systems, legislation in mainland China does not apply in Hong Kong and Macau SARs and there are no similar restrictions in the SARs.[ citation needed ] Therefore, the GPS shift problem does not apply. However, at the border between the SARs and mainland China, the data shown by online maps, such as Google Maps, [51] are broken where the shifted data and correct data overlap. This poses problems to users travelling across the border,[ clarification needed ] especially visitors unaware of the issue.[ citation needed ]
wgs -= worsen(wgs) - bad
done twice, with wgs
initialized as bad
so that the first iteration is equivalent to a rough pass.The World Geodetic System (WGS) is a standard used in cartography, geodesy, and satellite navigation including GPS. The current version, WGS 84, defines an Earth-centered, Earth-fixed coordinate system and a geodetic datum, and also describes the associated Earth Gravitational Model (EGM) and World Magnetic Model (WMM). The standard is published and maintained by the United States National Geospatial-Intelligence Agency.
The National Geospatial-Intelligence Agency (NGA) is a combat support agency within the United States Department of Defense whose primary mission is collecting, analyzing, and distributing geospatial intelligence (GEOINT) in support of national security. Initially known as the National Imagery and Mapping Agency (NIMA) from 1996 to 2003, it is a member of the United States Intelligence Community.
The Ordnance Survey National Grid reference system (OSGB), also known as British National Grid (BNG), is a system of geographic grid references, distinct from latitude and longitude, whereby any location in Great Britain can be described in terms of its distance from the origin, which lies to the west of the Isles of Scilly.
A geodetic datum or geodetic system is a global datum reference or reference frame for precisely representing the position of locations on Earth or other planetary bodies by means of geodetic coordinates. Datums are crucial to any technology or technique based on spatial location, including geodesy, navigation, surveying, geographic information systems, remote sensing, and cartography. A horizontal datum is used to measure a location across the Earth's surface, in latitude and longitude or another coordinate system; a vertical datum is used to measure the elevation or depth relative to a standard origin, such as mean sea level (MSL). Since the rise of the global positioning system (GPS), the ellipsoid and datum WGS 84 it uses has supplanted most others in many applications. The WGS 84 is intended for global use, unlike most earlier datums.
The European Terrestrial Reference System 1989 (ETRS89) is an ECEF geodetic Cartesian reference frame, in which the Eurasian Plate as a whole is static. The coordinates and maps in Europe based on ETRS89 are not subject to change due to the continental drift.
Google Maps is a web mapping platform and consumer application offered by Google. It offers satellite imagery, aerial photography, street maps, 360° interactive panoramic views of streets, real-time traffic conditions, and route planning for traveling by foot, car, bike, air and public transportation. As of 2020, Google Maps was being used by over one billion people every month around the world.
Google Earth is a computer program that renders a 3D representation of Earth based primarily on satellite imagery. The program maps the Earth by superimposing satellite images, aerial photography, and GIS data onto a 3D globe, allowing users to see cities and landscapes from various angles. Users can explore the globe by entering addresses and coordinates, or by using a keyboard or mouse. The program can also be downloaded on a smartphone or tablet, using a touch screen or stylus to navigate. Users may use the program to add their own data using Keyhole Markup Language and upload them through various sources, such as forums or blogs. Google Earth is able to show various kinds of images overlaid on the surface of the Earth and is also a Web Map Service client. In 2019, Google revealed that Google Earth now covers more than 97 percent of the world, and has captured 10 million miles of Street View imagery.
OpenStreetMap (OSM) is a free, open geographic database updated and maintained by a community of volunteers via open collaboration. Contributors collect data from surveys, trace from aerial imagery and also import from other freely licensed geodata sources. OpenStreetMap is freely licensed under the Open Database License and as a result commonly used to make electronic maps, inform turn-by-turn navigation, assist in humanitarian aid and data visualisation. OpenStreetMap uses its own topology to store geographical features which can then be exported into other GIS file formats. The OpenStreetMap website itself is an online map, geodata search engine and editor.
The North American Datum (NAD) is the horizontal datum now used to define the geodetic network in North America. A datum is a formal description of the shape of the Earth along with an "anchor" point for the coordinate system. In surveying, cartography, and land-use planning, two North American Datums are in use for making lateral or "horizontal" measurements: the North American Datum of 1927 (NAD 27) and the North American Datum of 1983 (NAD 83). Both are geodetic reference systems based on slightly different assumptions and measurements.
The Earth-centered, Earth-fixed coordinate system, also known as the geocentric coordinate system, is a cartesian spatial reference system that represents locations in the vicinity of the Earth as X, Y, and Z measurements from its center of mass. Its most common use is in tracking the orbits of satellites and in satellite navigation systems for measuring locations on the surface of the Earth, but it is also used in applications such as tracking crustal motion.
An Earth ellipsoid or Earth spheroid is a mathematical figure approximating the Earth's form, used as a reference frame for computations in geodesy, astronomy, and the geosciences. Various different ellipsoids have been used as approximations.
Computer cartography is the art, science, and technology of making and using maps with a computer. This technology represents a paradigm shift in how maps are produced, but is still fundamentally a subset of traditional cartography. The primary function of this technology is to produce maps, including creation of accurate representations of a particular area such as, detailing major road arteries and other points of interest for navigation, and in the creation of thematic maps. Computer cartography is one of the main functions of geographic information systems (GIS), however, GIS is not necessary to facilitate computer cartography and has functions beyond just making maps. The first peer-reviewed publications on using computers to help in the cartographic process predate the introduction of full GIS by several years.
The geo URI scheme is a Uniform Resource Identifier (URI) scheme defined by the Internet Engineering Task Force's RFC 5870 as:
a Uniform Resource Identifier (URI) for geographic locations using the 'geo' scheme name. A 'geo' URI identifies a physical location in a two- or three-dimensional coordinate reference system in a compact, simple, human-readable, and protocol-independent way.
Geographic information systems (GIS) play a constantly evolving role in geospatial intelligence (GEOINT) and United States national security. These technologies allow a user to efficiently manage, analyze, and produce geospatial data, to combine GEOINT with other forms of intelligence collection, and to perform highly developed analysis and visual production of geospatial data. Therefore, GIS produces up-to-date and more reliable GEOINT to reduce uncertainty for a decisionmaker. Since GIS programs are Web-enabled, a user can constantly work with a decision maker to solve their GEOINT and national security related problems from anywhere in the world. There are many types of GIS software used in GEOINT and national security, such as Google Earth, ERDAS IMAGINE, GeoNetwork opensource, and Esri ArcGIS.
The IERS Reference Meridian (IRM), also called the International Reference Meridian, is the prime meridian maintained by the International Earth Rotation and Reference Systems Service (IERS). It passes about 5.3 arcseconds east of George Biddell Airy's 1851 transit circle which is 102 metres (335 ft) at the latitude of the Royal Observatory, Greenwich. Thus it differs slightly from the historical Greenwich Meridian.
OsmAnd is a map and navigation app for Android and iOS. It uses the OpenStreetMap (OSM) map database for its primary displays, but is an independent app not endorsed by the OpenStreetMap Foundation. It is available in both free and paid versions; the latter unlocks the download limit for offline maps and provides access to Wikipedia points of interest (POIs) and their descriptions from within the app. Map data can be stored on the device for offline use. Using the device's GPS capabilities, OsmAnd offers routing, with visual and voice guidance, for car, bike, and pedestrian. All of the main functionalities work both online and offline.
Tianditu is China’s official free web mapping service. It was launched by China’s State Bureau of Surveying and Mapping (SBSM) on 22 October 2010.
Web Mercator, Google Web Mercator, Spherical Mercator, WGS 84 Web Mercator or WGS 84/Pseudo-Mercator is a variant of the Mercator map projection and is the de facto standard for Web mapping applications. It rose to prominence when Google Maps adopted it in 2005. It is used by virtually all major online map providers, including Google Maps, CARTO, Mapbox, Bing Maps, OpenStreetMap, Mapquest, Esri, and many others. Its official EPSG identifier is EPSG:3857, although others have been used historically.
Baidu Maps is a desktop and mobile web mapping service application and technology provided by Baidu, offering satellite imagery, street maps, street view and indoor view perspectives, as well as functions such as a route planner for traveling by foot, car, or with public transport. Android and iOS applications are available.
The Adam Pence House in Lincoln County, Kentucky near Stanford, Kentucky, was built in 1851. It was listed on the National Register of Historic Places in 1978. Although apparently still NRHP-listed, it has apparently been demolished.
Articles 7, 26, 40 and 42
李成名怀着"要为国家做点什么,要为百姓做点什么"的信念,带领团队研制出地形图非线性保密处理算法,开发出"新地图"系列软件,有效解决了测绘成果保密与民用的两难问题。 [...] 然而,李成名及其团队作出决定:将"新地图"软件以只收取成本费用甚至免费的方式提供给各个城市。[LCM believed that he had to "do something for the state and the people". He led his team in the R&D of a topographic map non-linear confidentiality algorithm and a "new map" software suite, thereby effectively solving the conflict of confidentiality and civilian use of survey results. However, Li Chengwan and his team decided to provide the "new map" software to cities at cost or even for free.]
根据相关法律规定,不支持将任何一种坐标系坐标转换为WGS84类型。