Returns one coordinate per row. Each function returns NA for any geometry
that is not a single point, and for any null or empty point.
Details
Both functions accept either coordinate encoding and return the same values whether the point array holds a struct of two double columns or interleaved values.
Use ga_coords() for the vertices of a line or polygon, which returns a
multipoint per row rather than a single number.
See also
Other iteration:
ga_coords(),
ga_lines(),
ga_n_coords()