1. A method comprising: generating an image of an object using a camera in a mobile station and providing the image to a computer, wherein the image is not a top view of the object; determining a position of the mobile station; retrieving a top view image of the object based on the position and providing the top view image to the computer; analyzing the image of the object with the computer to determine a direction of lines in the image of the object; analyzing the top view image with the computer to determine a direction of lines in the top view image of the object with respect to a fixed coordinate system; and determining an orientation of the mobile station with the computer based on matching the direction of lines in the image of the object with the direction of the lines in the top view image of the object; storing the determined orientation of the mobile station.