This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gpsbabel XCSV style file | |
# | |
# Format: Flytrex KML to GPX (output only) | |
# Author: Chris Cooper | |
# | |
DESCRIPTION Flytrex KML to GPX | |
SHORTLEN 8 | |
# FILE LAYOUT DEFINITIIONS: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var viewer = new Cesium.Viewer('cesiumContainer'); | |
var scene = viewer.scene; | |
var flatten = function(ar) { | |
return [].concat.apply([], ar); | |
}; | |
var extract = function(p) { | |
return [p.x, p.y, p.z]; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
doarama_api_url = "https://www.doarama.com/api/0.2" | |
doarama_params = {'api-name': 'MY_API_NAME', 'api-key': 'MY_API_KEY', 'Accept': 'application/JSON'} | |
# Query Activity Types | |
r = requests.get(doarama_api_url+"/activityType", headers=doarama_params) | |
print("Doarama Activity Types: {}".format(r.text)) | |
# Test Upload Activity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"id": "document", | |
"version": "1.0" | |
}, { | |
"id": "Office", | |
"availability": "2012-06-20T16:00:00Z/2020-06-20T16:02:00Z", | |
"position": { | |
"cartographicDegrees": [151.1951317, -33.9053295, 0.0] | |
}, | |
"billboard": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A self contained Doarama API example tested under Ubuntu bash (may also work on Windows under git bash or cygwin) | |
API_NAME='YOUR_API_NAME' | |
API_KEY='YOUR_API_KEY' | |
USER_ID='1' | |
#API='https://doarama-thirdparty-dev.herokuapp.com/api/0.2' | |
API='https://api.doarama.com/api/0.2' |