Skip to content

Instantly share code, notes, and snippets.

View na9da's full-sized avatar

Nanda na9da

  • Melbourne, Australia
View GitHub Profile
[
{
"id":"document",
"version":"1.0"
},
{
"id":"Vehicle",
"availability":"2012-08-04T16:00:00Z/2012-08-04T17:04:54.9962195740191Z",
"label":{
"fillColor":[
{
"resultsDataUrl": "resultsData.csv",
"idProperty": "OBJECTID",
"indexes": {
"GEOSCAPE_AREA": {
"type": "numeric",
"url": "0.csv",
"range": {
"min": 7.58,
"max": 92901.63
@na9da
na9da / czml.json
Created March 9, 2021 04:52
Terria CZML polling
{
"catalog": [
{
"type": "czml",
"name": "Simple CZML",
"url": "https://raw.githubusercontent.com/CesiumGS/cesium/master/Apps/SampleData/ClampToGround.czml",
"refreshEnabled": true,
"refreshInterval": 60
}
]
@na9da
na9da / wps-group-v8.json
Created March 9, 2021 02:39
WPS Group sample catalog for terria v8
{
"catalog": [
{
"name": "Australian Wave Energy Atlas PyWPS Server",
"type": "wps-getCapabilities",
"url": "http://oa-gis.csiro.au/wps"
}
]
}
{
"idProperty": "OBJECTID",
"indexes": {
"GEOSCAPE_AREA": {
"type": "numeric"
},
"BLDGHEIGHT": {
"type": "numeric"
},
"GEOSCAPE_ROOF_SLOPE": {
{
"catalog": [
{
"type": "mvt",
"name": "Commonwealth Electoral Divisions (2019)",
"description": "Federal electoral boundaries which will apply at the 2019 federal election. Produced by combining boundary datasets provided by AEC for each state.",
"info": [
{
"name": "Licence",
"content": "[Australian Electoral Commission Data download licence](http://www.aec.gov.au/Electorates/gis/GIS_Data_Download_Data_Licence.htm)"
{
"name": "Definitive Surface Reflectance (Sentinel 2A and 2B combined)",
"type": "diffable-wms",
"url": "https://ows.dev.dea.ga.gov.au/",
"layers": "s2_ard_granule_nbar_t",
"linkedWcsUrl": "https://ows.dev.dea.ga.gov.au/",
"linkedWcsCoverage": "s2_ard_granule_nbar_t",
"chartType": "momentPoints",
"availableDiffStyles": ["NBR"],
"timeFilterPropertyName": "data_available_for_dates",
// A simple demo of 3D Tiles feature picking with hover and select behavior
// Building data courtesy of NYC OpenData portal: http://www1.nyc.gov/site/doitt/initiatives/3d-building.page
var viewer = new Cesium.Viewer("cesiumContainer", {
terrainProvider: Cesium.createWorldTerrain(),
});
viewer.scene.globe.depthTestAgainstTerrain = true;
// Set the initial camera view to look at Manhattan
var initialPosition = Cesium.Cartesian3.fromDegrees(
{
"catalog": [
{
"name": "Water Regulations Data (BoM)",
"type": "group",
"description": "The Bureau receives water data measured at stations around Australia from organisations named in the Water Regulations (2008). This data is stored in the Australian Water Resource Information System (AWRIS). A large proportion of time series data in AWRIS is made available to the public via Sensor Observation Service (SOS2) web services. NEII uses these web services to present storage levels, storage volume, water course discharge and water course levels data. Please refer to http://www.bom.gov.au/waterdata/ for more information.",
"members": [
{
"name": "Hydrologic Reference Stations",
"type": "group",
@na9da
na9da / discharge-imagery.json
Created May 22, 2020 06:20
discharge-imagery.json
{
"catalog": [
{
"name": "Watercourse Levels",
"url": "http://www.bom.gov.au/waterdata/services",
"type": "sos",
"proceduresName": "Frequency",
"description": "Watercourse levels, as defined under category 1a of the Water Regulations 2008 – refer to [Definitions – Subcategories of Water Information](http://www.bom.gov.au/water/regulations/subCategoriesWaterAuxNav.shtml#surfWater). This data is shown as provided to the Bureau of Meteorology by data owner organisations and is subject to their terms and conditions of use. Please refer to Copyright on the [Water Data Online](http://www.bom.gov.au/waterdata/) website, and [Disclaimer](http://www.bom.gov.au/other/disclaimer.shtml) statements relating to the use of Bureau of Meteorology material.",
"featureInfoTemplate": {
"template": "# {{name}}\n\n|||\n|-------|-------|\n|Station Name|{{name}}|\n|SOS2 Feature Type|{{type}}|\n|SOS2 ID|{{id}}|\n|Latitude|{{lat}}|\n|Longitude|{{lon}}|\n\n{{chart}}"