Skip to content

Instantly share code, notes, and snippets.

View up42-epicycles's full-sized avatar

The UP42 gist owner up42-epicycles

View GitHub Profile
@up42-epicycles
up42-epicycles / filters_tutorial_aoi_northern_italy.json
Last active October 14, 2019 13:02
UP42 Filters tutorial: AOI Northern Italy.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@up42-epicycles
up42-epicycles / filters_tutorial_aoi_northern_ italy.kml
Last active October 14, 2019 13:03
UP42 Filter tutorial: original AOI.
<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
<Document>
<Style id="blueFootprintOutline">
<LineStyle>
<width>1.0</width>
<color>ffff0000</color>
</LineStyle>
<PolyStyle>
<color>00000000</color>
@up42-epicycles
up42-epicycles / filters_tutorial_large_aoi.json
Last active October 14, 2019 16:41
UP42 Filters tutorial: Large AOI example.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"error": null,
"data": [
{
"id": "2c8624b9-f649-4880-b46c-90ee857f11da",
"displayId": "2c8624b9",
"createdAt": "2019-10-31T15:34:52.430Z",
"updatedAt": "2019-10-31T15:34:52.430Z",
"name": "oneatlas-spot-fullscene:1",
"parentsIds": [],
@up42-epicycles
up42-epicycles / triesen_liechtenstein.kml
Created November 1, 2019 18:44
UP42 API: Triesen - Liechtstein region KML description.
<?xml version="1.0" encoding="utf-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document id="root_doc">
<Schema name="triesen_liechtenstein" id="triesen_liechtenstein">
<SimpleField name="timestamp" type="string"></SimpleField>
<SimpleField name="begin" type="string"></SimpleField>
<SimpleField name="end" type="string"></SimpleField>
<SimpleField name="altitudeMode" type="string"></SimpleField>
<SimpleField name="tessellate" type="int"></SimpleField>
<SimpleField name="extrude" type="int"></SimpleField>
@up42-epicycles
up42-epicycles / named_job_create_response.json
Created November 6, 2019 14:16
UP42 API: Converting from KML to GeoJSON and launching a job.
{
"error": null,
"data": {
"id": "8883a353-66f1-4704-93c9-d690dfdb98b7",
"displayId": "8883a353",
"createdAt": "2019-11-05T14:25:12.002Z",
"updatedAt": "2019-11-05T14:25:12.366Z",
"status": "NOT_STARTED",
"name": "Converting from KML to GeoJSON job input Liechtenstein-Triesen",
"startedAt": null,
@up42-epicycles
up42-epicycles / inputs_real_job_new.json
Last active November 6, 2019 15:24
UP42 API: Job input for KML file with Triesen - Liechtenstein region.
{
"oneatlas-spot-fullscene:1": {
"ids": null,
"time": "2018-01-01T00:00:00+00:00/2019-12-31T23:59:59+00:00",
"limit": 1,
"order_ids": null,
"time_series": null,
"intersects": {
"type": "Polygon",
"coordinates": [
@up42-epicycles
up42-epicycles / first_job_run.sh
Created November 12, 2019 16:24
UP42 API: Script to run your fist job via the API.
#!/bin/bash
# first_job_run.sh --- Simple bash script to run a first job via the
# UP42 API.
# Copyright (C) 2019 UP42 GmbH
# Author: António P. P. Almeida <antonio.almeida@up42.com>
# Permission is hereby granted, free of charge, to any person obtaining a
{
"error": null,
"data": [
{
"id": "b3b1cc0b-3a1e-431c-a64e-a4d99b117a4b",
"displayId": "b3b1cc0b",
"createdAt": "2019-12-12T20:10:55.314Z",
"updatedAt": "2019-12-12T20:11:25.963Z",
"status": "SUCCEEDED",
"name": "19211-My-first-job-run-via-API",
@up42-epicycles
up42-epicycles / jobs_job-d62c27c0-24e9-433d-b509-ae080504d5c6.json
Last active December 16, 2019 09:48
UP42 API: List a specific job.
{
"error": null,
"data": {
"id": "d62c27c0-24e9-433d-b509-ae080504d5c6",
"displayId": "d62c27c0",
"createdAt": "2019-11-30T17:53:26.013Z",
"updatedAt": "2019-11-30T17:53:26.155Z",
"status": "SUCCEEDED",
"name": null,
"startedAt": "2019-11-29T17:53:26.044Z",