Skip to content

KML GroundOverlay Georeferencing in 3D View at High Latitudes #12943

@estes-sj

Description

@estes-sj

What happened?

When testing KML's GroundOverlay, georeferencing does not align correctly in 3D views at higher latitudes. Google Earth also uses a 3D view, but it renders the overlay as expected.

The reproduction steps demonstrate comparing Cesium 3D view vs. Cesium 2D view vs. Google Earth 3D view.

Reproduction steps

ExamplePlotsAndPoints.zip

  1. Download the above ExamplePlotsAndPoints.zip and unzip.
  2. Load an attached KMZ file (GroundOverlay.kmz or GroundOverlay-RedOnly).
  3. If loading GroundOverlay.kmz, disable the blue layer. (Does not apply if loading GroundOverlay-RedOnly.)
  4. For "Imagery", select "Bing Map Aerial" or any other imagery that clearly shows North America.
  5. Ensure that it is in "3D" mode.
  6. Zoom in near the coast of New York City and observe how the red layer does not line up with the coastline.
Image
  1. Change to "2D" mode.
  2. Zoom in near the coast of New York City and observe how the red layer now lines up well with the coastline.
Image

(Optional)

  1. Load Google Earth and load the attached KMZ file(s).
  2. Zoom in near the coast of New York City and observe how the red layer does line up well with the coastline, despite being in a 3D view.
Image

Sandcastle example

https://sandcastle.cesium.com/#c=bY+xTsMwEEB/5ZQplSJbrDSNkFqJpVUHKqYsrnMpFhc7ss9pA+LfiRsQCOrtnt+zztrZwDAYPKOHFVg8wxqDiZ14vrK8zvR1XjvLylj0dbZY1ra2cyPwwmib/Cua4car08a7fmcuxhbwPumsCZXf24TvoVUUsEi4pfHgvjH7mChMR0rQpLr+4B69i7b5aT4Wy6zIysAjYTXLAA+m651niJ5yISRj15NiDPIY9Suy0CGkrZNayt9p2ZgBTLO68c20QAjTTRuJnswb1llVysn/l5JTjbGn/YCe1Ji0l7tqO0MhRCmn8XbJztFR+T8vfwI

Environment

Browser: Microsoft Edge
CesiumJS Version: 1.134.0
Operating System: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions