The purpose of GIS is trying to tell people the environment around them, and providing the needed information to them, and it is widely used in Location Based Service (LBS) applications, and LBS have little processing on the direction information. In this paper, a travel system based on GIS is presented, which has a relationship with the direction and attitude angle information, for more convenient communication in the crowd of the tourists. People can see the doodles which are created by the man who was in the same place before through our system. The algorithms of the system are discussed, one algorithm is used for matching the best data from the request of users, which is based on
k-Nearest Neighbor (KNN)
algorithm, and the other one is supported by the concept of spherical coordinate system. The simulation results of the algorithms are presented, and show that the algorithms are reasonable and acceptable in the environment of the system.