import_feature_set
Import a feature set.
Input fields
ID)
The ID of the analytic that is fulfilled through this feature set. If not the result of an analytic then do not provide.
[FileKey!])
File keys obtained via the create_file_upload or create_file_uploads mutation which represent uploaded annotation files.
DeliverableKey)
The identifier for this type of feature set when it is the deliverable on an order. Used by Sentera, not expected to be used by customers.
[FileKey!])
File keys obtained via the create_file_upload or create_file_uploads mutation which represent uploaded document files.
ID)
The Sentera ID of an existing feature set into which you want to import a GeoJSON file. If not specified then a new feature set is created.
String)
Please use geometry_file_key instead.
A file key obtained via the create_file_upload or create_file_uploads mutation which represents an uploaded GeoJSON file containing the geometry for this feature set.
FileKey)
Please use geometry_file_key instead.
A file key obtained via the create_file_upload or create_file_uploads mutation which represents an uploaded GeoJSON file containing the geometry for this feature set.
FileKey)
(Required) A file key obtained via the create_file_upload or create_file_uploads mutation which represents an uploaded GeoJSON file containing the geometry for this feature set.
String!)
The name of this feature set. Maximum length is 255 characters.
ID)
The ID of the analytic order that is fulfilled through this feature set. If not the result of an analytic order then do not provide. Please use analytic_sentera_id instead.
ID)
The ID of the object that owns this feature set. Required when feature_set_sentera_id is not provided.
FeatureSetOwnerType)
The type of object that owns this feature set. Required when feature_set_sentera_id is not provided.
FeatureSetType!)
The type of this feature set.
Return fields
AsyncProcessStatus!)
The status of the import process.
Examples
Import Feature Set for a Survey
Import a feature set into a survey using the key of an uploaded file and other arguments.
Try this example in GraphiQLmutation ImportFeatureSet{
import_feature_set(
owner_sentera_id: "f6tdqyc_CO_uvd2Acme_CV_deve_2d3c31f0c_200325_084220"
owner_type: SURVEY
name: "big feature set"
type: TASSEL_COUNT
geometry_file_key: "eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBkUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a5bf542bb03268557328e65a30c8c36ea675e1a7"
) {
status
}
}
{
"data": {
"import_feature_set": {
"status": "QUEUED"
}
}
}
Import Feature Set for a Field
Imports a feature set into a field using the key of an uploaded file and other arguments.
Try this example in GraphiQLmutation ImportFeatureSet{
import_feature_set(
owner_sentera_id: "f6tdqyc_AS_uvd2Acme_CV_deve_2d3c31f0c_200325_084220"
owner_type: FIELD
name: "big feature set"
type: TASSEL_COUNT
geometry_file_key: "eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBkUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a5bf542bb03268557328e65a30c8c36ea675e1a7"
) {
status
}
}
{
"data": {
"import_feature_set": {
"status": "QUEUED"
}
}
}
Import Feature Set in Fulfillment of an Analytic
Imports a feature set into a survey in fulfillment of an analytic.
Try this example in GraphiQLmutation ImportFeatureSet{
import_feature_set(
owner_sentera_id: "f6tdqyc_CO_uvd2Acme_CV_deve_2d3c31f0c_200325_084220"
owner_type: SURVEY
name: "big feature set"
type: TASSEL_COUNT
geometry_file_key: "eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBkUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a5bf542bb03268557328e65a30c8c36ea675e1a7"
analytic_sentera_id: "gkm2frg_AL_8y24BigBird_CV_stag_2efd705_210316_142625"
) {
status
}
}
{
"data": {
"import_feature_set": {
"status": "QUEUED"
}
}
}