# Personalized Augmented Reality Based Tourism System: Big Data and User Demographic Contexts
## 5 System Development
### The System Implementation
For this purpose, the contexts need to be integrated. In order to integrate the information, four criteria, which include the buffer, proximity, score, and type of tourist place, are used. The weight of each criterion is calculated using the SWARA method. The first step in this method is to screen the criteria and sieve the criteria. After identifying the most important indicators in accordance with the experts' opinions, the indicators are identified and ranked in the order of importance. Based on their importance, these indicators are ranked based on the opinions of 5 GIS experts and 30 tourists. Determining the relative importance of each indicator is the next step. In this step, the relative importance of each indicator toward the more important previous indicator needs to be determined, which is determined by the experts' opinions. The next step is to calculate the coefficient, which is obtained by adding the relative importance of each criterion to the value of one. The fourth step is to calculate the initial weight obtained by dividing the coefficient calculated in the standard step by the coefficient calculated in the next criterion. In this part, the initial weight of the first indicator, which is the most important criterion, is equal to one. The last step is to calculate the final weight, which is the normalized weight, and it is calculated by dividing the initial weight of each factor by the sum of the total initial weight. Table 2 shows the relevant calculations. Finally, the last normal weight is multiplied by 10 in order to make them more appropriate for the implementation. After calculating the weight of each factor, extracting the rules from the algorithm of the DT and also receiving the user contexts, this information is entered into the VIKOR method in order to use it for the tourist places classification. In this step, four sample places, which included Cafe Lamiz, Cafe Menro, Cafe Kenzo, and the Hatam Restaurant, were used to determine the best tourist place for a 25-year-old male user with a master's degree education. The results of the VIKOR are shown in Table 3. \begin{table}
\begin{tabular}{c c c c c} \hline \hline
**Step 1** & **Step 2** & **Step 3** & **Step 4** & **Step 5** \\ \hline Place Type & 1 & 1 & 1 & 0.456 \\ Score & 0.7 & 1.7 & 0.588 & 0.267 \\ Proximity & 0.6 & 1.6 & 0.367 & 0.166 \\ Distance & 0.5 & 1.5 & 0.245 & 0.111 \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Weight calculated for each criterion using the SWARA method. Figure 10: The initial server response to the user. For the final ranking, conditions C1 and C2 must to be considered. In the case of the first condition, the value of Q2-Q1 is equal to 0.143, which is less than 0.33, and it is the result of one, which is the one-number option. Therefore, condition C1 is not met. Furthermore, the value of m, which is the maximum value that holds for Q (A_m) - Q (A_1) < 1/(j-1)), must be calculated. For our problem, the value is two. In addition, the L \(\mathrm{\acute{a}}\)miz and Menro options are known as the top options. The next step is to visualize the information. In order to visualize the information, two tools, which include a map and the AR, were used. For visualization in the map platform, the ArcGIS SDK for an Android library was used. In this part, the tourist coordinates received by the system were first displayed on the map. On the other hand, the coordinates of the final POIs that were specified in the previous step and the information, such as the user's distance to the tourist place, type of tourist place, and name of the tourist place, were also specified on the map, which is shown in Figure 11.  
With the visualization using the AR, the AR location-based package is used. The type of AR used in this study was the base sensor, and it uses the position to add information and to identify the location. The AR transfers the real coordinate system to the camera coordinate system, which the real coordinate system is the geographic coordinate system in this library.