getGeodatabaseFeatureTableByServiceLayerId method

GeodatabaseFeatureTable? getGeodatabaseFeatureTableByServiceLayerId(
  1. int serviceLayerId
)

Gets a feature table from the geodatabase containing point, line or polygon features, as specified by the given feature service layer ID.

The feature table returned is read-only when the geodatabase is a stand-alone mobile geodatabase created with ArcGIS Pro and the table participates in a controller dataset, such as a utility network or parcel fabric. The presence of utility networks can be checked using Geodatabase.utilityNetworks.

Parameters:

  • serviceLayerId — The service layer ID of the geodatabase feature table containing point, line or polygon features.

Return Value: If the given layer ID matches a table in the geodatabase containing annotation or dimension feature data, then no table is returned.

Implementation

GeodatabaseFeatureTable? getGeodatabaseFeatureTableByServiceLayerId(
  int serviceLayerId,
) {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_Geodatabase_getGeodatabaseFeatureTableByServiceLayerId(
      _handle,
      serviceLayerId,
      errorHandler,
    );
  });
  return GeodatabaseFeatureTable._fromHandle(
    objectHandle,
  );
}