CesiumGS / CesiumGS/cesium-native

OSM map misaligned when using CesiumUrlTemplateRasterOverlay

Open
#1,389 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
623
Forks
277
PR merge metrics
No merged PRs in 30d

Description

I am using the Cesium for Unreal plugin version 2.24.1 to load an OSM map. I am using the CesiumUrlTemplateRasterOverlay with the URL https://a.tile.osm.org/{z}/{x}/{y}.png, but the resulting map is misaligned, as shown in the image. However, when I load it in CesiumJS, it is complete and works correctly. It seems that there is a bug in Cesium Native.

Image

Image

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with Cesium for Unreal 2.24.1 using CesiumUrlTemplateRasterOverlay and https://a.tile.osm.org/{z}/{x}/{y}.png, then compare the result with CesiumJS. Trace the raster overlay and tile-coordinate handling in Cesium Native; done means the OSM imagery is aligned correctly with the map.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.