Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{
"columnNames":[
"dateIso8601","modifiedJulianDateUtc","xPoleWanderRadians","yPoleWanderRadians","xCelestialPoleOffsetRadians","yCelestialPoleOffsetRadians","ut1MinusUtcSeconds","taiMinusUtcSeconds","lengthOfDayCorrectionSeconds"
],
"samples":[
"1962-01-01T00:00:00Z",37665,-6.157133750091107e-8,1.0326531407633117e-6,0,0,0.0326338,2,0.001723,
"1962-01-02T00:00:00Z",37666,-7.708537529641623e-8,1.0379860912555167e-6,0,0,0.0320547,2,0.001669,
"1962-01-03T00:00:00Z",37667,-9.211459941081183e-8,1.0433190417477215e-6,0,0,0.0315526,2,0.001582,
"1962-01-04T00:00:00Z",37668,-1.0665416170728683e-7,1.0486568403767373e-6,0,0,0.0311435,2,0.001496,
@shunter
shunter / out.czml
Last active October 15, 2018 21:15
[
{
"id":"document",
"name":"SimpleExample",
"description":"A simple example",
"version":"1.0",
"clock":{
"interval":"2018-10-14T00:13:58.42041600099765Z/2018-10-15T00:13:58.42041600099765Z"
}
[
{
"id":"document",
"name":"Scenario1",
"version":"1.0",
"clock":{
"interval":"2018-04-04T16:00:00Z/2018-04-05T16:00:00Z",
"currentTime":"2018-04-04T16:00:00Z",
"multiplier":600,
@shunter
shunter / DeleteCesiumSourceTest.java
Created December 7, 2015 19:26
Custom CZML delete
package cesium.tests.javaexamples;
import java.io.StringWriter;
import org.junit.Test;
import agi.foundation.IServiceProvider;
import agi.foundation.TypeLiteral;
import agi.foundation.cesium.CesiumGenerationStatus;
import agi.foundation.cesium.CesiumOutputStream;
@shunter
shunter / CustomCzml.js
Created October 30, 2015 18:57
Reading Custom CZML
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.clock.startTime = Cesium.JulianDate.fromIso8601('2015-10-30T12:00:00Z');
viewer.clock.stopTime = Cesium.JulianDate.fromIso8601('2015-10-30T23:00:00Z');
viewer.clock.currentTime = viewer.clock.startTime;
viewer.timeline.zoomTo(viewer.clock.startTime, viewer.clock.stopTime);
var czml = [
{
"id":"document",
@shunter
shunter / Program.cs
Created October 30, 2015 17:44
Writing Custom CZML
using System;
using System.Collections.Generic;
using CesiumLanguageWriter;
namespace CustomCzml
{
internal class Program
{
private static void Main(string[] args)
{
@shunter
shunter / Billboards.html
Created October 3, 2014 21:20
billboard show
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <!-- Use Chrome Frame in IE -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="description" content="Add billboard images, points, and markers to the scene.">
<meta name="cesium-sandcastle-labels" content="Beginner, Showcases">
<title>Cesium Demo</title>
<script type="text/javascript" src="../Sandcastle-header.js"></script>
@shunter
shunter / GeoJsonSampleTerrain.js
Last active August 29, 2015 14:06
Cesium GeoJson sampleTerrain
var viewer = new Cesium.Viewer('cesiumContainer');
Cesium.viewerEntityMixin(viewer);
var scene = viewer.scene;
var globe = scene.globe;
globe.depthTestAgainstTerrain = false;
scene.terrainProvider = new Cesium.CesiumTerrainProvider({
url : '//cesiumjs.org/stk-terrain/tilesets/world/tiles'
});
@shunter
shunter / gist:ac663bf2b527bac7242b
Last active August 29, 2015 14:06
Cesium Billboard multifrustum artifacts
var viewer = new Cesium.Viewer('cesiumContainer');
Cesium.viewerEntityMixin(viewer);
var scene = viewer.scene;
var globe = scene.globe;
globe.depthTestAgainstTerrain = false;
scene.terrainProvider = new Cesium.CesiumTerrainProvider({
url : '//cesiumjs.org/stk-terrain/tilesets/world/tiles'
});
@shunter
shunter / ne_10m_admin_0_countries.json
Created April 25, 2014 16:18
ne_10m_admin_0_countries.json
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.