Tests if a csquares object is correctly specified and can be translated into valid coordinates

validate_csquares(x)

Arguments

x

An object of class csquares to be evaluated.

Value

Returns a logical value indicating whether the csquares object is valid or not.

Author

Pepijn de Vries

Examples

validate_csquares(
  as_csquares("7500:110:3|7500:110:1|1500:110:3|1500:110:1")
)
#> [1] TRUE