Perhaps I should have indicated I meant only stationary ground targets with relation to the plane, and not the workings of the plane's radar and computers.
You say GPS is used, and I might have guessed as much, but doing reading on the various ways a plane tries to prevent sending out signals from itself in order to remain silent in the air... I have no clue how such data transmission is effected.
I saw an interesting program on the military tv network, describing a new type of ground based heavy gun which shoots a large bullet designed to detonate at a given distance to the target, to either penetrate walls and explode inside a room, or to detonate in case of missing the target and prevent over-shooting.
The bullet knows when to trigger by rotating fast, somehow recognizing how many times it cuts through the earth's magnetic field gradient or whatever...
I was wondering if fighter jets could possibly use the same thing in any targeting, or something similar.... but probably not. I was wondering how the plane receives this information so that you could aim the HUD towards the known target, and in the distance have it locked automatically by the laser, and just fire off the missile.