---
title: "Frontend Engineering at Palantir: Polar Scaled Tiles in Zodiac"
description: "Equal-angle lat/long map tiles collapse into tiny slivers near the poles on a 3D globe, so Zodiac, Palantir's Three.js globe library, was generating far too much geometry in polar regions."
url: "https://swe.quest/articles/frontend-engineering-at-palantir-polar-scaled-tiles-in-zodiac-eafc54559cb5567a"
canonical: "https://blog.palantir.com/frontend-engineering-at-palantir-polar-scaled-tiles-in-zodiac-6cebb5948a1a"
source: "Palantir"
published: "2026-04-15"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["geospatial","frontend","performance","typescript","algorithms"]
---

# Frontend Engineering at Palantir: Polar Scaled Tiles in Zodiac

A post on [Palantir](https://swe.quest/sources/palantir.md), published 2026-04-15, 9 min read, Case study. Original: [https://blog.palantir.com/frontend-engineering-at-palantir-polar-scaled-tiles-in-zodiac-6cebb5948a1a](https://blog.palantir.com/frontend-engineering-at-palantir-polar-scaled-tiles-in-zodiac-6cebb5948a1a)

## Summary

Equal-angle lat/long map tiles collapse into tiny slivers near the poles on a 3D globe, so Zodiac, Palantir's Three.js globe library, was generating far too much geometry in polar regions. Polar scaled tiles fix this by using the spherical surface-area formula to merge adjacent tiles in power-of-2 spans until each is roughly as large as an equatorial tile. That breaks the 4-child quadtree assumption and forces client-side texture stitching from standard geodetic and Mercator tiles (Mercator is mapped in strips), heightmap resampling via bilinear interpolation, and blending toward fixed pole elevations. The result is over 90% fewer triangles, draw calls and textures at the poles and more consistent frame times, though texture fetching, up to 16 source tiles per polar tile, is now the bottleneck.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Maps & geospatial](https://swe.quest/tags/geospatial.md) (Domains)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Algorithms](https://swe.quest/tags/algorithms.md) (Architecture & design)

## Prerequisites

- map tiling and zoom levels
- Three.js basics
- map projections

## Keywords

Zodiac, Three.js, Web Mercator, quadtree, heightmaps, bilinear interpolation

## Related posts

- [How We Built the BFCM 2023 Globe](https://swe.quest/articles/how-we-built-the-bfcm-2023-globe-509c84faf6998eb6.md): Shopify Engineering · 2024-10-30 · Medium · 17 min read · Frontend, Performance engineering, React
  Shopify's BFCM 2023 live-orders globe was built with Three.js and React-three-fiber, and most of its effects are drawn in single instanced draw calls.
- [Generate Vector Tiles with PostGIS](https://swe.quest/articles/generate-vector-tiles-with-postgis-b14acc8d0f59fc3b.md): Supabase · 2024-06-26 · Medium · 6 min read · Maps & geospatial, PostgreSQL, Frontend
  PostGIS can generate Mapbox Vector Tiles on demand from Postgres rows, so a MapLibre GL client can render large point datasets while transferring only the data for the current viewport and zoom level.
- [Are you using the right Mongo geospatial query?](https://swe.quest/articles/are-you-using-the-right-mongo-geospatial-query-fbd8f2184a17e5cf.md): Artsy Engineering · 2023-02-10 · Medium · 8 min read · Maps & geospatial, Databases, Debugging
  MongoDB's \`$geoWithin\` with \`$center\` computes radius queries in planar longitude/latitude space, so at Los Angeles's latitude a nominal 25km circle becomes an egg that drops points to the east and west.
- [Introducing spatial CSS: A developer preview](https://swe.quest/articles/introducing-spatial-css-a-developer-preview-055662575217fccc.md): WebKit · 2026-11-16 · Medium · 7 min read · CSS, Browsers, Frontend
  Safari on visionOS 27.3 ships a developer preview of the proposed spatial CSS API, which routes 3D scene composition through declarative CSS built around the \`\<model\>\` element. \`spatial: portal\` turns a container into a shared 3D space where child models are moved with true 3D \`transform\`, snapped together via \`position-anchor\` and \`position-context: anchor\` against named empties exported from tools like Blender, and lit with reusable \`@environment-map\` rules using equirectangular HDR images. \`portal-action: orbit\` lets users rotate the scene, and \`requestVolumetricScene()\` pops the portal out into a live-linked volumetric scene in the user's space.
- [Visualizing Foursquare places with ClickHouse](https://swe.quest/articles/visualizing-foursquare-places-with-clickhouse-7a2e9fe18ad158f7.md): ClickHouse · 2025-05-08 · Medium · 5 min read · Maps & geospatial, Analytics & OLAP, SQL
  The Foursquare open places dataset (about 100 million records) loads straight from S3 Parquet into ClickHouse in 42 seconds and 11 GB.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
