GSTPy.NetworkInterface.get_feature — GSTPy documentation

# GSTPy.NetworkInterface.get_feature

`NetworkInterface.``get_feature`((NetworkInterface)self, (FeatureDesc)feature[, (RequestFormat)request_format=GSTPy.RequestFormat.SFSP[, (SRS)srs=None[, (QueryBox)query_box=None[, (int)commit_key=-1]]]]) → CrudeFeature :

  Download a feature.

  Parameters

    - feature (FeatureDesc) – The requested feature.

    - request_format (RequestFormat) – The requested file format of the feature.

    - srs (SRS) – The requested SRS of the feature.

    - query_box (QueryBox) – The query box for partial request. If this parameter is supplied, the returned feature data will only be in the area defined with `QueryBox.box`.

    - commit_key (int) – The requested commit key of the feature. Optional, defaults to latest.

  Returns

    The feature download request data.

  Return type

    CrudeFeature