Drive the taxi with the dispatch button below.
的士

Harbour Shift

Tsim Sha Tsui → Central 226° SW · All Hong Kong ↗
Pick up1 / 3 rides

Piers 6 & 7

Follow the gold line to your passenger.

© HKSAR Government · Lands Department
Opening the waterfront…

Model workshop 剖面

Slice table

Hong Kong map ↗
30°
Browse the territory

Field notes 製作手記

How it works

The whole territory

Explore the Hong Kong map from the New Territories to the outlying islands. North is up. The camera looks across Hong Kong Island towards Kowloon at an elevation of 37.6°, so you can see the roofs and south-facing walls. Zoom in or choose a town. Tap a roof or wall to see that exact Lands Department building part in the slice table. The city map is baked from the survey triangles of all 217,133 building parts, the measured terrain and the photographic palettes from Ultra Water. It streams image tiles at the current zoom.

One tower, four cuts

These are horizontal sections through the same Lands Department model of Two IFC. The top of the tower occupies fewer pixels than its base.

Windows that stay with the building

The Lands Department’s photographs supply the observed window layouts. Four views retain different sides of the same building. Look for a balcony on the street, a stairwell around the corner or reflected sky across an office tower. On other buildings, height, footprint and sampled materials guide illustrated openings. Where two envelopes meet along most of a wall, windows resume above the neighbouring roof. The slice table identifies the source for the selected part. Compare the same two street views before and after.

Where the kerb goes

The Highways Department publishes separate polygons for carriageways, footways and traffic islands. Each junction shares one asphalt surface. In the three street scenes, Transport Department drawings place the stop lines and lane markings on the asphalt. The road network supplies the paths the taxis follow. Flyovers have a surveyed level. The scene uses an estimated 5.3 metres per level for their clearance.

A camera you can turn

Open Orbit 3D to circle the place under the centre of the map. Drag to turn and tilt. Two fingers pan and pinch on a phone. On desktop, Shift-drag pans and the wheel zooms. The compass restores the north-up view. Tap a tower to open its own slice table at the current bearing. Try the view above Central ↗

The illustrated map uses flat tiles so a phone can open the whole territory quickly. Rotating the camera reveals façades that those tiles never captured. Orbit loads the original survey meshes in sheets around the camera. The GPU resolves which surface is in front and keeps its building ID for picking. At territory scale, the relief and 14,509 representative buildings show the shape of the city. Zooming in brings the full local survey geometry into view.

Trees across Hong Kong

The map places 520,327 trees at recorded coordinates. Along a road, the trunk can stand on the pavement right up to the surveyed kerb. Tree registers provide species, height and crown spread where available. Another 1,213,369 illustrated crowns follow mapped woodland. In Kowloon Park, a 250 m circle around the viewpoint now contains 1,190 registered trees. See the change in Kowloon Park and Tai Lam ↗ · Roadside tree register ↗ · Slope tree register ↗ · Country park recreation sites ↗ · Public housing estate trees ↗

At street level

Watch a ferry alongside Central’s piers, follow the awnings along Tung Choi Street, or look for a blue taxi in Tai O. These three areas use an extra pass at four times the map’s resolution. The surveyed quays, kerbs, lamps and taxi ranks anchor the illustrated details. The walking people, stalls, routes within the ferry berth and traffic are illustrated. A depth test lets a passenger disappear behind a façade and reappear on the other side. Compare the same pier at the same scale ↗

From survey to sprite

  1. Cut the mesh. For each model part, a local program intersects its triangles with horizontal planes. It fills closed contours, keeps the edges of open ones and samples roof surfaces. The slice table uses detailed meshes throughout Hong Kong, with a 1 m target and a maximum of 96 × 96 cells and 144 layers. The game uses that detail in Central and a lighter 2 m target for the surroundings. Larger parts use coarser cells.
  2. Pack a survey sheet. Each occupied cell takes one bit. The file also carries the part’s ID, position, size and material colours. A changed input rebuilds its sheet. Checksums let later runs reuse the others.
  3. Draw the layers. The browser fetches sheets around the camera, rotates their plan views and draws them from bottom to top. The game keeps the resulting sprites in memory. The slice table lets you change the angle, height and gap.

Where the colours come from

Ultra Water samples the Lands Department’s individual photographic models. Its original UVs locate wall and roof samples, weighted by surface area. Eight colour clusters produce a body, glass, accent and roof colour, plus up to three height bands. We carry these values and the building seed into each pixel model. The map uses these source colours for its pixel palette and to tint photographic walls. Roofs catch warm light, windows reflect cooler sky and a one-pixel shadow separates overlapping towers. Open the slice table to see the original four hex values. Compare the windows and streets in Central and Mong Kok before and after.

Where the work goes

The ferry, taxi and bus have their own illustrated plans. Every building uses the same converter. The harder parts are preserving courtyards and overhangs at low resolution, recovering small parts lost in simplification, and keeping a cab visible behind a tower on a phone. To make a photographic wall, the converter aligns the model to its surveyed footprint, projects the textured triangles from four sides and records the visible depth at each pixel. That depth keeps a street-facing balcony from reappearing inside a courtyard. The resolution of the original photographs limits how much detail survives. On the studio Mac, the territory-wide photo conversion took 2 h 9 min, with 2,239 previously photographed parts already cached. You can pan the map while the browser loads the sheets around you.

Playing Central

Tap a street to send the cab there, or use the dispatch button to follow the gold route. Board and drop off passengers at the kerb. Three deliveries finish the shift. Drag to pan, use + and − to zoom, and tap the crosshair to return to the cab.

The taxi camera faces from the Tsim Sha Tsui pier towards Central Pier 7, bearing 226° southwest. In this orientation Wan Chai is to the left and Sheung Wan to the right. Use Survey map to switch to the original fifteen stitched government GeoTIFFs under the same camera and see where the taxi is on the survey. Pixel city returns to the game view.

Seven stands and the street centre lines come from the Transport Department. The map also uses 15 Lands Department iB1000 sheets for surveyed road margins, pier and park boundaries, paths, steps, lamps and hydrants. Stands attach to the nearest connected street within 16 m. Roads are two-way in play. Traffic, passengers and timing are simulated. The scene also uses 129 official infrastructure parts. Underground sections are clipped against the terrain so tunnel roofs appear at their portals. The playable ground is flattened for the survey comparison. Building heights and footprints share a metre scale, and elevated structures use their base height above the local terrain grid. Vehicles and people are enlarged for legibility.

Как это устроено по-русски

Для дорог берём контуры проезжей части, тротуаров и островков из съёмки Highways Department. На перекрёстке асфальт непрерывен. Путепроводы поднимаем по указанному уровню, условно на 5,3 м за уровень. У каждого дома своя сетка окон. Число пролётов и этажей подбирается к размерам фасада. Это художественная реконструкция. Кнопка Orbit 3D позволяет вращать весь Гонконг на 360° вокруг выбранного места. Потяните карту вбок, чтобы повернуть камеру, и вверх или вниз, чтобы изменить наклон. Двумя пальцами можно перемещаться и менять масштаб. Кнопка компаса возвращает север наверх. Для вращения телефон подгружает геометрию видимых кварталов. У трёх мест есть дополнительная детализация. Это причалы в Central, рынок на Tung Choi Street и остановка в Tai O. Причалы, фонари и стоянки взяты из съёмки. Люди, торговые навесы и движение транспорта нарисованы для игры.

На карте всего Гонконга север сверху. Остров Гонконг находится под Коулуном, Лантау слева. Камера смотрит на север под углом 37,6° к горизонту, поэтому видны крыши и южные фасады. Нажмите на район или выберите его в Fly to. На крупном масштабе коснитесь дома, затем See building layers. Откроются срезы именно этого дома.

В игре про такси мы смотрим с паромного причала Цим-Ша-Цуй через бухту на причал № 7 в Central. Направление по координатам — 226° на юго-запад. Колесо обозрения и Ваньчай слева от Two IFC, Сёнвань справа. При переключении на Survey map камера остаётся на месте, и можно сравнить причалы и улицы с официальной картой.

Дом уже описан треугольниками. Программа режет их горизонтальными плоскостями и записывает форму каждого среза в сетку. Из одной стопки браузер собирает дом под любым углом. На телефоне подгружаются только нужные листы. Перерисовывать каждое здание вручную не требуется.

Самое сложное — сохранить тонкие крыши, дворы и навесы на крупной сетке. Реальные размеры и силуэты берём из модели. Цвета стен, стекла, крыш и акцентных полос взяты из палитры именно этого здания в Ultra Water. Геометрию Central берём из детального уровня 3D-модели. Для карты и игры из четырёх исходных цветов дома получаем девять оттенков. Крыши теплее, стёкла холоднее, а тёмная кромка толщиной в пиксель разделяет соседние башни. На столе слоёв можно выбрать любой непустой лист по всему Гонконгу. У домов в Ша-Тине и Тай-О та же целевая детализация, что в Central. Весь набор срезов занимает 79,1 МБ. При выборе здания телефон загружает один лист.

Sources & further views

Map data and survey photographs © the Government of the Hong Kong Special Administrative Region and the contributing departments, via the CSDI Portal and DATA.GOV.HK. Ultra Water supplied the Lands Department meshes, vegetation and paving masks, and its colours extracted from the individual photographic models. The waterfront detail comes directly from the government’s iB1000 GML survey sheets. The pixel artwork adapts those sources. CSDI terms of use ↗ · DATA.GOV.HK terms ↗