Skip to contents

Get the coordinates of the center of the extent of the given object (sf or terra).

Usage

get_center(x)

Arguments

x

an sf or terra object.

Value

a named vector.