# Personalized Augmented Reality Based Tourism System: Big Data and User Demographic Contexts
## 5 System Development  
### Data  
The study area in this research is Tehran, which is one of the most important tourism centers in Iran. According to a recent MasterCard report, Tehran was one of the most important cities in the Middle East, Africa, and Asia in terms of tourist attractions. Tehran attracted 1.52 million tourists in 2016, and 1.79 million tourists by the end of 2017 [49]. Since it is not possible to access this type of user information on the social networks for attractive place in Tehran, the data collection was conducted using three methods, which included paper forms, applications under Android operating systems, and Google Internet forms. The information that was collected included age, gender, user-related degrees and types, names of the tourist places, the score of each place, and the users' opinions related to the tourist place. In the paper method, the information is provided using forms that people filled out in order to provide the information. The information collected in this method included analyzing the age, personality, practice, type and name of the tourist place, the score, and the user's opinions regarding controlling the practice. In this method, the address of the tourist place is entered as the address, which needs to be manually entered and converted into the location format to latitude and longitude or the UTM coordinates. The addresses of the tourist places in the paper method need to be converted into geographical coordinates, so an application was developed in order to collect the tourist information in addition to the information that the paper form can collect. The application could also receive the coordinates of the tourist place directly in terms of the latitude and longitude. In this method, the application was prepared by the Android Studio, which was developed in the Android environment. The information entered by the tourists was collected in its database, which used the Google Firebase service. In this system, all the information that is required by the users was collected with the help of various fields embedded in the system, and the user's position was recorded using the mobile positioning sensor of a mobile phone. The online form method is also similar to the paper method, but the difference is that the online form is published on the Internet, and it uses the Google service. Publishing this form on the Internet allows for publication with much fewer restrictions than the paper form. In this case, more users have access to the form, and more information is collected at the same time. This method, which is similar to the paper method, requires the conversion of the addresses, which are entered by the users in a spatial format. Finally, after collecting the information from all three types of forms, 450 information records were collected. The spatial distribution of the data collected, which includes museums, cafes, and restaurants, is shown in Figure 5.  
Finally, the data collected were prepared for further analyses in order to prevent incorrect data entries. The user rating for the tourist's location and the user's age are two items that can be checked to some extent before they are entered into the database. A person may have incorrectly scored more than 10 points for a place, which is outside the defined range, and the person may also have registered an age higher than usual. Therefore, these data require precursors in order to remove these types of additional, incorrect, or inappropriate data before it is stored in the database. Finally, after collecting the data, it was found that the average scores the tourists gave to the tourist places, such as museums, parks, restaurants, and cafes, were 8.9, 7.8, 7.9, and 7.5, respectively. In terms of gender, 58% of women and 42% of men went to these tourist places. 78% of the men and 22% of the women went to the park, 58% of the women and 42% of the men went to restaurants, and 79% of the women and 21% of the men went to cafes.