Checks on the input object and any conversions:
- Check that the input object is of length 1, if it is not an error appears.
- Verifies that the input object is of the sfc (Simple Features Collection) class, if it is not, it returns NA and reports a warning.
- If the input object is of sfc class, checks that it is of type POINT, if it is not, the centroid of the geometric object is calculated.
- If the input object is of the sfc_POINT class, check that it has a reference system and that this is the WGS84 for the decimal coordinates; if it is not, it is set or converted.