Skip to contents

Counts coordinate rows in an sf or sfc object. This is a lightweight utility for upload limits, performance warnings, simplification decisions, and diagnostics.

Usage

count_geometry_vertices(x)

Arguments

x

An sf, sfc, or geometry object accepted by sf::st_geometry().

Value

A single numeric vertex count.