GSTPy.NetworkInterface.upload_feature — GSTPy documentation

# GSTPy.NetworkInterface.upload_feature

`NetworkInterface.``upload_feature`((NetworkInterface)self, (StreamableGeometry)feature, (FeatureClassDesc)target_feature_class[, (int)commit_key=-1]) → FeatureDesc :

  Upload a new feature.

  Parameters

    - feature (StreamableGeometry) – The feature data.

    - target_feature_class (FeatureClassDesc) – The target feature class.

    - commit_key (int) – The commit this feature version will be assigned to.

  Returns

    The feature description.

  Return type

    FeatureDesc