Created
January 10, 2026 00:20
-
-
Save prl900/83dad92f52a9530641daa8249bb73016 to your computer and use it in GitHub Desktop.
Timeseries terrakio sample request
This file contains hidden or 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
| curl --location 'https://dev-eu.terrak.io/geoquery?x-api-key=u8ElNkF0Xks0Lf2s0ovOk_lHEWlnYe2VDDgXC-7vCYY' \ | |
| --header 'x-api-key: u8ElNkF0Xks0Lf2s0ovOk_lHEWlnYe2VDDgXC-7vCYY' \ | |
| --header 'Content-Type: application/json' \ | |
| --data '{ | |
| "expr": "crown_cover=mean:space(CrownCover_precomputed_v2.cover)\ncrown_cover", | |
| "feature": { | |
| "type": "FeatureCollection", | |
| "features": [ | |
| { | |
| "type": "Feature", | |
| "geometry": { | |
| "type": "MultiPolygon", | |
| "coordinates": [ | |
| [ | |
| [ | |
| [ | |
| 151.7423319520001, | |
| -25.24287678999997 | |
| ], | |
| [ | |
| 151.73838140100008, | |
| -25.268678940999962 | |
| ], | |
| [ | |
| 151.73642268000003, | |
| -25.269958197999983 | |
| ], | |
| [ | |
| 151.73710472100004, | |
| -25.271480760999964 | |
| ], | |
| [ | |
| 151.73792291400002, | |
| -25.272436007999943 | |
| ], | |
| [ | |
| 151.73985556500008, | |
| -25.274407468999982 | |
| ], | |
| [ | |
| 151.74116180800002, | |
| -25.27663681699994 | |
| ], | |
| [ | |
| 151.74249059700003, | |
| -25.27742801599993 | |
| ], | |
| [ | |
| 151.7447278720001, | |
| -25.27532533599998 | |
| ], | |
| [ | |
| 151.74626676000003, | |
| -25.271999552999944 | |
| ], | |
| [ | |
| 151.7506139950001, | |
| -25.271928242999934 | |
| ], | |
| [ | |
| 151.7534003410001, | |
| -25.270138680999935 | |
| ], | |
| [ | |
| 151.75441010300005, | |
| -25.27058915799995 | |
| ], | |
| [ | |
| 151.75463973700005, | |
| -25.269105717999935 | |
| ], | |
| [ | |
| 151.7542908040001, | |
| -25.26628138899997 | |
| ], | |
| [ | |
| 151.75355403100002, | |
| -25.264204233999976 | |
| ], | |
| [ | |
| 151.75498873000004, | |
| -25.26083605699995 | |
| ], | |
| [ | |
| 151.75595662000012, | |
| -25.260041884999964 | |
| ], | |
| [ | |
| 151.75556774400002, | |
| -25.259127526999976 | |
| ], | |
| [ | |
| 151.75621474500008, | |
| -25.25837055599993 | |
| ], | |
| [ | |
| 151.75818089400002, | |
| -25.245656318999977 | |
| ], | |
| [ | |
| 151.75521356600007, | |
| -25.24663948999995 | |
| ], | |
| [ | |
| 151.751782842, | |
| -25.246309607999933 | |
| ], | |
| [ | |
| 151.75149197100006, | |
| -25.245821296999964 | |
| ], | |
| [ | |
| 151.74834439200004, | |
| -25.245709187999978 | |
| ], | |
| [ | |
| 151.74638696800002, | |
| -25.245537682999952 | |
| ], | |
| [ | |
| 151.74415085500004, | |
| -25.24361012099996 | |
| ], | |
| [ | |
| 151.7423319520001, | |
| -25.24287678999997 | |
| ] | |
| ] | |
| ] | |
| ] | |
| }, | |
| "properties": { | |
| "cadastrePolygonPid": "cpdc0304606fa16", | |
| "cadastrePid": "cad0323c24c25e6", | |
| "dateCreated": "2021-05-18", | |
| "dateModified": "2024-08-09", | |
| "state": "QLD", | |
| "lot": "2", | |
| "plan": "SP138073", | |
| "parcelId": "2/SP138073", | |
| "source": "QLD", | |
| "titleStatus": "Titled", | |
| "parcelType": "Lot", | |
| "baseParcel": true, | |
| "area": 5000837.41 | |
| } | |
| }, | |
| { | |
| "type": "Feature", | |
| "geometry": { | |
| "type": "MultiPolygon", | |
| "coordinates": [ | |
| [ | |
| [ | |
| [ | |
| 151.7551424500001, | |
| -25.24608297599997 | |
| ], | |
| [ | |
| 151.75367788200003, | |
| -25.244317680999927 | |
| ], | |
| [ | |
| 151.7512847480001, | |
| -25.24433067399997 | |
| ], | |
| [ | |
| 151.75166273900004, | |
| -25.244965217999948 | |
| ], | |
| [ | |
| 151.75201731200002, | |
| -25.245560474999934 | |
| ], | |
| [ | |
| 151.752454929, | |
| -25.24582683999995 | |
| ], | |
| [ | |
| 151.7551424500001, | |
| -25.24608297599997 | |
| ] | |
| ] | |
| ] | |
| ] | |
| }, | |
| "properties": { | |
| "cadastrePolygonPid": "cpb986eb4119782", | |
| "cadastrePid": "cad0323c24c25e6", | |
| "dateCreated": "2021-05-18", | |
| "dateModified": "2024-08-09", | |
| "state": "QLD", | |
| "lot": "2", | |
| "plan": "SP138073", | |
| "parcelId": "2/SP138073", | |
| "source": "QLD", | |
| "titleStatus": "Titled", | |
| "parcelType": "Lot", | |
| "baseParcel": true, | |
| "area": 46360.63 | |
| } | |
| }, | |
| { | |
| "type": "Feature", | |
| "geometry": { | |
| "type": "MultiPolygon", | |
| "coordinates": [ | |
| [ | |
| [ | |
| [ | |
| 151.75494197000012, | |
| -25.269111863999967 | |
| ], | |
| [ | |
| 151.75634305200003, | |
| -25.260091691999946 | |
| ], | |
| [ | |
| 151.7552423180001, | |
| -25.260994873999948 | |
| ], | |
| [ | |
| 151.75387174600007, | |
| -25.26421254899998 | |
| ], | |
| [ | |
| 151.75458513900003, | |
| -25.266223802999946 | |
| ], | |
| [ | |
| 151.75494197000012, | |
| -25.269111863999967 | |
| ] | |
| ] | |
| ] | |
| ] | |
| }, | |
| "properties": { | |
| "cadastrePolygonPid": "cp439b3cad6ad81", | |
| "cadastrePid": "cad0323c24c25e6", | |
| "dateCreated": "2021-05-18", | |
| "dateModified": "2024-08-09", | |
| "state": "QLD", | |
| "lot": "2", | |
| "plan": "SP138073", | |
| "parcelId": "2/SP138073", | |
| "source": "QLD", | |
| "titleStatus": "Titled", | |
| "parcelType": "Lot", | |
| "baseParcel": true, | |
| "area": 97526.46 | |
| } | |
| }, | |
| { | |
| "type": "Feature", | |
| "geometry": { | |
| "type": "MultiPolygon", | |
| "coordinates": [ | |
| [ | |
| [ | |
| [ | |
| 151.7430248930001, | |
| -25.23841109899996 | |
| ], | |
| [ | |
| 151.74241840800005, | |
| -25.242319650999946 | |
| ], | |
| [ | |
| 151.74448576600003, | |
| -25.243153161999942 | |
| ], | |
| [ | |
| 151.7466477380001, | |
| -25.245016850999946 | |
| ], | |
| [ | |
| 151.74838461000002, | |
| -25.245169043999965 | |
| ], | |
| [ | |
| 151.75116233500012, | |
| -25.245267971999965 | |
| ], | |
| [ | |
| 151.75085526700002, | |
| -25.244752458999983 | |
| ], | |
| [ | |
| 151.74706360000005, | |
| -25.243213898999954 | |
| ], | |
| [ | |
| 151.74520487300003, | |
| -25.240798308999956 | |
| ], | |
| [ | |
| 151.7446033660001, | |
| -25.23920769999995 | |
| ], | |
| [ | |
| 151.7430248930001, | |
| -25.23841109899996 | |
| ] | |
| ] | |
| ] | |
| ] | |
| }, | |
| "properties": { | |
| "cadastrePolygonPid": "cp2105489d6aa66", | |
| "cadastrePid": "cad0323c24c25e6", | |
| "dateCreated": "2021-05-18", | |
| "dateModified": "2024-08-09", | |
| "state": "QLD", | |
| "lot": "2", | |
| "plan": "SP138073", | |
| "parcelId": "2/SP138073", | |
| "source": "QLD", | |
| "titleStatus": "Titled", | |
| "parcelType": "Lot", | |
| "baseParcel": true, | |
| "area": 213349.79 | |
| } | |
| } | |
| ] | |
| }, | |
| "in_crs": "EPSG:4326", | |
| "out_crs": "EPSG:4326", | |
| "resolution": -1, | |
| "output": "csv" | |
| }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment