raw data to map