Miscellaneous geo-related SQL functions