transform_xy function

Transform geospatial x/y coordinates