get_layer_feature_count


Description:

public uint get_layer_feature_count ()

Gets the number of features in the current layer.

You can loop over all features in the current layer by calling [method@VectorReaderIter.read_feature] with each index from 0 to the feature count, but it might be easier to use [method@VectorReaderIter.next_feature] instead.

Parameters:

this

A VectorReader.

Returns:

The number of features in the current layer.