Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cesium drops CZML objects using "referenceFrame: #id" #1319

Open
wardev opened this issue Nov 27, 2013 · 2 comments
Open

Cesium drops CZML objects using "referenceFrame: #id" #1319

wardev opened this issue Nov 27, 2013 · 2 comments

Comments

@wardev
Copy link

wardev commented Nov 27, 2013

I brought this up on the mailing list, but didn't get any response. I'm positing it here because I think it is a bug.

Cesium does not correctly handle the CZML 'referenceFrame' attribute. According to the CZML spec positions can be defined in another object's body fixed frame by specifying a "#reference".

Currently Cesium silently drops any objects that use the "#" syntax for referenceFrame. The CZML file below is a failing test case. When loaded I expected to see "It Works", but I currently only see "Test".

[
    {
        "id": "obj1",
        "position": {
            "referenceFrame": "INERTIAL",
            "cartesian": [6778137.0, 0.0, 0.0]
        },
        "label": {
            "text": "Test",
            "show": true
        }
    },
    {
        "id": "obj2",
        "position": {
            "referenceFrame": "#obj1",
            "cartesian": [0.0, 0.0, 0.0]
        },
        "label": {
            "text": "It Works!",
            "show": true
        }
    }
]
@mramato mramato added the 1.0 label May 30, 2014
@mramato
Copy link
Contributor

mramato commented Jul 24, 2014

We'll get to this shortly after 1.0, hopefully for the Sep 1st release.

@speigg
Copy link
Contributor

speigg commented Mar 8, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment