A method for keeping a vehicle in a lane by a driver-assistance system, the driver-assistance system has a receiver and a control system, the method comprising the following steps:
- receiving local map data by means of the receiver from a transmitter located within a zone of an intersection, wherein the local map data specifies a course of the lane at least partially;
- calculating further data for specifying a course of a part of the lane dependent on the local map data, wherein the part of the lane crosses the intersection;
- and
- controlling a steering system of the vehicle dependent on the further data and sensor data generated by means of the sensor system in order to keep the vehicle in the lane when crossing the intersection.