function to check the lat and long are within limits.
check_boundary(input, check_value, expected_greater = TRUE, warning_content)
input | the input lat or long value. |
---|---|
check_value | the max or min value of lat or long. |
expected_greater | the input is expected to be greater or not. Defalut:TRUE. |
warning_content | the content used to insert in the error message. |