Text this: Spatial localisation and sensing in two dimensions via metasurfaces