Terrain-RGB ⛰

Mapbox Terrain-RGB (elevation tiles)

Price before paymentbeta
.zip · application/zip

Terrain-RGB เป็นรูปแบบไทล์ของ Mapbox/MapLibre ที่ใช้ช่องสัญญาณ RGB เข้ารหัสระดับความสูงจริงจาก SRTM/ALOS OpenStreetMap ไม่มีข้อมูลระดับความสูง ดังนั้นหากไม่มีแหล่ง DEM ภายนอกก็ไม่สามารถสร้างผลลัพธ์ที่ถูกต้องได้ API จะส่งคืน HTTP 501 — ใช้ตัวส่งออก HGT สำหรับ SRTM จริง

Beta: Beta -- experimental. The result may be incomplete; please tell us if something looks wrong.

OpenStreetMap data as of 5 October 2026 · 24 days ago

ส่งออก Terrain-RGB เลย ✨ Open Beta — ฟรี ไม่มีข้อจำกัด

คุณสมบัติสำคัญ

✓HTTP 501 (ยังไม่ได้นำมาใช้)
✓Mapbox Terrain-RGB encoding, 0.1 m step
✓ZIP of z/x/y PNG tiles plus metadata.json
✓Up to 256 tiles per order, zoom fitted to the area
Example Terrain-RGB export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

เกี่ยวกับรูปแบบ Terrain-RGB

Terrain-RGB is a way to pack elevation into an ordinary PNG: Mapbox encodes meters into the R, G and B channels with the formula height = -10000 + ((R × 256² + G × 256 + B) × 0.1). MapLibre and Mapbox GL read such tiles and build relief and three-dimensional terrain from them right in the browser.

On osm2cdr the heights do not come from OpenStreetMap — OSM has none — but from the global Copernicus DEM elevation model at 30 m (SRTM where it is missing). The service clips the model to your area, reprojects it to Web Mercator and encodes every pixel's height separately in 0.1 m steps. If the whole area has no heights, such as open sea, the order is refused honestly instead of shipping flat tiles.

You get a ZIP: PNG tiles in z/x/y folders plus a metadata.json with the zoom, area, formula and the source model name. One order holds up to 256 tiles and the zoom is fitted to the area. Pixels outside the model's coverage encode 0 m. Accuracy is that of the source model: visualisation and pre-design, not surveying.

โปรแกรมใดที่เปิดไฟล์ Terrain-RGB ได้

โปรแกรมและแอปพลิเคชันต่อไปนี้สามารถเปิด แก้ไข และทำงานกับไฟล์ Mapbox Terrain-RGB (elevation tiles) (.zip) ที่ส่งออกจาก OSM2CDR ได้:

💻MapLibre GL 💻Mapbox GL 💻deck.gl 🌎QGIS

Format specifications

ใครใช้แผนที่ Terrain-RGB

🏗
ภูมิประเทศใน MapLibre/Mapbox
3D relief and hillshading in a MapLibre or Mapbox GL web map style from your own tiles.
💻
A self-hosted offline elevation tile set for a web map
Your own elevation tile server with no third-party API or its limits.
📊
Elevation profiles and terrain in a WebGL app without a third-party API
Elevation profiles and terrain in a WebGL app: the height is read straight from the pixel with the formula.

วิธีส่งออก Terrain-RGB

1
เลือกพื้นที่
วาดรูปสี่เหลี่ยมหรือรูปหลายเหลี่ยมบนแผนที่แบบโต้ตอบได้ที่ osm2cdr.ru
2
เลือก Terrain-RGB
เลือก Mapbox Terrain-RGB (elevation tiles) จากรายการรูปแบบการส่งออก 127 รูปแบบที่มีให้
3
ส่งออก
คลิกส่งออกและรับไฟล์ .zip ของคุณใน 1-5 นาที
4
ดาวน์โหลด
ดาวน์โหลดไฟล์ Terrain-RGB ที่พร้อมแล้วและเปิดใน MapLibre GL

วิธีเปิดไฟล์หลังส่งออก

แผนที่ยอดนิยมใน Terrain-RGB

ฟรี

รับการส่งออกแผนที่ Mapbox Terrain-RGB (elevation tiles)

ดาวน์โหลดแผนที่ Terrain-RGB ระดับมืออาชีพจาก OpenStreetMap สร้างได้ทันที ครอบคลุมทุกพื้นที่

ฟรี / การส่งออก
ส่งออก Terrain-RGB เลย →

คำถามที่พบบ่อย

ทำไมจึงใช้งานไม่ได้? ▼
How do I read a height from a pixel? ▼
What about areas without data? ▼
Where do the heights come from? ▼
How do I load the tiles in MapLibre? ▼
What happens over the sea or outside coverage? ▼

รูปแบบที่เกี่ยวข้อง

Related Articles