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

Position missing arguments for interval #94

Closed
mwarnick123 opened this issue Jun 30, 2021 · 6 comments · Fixed by #119
Closed

Position missing arguments for interval #94

mwarnick123 opened this issue Jun 30, 2021 · 6 comments · Fixed by #119

Comments

@mwarnick123
Copy link
Contributor

No description provided.

@mwarnick123
Copy link
Contributor Author

Found in the the tests how to use the epoch in Position

@mwarnick123 mwarnick123 changed the title Position missing arguments for interval and epoch Position missing arguments for interval Jul 1, 2021
@astrojuanlu
Copy link
Member

Hi @mwarnick123 , can you give some more details? I don't see interval here: https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/Position

@astrojuanlu
Copy link
Member

@astrojuanlu
Copy link
Member

Isn't this solved by

Packet(position=IntervalValue(...))

?

@mwarnick123
Copy link
Contributor Author

Hi @astrojuanlu, I want a polygon to appear for only a certain period of time and to write that I need to write the following for the position:

position: {
      interval: "2012-08-04T16:00:00Z/2012-08-04T17:00:00Z",
      cartographicDegrees: [-45.0, 20, 4000000],
    },

to get the interval I can use TimeInterval(), but I still need to declare interval which can be done in the Position() class.

This can be used on other objects and placed in the PositionList() class as well.

@mwarnick123
Copy link
Contributor Author

https://sandcastle.cesium.com/?src=CZML%20Polygon%20-%20Interpolating%20References.html&label=CZML This is the example I am trying to use czml3 to create the czml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants