Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It was going from Argentina to Germany and after takeoff it went over a town and then it went direct to Germany. Why did it go over the town instead of going directly to Germany?
It's following a departure procedure.
The path flown matches the route described for departing Runway 11 with the La Plata 6B departure.
See the map here to visually match up the described departure procedure with the flown path.
Required, but never shown