get_feature_point


Description:

public bool get_feature_point (out double x, out double y)

Gets the coordinates of the current feature in tile space, if the feature is a single point.

See [method@VectorReaderIter.get_layer_extent] to get the range of the coordinates.

It is an error to call this function if the feature is not a single point. Use [method@VectorReaderIter.get_feature_geometry_type] to check the feature's geometry type.

Parameters:

this

A [class@VectorReaderIter].

x

The x coordinate of the point.

y

The y coordinate of the point.

Returns:

true if the feature is a point, false otherwise.