Convert from transform to map