Geostatistics Compute Tasks
Version: 0.0.1
K-Nearest Neighbors
POST
/compute/orgs/{org_id}/geostat/knnFor more information, please read the guide
Request
Example body
{
"source": {
"type": "geoscience-object-reference",
"key": "string",
"object_reference": "string",
"object_element": [
{
"type": "element",
"path": "string"
}
]
},
"target": {
"type": "geoscience-object-reference",
"key": "string",
"object_reference": "string",
"object_element": [
{
"type": "element",
"path": "string"
}
]
},
"neighborhood": {
"max-samples": 0,
"anisotropy": {
"ellipsoid_ranges": {
"major": 0,
"semi_major": 0,
"minor": 0
},
"rotation": {
"dip_azimuth": 0,
"dip": 0,
"pitch": 0
}
}
}
}
Responses
200
The task result returned by the Compute API Result endpoint when the task is done
Response schema
messagestring
Concise summary of the completed job
object_modifiedModifiedResult
Modified geoscience object
type"geoscience-object-reference"
Default:
"geoscience-object-reference"
keystring | null
key of the attribute you want to save/retrieve the data to/from.
object_referencestring
object_elementarray | null
Example response
{
"message": "string",
"object_modified": {
"type": "geoscience-object-reference",
"key": "string",
"object_reference": "string",
"object_element": [
{
"type": "element",
"path": "string"
}
]
}
}
303
303 response, see Compute API Execute Task documentation for more details