Home / GPS and Navigation Guides

Offline Maps for China: The GCJ-02 Shift and the Apps That Align

City skyline and river in China at night

Photo: Neil Ni / Pexels

Everywhere else in this series, the offline problem is absence: no signal, no download, no map. China presents the opposite and stranger problem. Your phone knows exactly where it is. The satellites are fine, the fix is fast, and the blue dot lands in the wrong place anyway, down the street, across the river, inside a building you are not in, because the map under the dot is drawn in a different coordinate system from the one your GPS reports. Until you understand that single fact, every map behavior in mainland China looks like a bug. Once you understand it, the whole ecosystem, which apps work, which align, which disagree with themselves, falls into a pattern you can plan around.

Interactive tool

The Datum First: The China Offline Checklist

Check off each step as you finish it. Your progress stays on this page.

0 of 7 complete

0% done

The Datum: GCJ-02, Mars Coordinates

The system has a name and a nickname. Public mapping in mainland China uses a coordinate datum called GCJ-02, nicknamed Mars coordinates. GPS hardware reports positions in the global datum, WGS-84. GCJ-02 is derived from WGS-84 by an obfuscation algorithm, so the same physical place has two different coordinate pairs, and the difference between them, the shift, is not a tidy constant: it varies by location, irregularly, across the country. Travel and mapping sources describe the offset as hundreds of meters; they conflict on the range, with figures around 100 to 600 meters in some accounts and 100 to 700 in others. This guide prints no single figure, because the sources do not agree on one and because the number that matters is not the range but the behavior: a WGS-84 position plotted naively on a GCJ-02 map sits visibly, uselessly wrong, by an amount that changes from city to city and street to street.

The consequences sort the app world into three camps:

  • Apps on licensed Chinese map data draw their streets in GCJ-02 and shift your GPS position to match before plotting it. Dot and streets agree. These apps work the way maps are supposed to work.
  • Apps on global data draw WGS-84 streets and plot your true WGS-84 position. Dot and streets also agree with each other, inside the app. What disagrees is the app against the Chinese street addresses and licensed data around it.
  • Apps that mix the two plot a true position on shifted streets, or shifted data under a true position, and produce the famous wrong dot. Google Maps in China is the canonical case, below.

The Third System: Baidu's BD-09

One major player adds a further twist. Baidu Maps, a domestic giant, applies its own additional conversion on top of GCJ-02, called BD-09. Coordinates taken from Baidu therefore disagree with both WGS-84 and GCJ-02 sources, a trap for anyone moving pins between systems: a location copied out of Baidu and pasted into a global tool lands wrong twice over. For the traveler the rule is simple: coordinates are only meaningful inside the system that produced them, and in China there are three systems in daily use. Our coordinate formats guide teaches the general grammar of coordinates; China is where the grammar gains dialects that do not translate word for word.

The Apps That Align: Amap and Apple Maps

Amap (Gaode), owned by Alibaba's AutoNavi, is the domestic champion and the traveler's primary tool: full Chinese map data, transit, driving, and local listings, drawn in GCJ-02 with your position shifted to match, so the dot behaves. Its interface is in Chinese, which the prepared traveler treats as a translation exercise rather than a barrier: the icons are standard, the search accepts pasted Chinese addresses (keep your hotel's address in Chinese characters, from the booking, as a screenshot and a note), and an English-facing edition, AMap Global, exists for international users. Download your city areas inside Amap before you need them; its offline downloads work on the same area principle as everywhere, complicated only by doing it in a second language, which is an argument for doing it at the hotel desk rather than the airport curb.

Apple Maps holds a special position: in mainland China it runs on licensed AutoNavi data, the same foundation as Amap, so its pins align with its streets and with physical addresses in a way no other foreign app matches. For iPhone travelers it is the zero-setup aligned map, and its mainland behavior is documented precisely because it surprises people: the app they distrust at home is, in China, the foreign app that works.

The Honest Outsider: OSM Apps in WGS-84

OpenStreetMap-based apps, Organic Maps, OsmAnd, MAPS.ME, keep the global faith: WGS-84 data, true positions, internally consistent. Download China before the border (the border matters; see below) and the app will navigate you along its own map honestly. Two limits define the experience. First, OSM's China data is thinner than the domestic champions', especially for businesses, entrances, and new development; the roads are there, the local grain often is not. Second, the app's world and the address world disagree: a coordinate from a Chinese source, a hotel, a driver, a Baidu link, belongs to a shifted system and will not land on the OSM map where its owner expects. The working pattern for OSM travelers is to navigate by the map's own search and pins, never by imported Chinese coordinates. Our China map app comparison ranks the contenders head to head; this guide's stack uses the OSM app as the offline backbone and Amap as the local authority, each for what it is.

Street scene with signs in a Chinese city
Street scene with signs in a Chinese city

Google Maps in China: Blocked, and Split Against Itself

Google Maps fails in China twice, independently. On mainland networks, Google services are blocked, so the app cannot fetch data in the ordinary way; travelers arriving with it as their only map arrive with a handsome frame and no picture. And where its data does appear, cached or through gaps, it exhibits the datum split in its purest form: its street layer is GCJ-02, as Chinese licensing requires, while its satellite imagery is aligned to WGS-84, so the streets visibly slide off their own rooftops, roads running through buildings, rivers beside their bridges. It is the best classroom demonstration of the shift ever shipped, and a useless navigation tool. Download nothing in it for China; the stack above replaces it entire.

Downloads and Borders: The Preparation Discipline

China's stack must be built before arrival, for a practical reason: the app stores and services you need are easiest reached from outside, and the OSM China file is a download to make on home Wi-Fi, not on a hotel connection behind the firewall. The checklist shape: Amap installed and your first cities downloaded in it; the OSM app carrying the China country file, verified in airplane mode; your hotel addresses saved in Chinese characters, as text and screenshot, in both systems where possible; and any itinerary coordinates converted with open eyes about which datum each one is in. Hong Kong and Macau are the exceptions that prove the rule: both sit outside the mainland system, Google works, the shift does not apply, and a trip that crosses between them and the mainland crosses the datum boundary at the same booth as the passport boundary. Travelers continuing to South Korea will meet a different legal geometry producing a similar planning lesson: in this region, the map is a national artifact, and the stack must be built country by country.

Transit and the Metro Layer

China's cities run some of the largest metro systems on earth, and the map stack's transit layer deserves explicit treatment because it is where the aligned apps pull furthest ahead. Amap's transit routing is native to the data the metros publish: station exits, transfer walking times inside the great interchange stations, first and last trains, and the integration of metro, bus, and walking legs into single journeys that reflect how the cities actually move. Apple Maps covers transit in mainland cities on the same licensed foundation. The OSM backbone, by contrast, knows the lines and stations as geography but cannot price a journey in time or tell you which exit surfaces beside your hotel, because that knowledge is service data, not map data, and service data is what the licensed ecosystem exists to hold. The traveler's rule follows: navigate the metro with the aligned app on the surface and in the station, and keep the OSM layer for the street-level orientation where its honesty about position is the virtue that matters. Travelers continuing north will find the same division, domestic service data versus portable map data, governing South Korea's stack, where the metros of Seoul make the identical argument in a different legal accent.

Addresses, Pinyin, and the Screenshot Discipline

One preparation habit outranks every app choice, and it costs nothing: keep every important Chinese address as a screenshot and as pasted text, in characters, from the source that issued it. The booking confirmation's characters, the restaurant's listing as a Chinese-speaking friend sent it, the driver's pickup point in the app where it was agreed. Romanized Pinyin names search unevenly across systems, English names worse, and a pasted character string searches perfectly in Amap and adequately almost everywhere, because it is the address in the form the country's data actually holds. The screenshot is the offline half of the same discipline: when the connection, the battery, or the app fails in combination, the image of the address, shown to a driver or a passerby, is the map of last resort that has worked since before maps were digital. China's stack has more moving parts than any other in this series; its most reliable component is a picture of some characters, and building the stack means remembering to make the picture.

Troubleshooting

My dot is in the wrong place in one app but right in another. That is the datum, working as designed. The app that is right is the one whose map data and position handling share a system. Do not try to fix the wrong one; switch to the aligned app for that task.

A Chinese contact sent me a location that lands in a field. The pin came from a GCJ-02 or BD-09 system and your app plotted it as WGS-84. Open it in the sender's ecosystem (Amap or Baidu) rather than converting it yourself.

Search finds nothing in the OSM app. The data is thinner, especially in English. Search in Chinese characters if you have them, search by district and browse the map, or fall back to Amap for discovery and the OSM app for the offline route.

Everything worked in Hong Kong and broke in Shenzhen. You crossed the datum boundary. The stack for the mainland is a different stack; build it before the crossing, not after.

Related Guides

If this page answered part of the question, these navigation guides cover the rest of the same ground:

Frequently Asked Questions

Why is my GPS position wrong in China?

Because of the datum split. Your GPS reports WGS-84 coordinates; public maps in mainland China are drawn in GCJ-02, an obfuscated datum whose shift from WGS-84 varies by place, by hundreds of meters. Apps on licensed data shift your position to match their streets. Apps that mix the systems plot you wrong.

Which map app works best in China?

Amap (Gaode) is the domestic standard, on licensed AutoNavi data, with an English-facing AMap Global edition. Apple Maps also aligns in mainland China because it runs on licensed AutoNavi data there. OSM-based apps work honestly in WGS-84 but with thinner local data.

Does Google Maps work in China?

Not usefully. Google services are blocked on mainland networks, and where Google Maps data appears, its street layer is GCJ-02 while its satellite layer is WGS-84, so streets visibly slide off the imagery. Build the trip on other apps.

What is BD-09?

Baidu Maps' own coordinate system, an additional conversion applied on top of GCJ-02. Coordinates from Baidu disagree with both WGS-84 and GCJ-02 sources, so open Baidu pins inside Baidu or Amap rather than pasting them into global tools.

Is Hong Kong affected by the shift?

No. Hong Kong and Macau sit outside the mainland mapping system: Google services work and the GCJ-02 shift does not apply. The boundary is real, and a cross-border day means two map regimes, so prepare the mainland stack before crossing.

Photo credits: Neil Ni (Pexels); Margo Evardson (Pexels). Photos are served from this site; follow the credit to the library page for the original.