Use type object for transferring spatial data