R/finite.R
wkt_has_missing.Rd
Note that EMTPY geometries are considered finite and non-missing.
Use the size
column of wkt_meta()
to test for empty geometries.
wkt_has_missing(wkt)
wkb_has_missing(wkb)
wkt_is_finite(wkt)
wkb_is_finite(wkb)
A logical vector with the same length as the input.
wkt_has_missing("POINT (0 1)")
#> [1] FALSE
wkt_has_missing("POINT (nan nan)")
#> [1] TRUE
wkt_has_missing("POINT (inf inf)")
#> [1] FALSE
wkt_is_finite("POINT (0 1)")
#> [1] TRUE
wkt_is_finite("POINT (nan nan)")
#> [1] FALSE
wkt_is_finite("POINT (inf inf)")
#> [1] FALSE