Spraying train for weed control on railway tracks, comprising at least two carrying wagons or at least one carrying wagon and an unmanned flying object, and also a modular system for a rail vehicle for weed control, comprising - a control and monitoring module, - a herbicide and mixing module, - a nozzle rod, and - a camera module; wherein the control and monitoring module, the herbicide and mixing module and the nozzle rod can each be individually reversibly secured to a support element; wherein the control and monitoring module comprises a control unit, the control unit being configured - to generate a first set of control signals for controlling valves and mixers in the herbicide and mixing module for mixing a herbicide mixture, and - to generate a second set of control signals for controlling valves of the nozzle rod; wherein the herbicide and mixing module comprises: - valves and mixers, - containers for holding different herbicides, which are selectively fluidically connected to the valves and mixers in a selective fluidic connection, - connection elements, via which electrical signal connections can be made to connection elements of the control unit, so that the first control signals generated in the control unit can be directed to the valves and mixers of the herbicide and mixing module; wherein the camera module - has a predefined distance to the nozzle rod, - has a predefined distance to the control unit, - is spatially separated from each of the control unit, the herbicide and mixing module and the nozzle rod, - is positioned in front of the control unit, the herbicide and mixing module and the nozzle rod in a common direction of motion, and - is configured to generate a weed signal in response to detection of a weed; and wherein the generation of the first set of control signals and the generation of the second set of control signals by the weed signal of the camera module can be controlled by means of the control unit, characterized in that the camera module is reversibly attached to a wagon travelling ahead of the control unit of the at least two carrying wagons, or the camera module is attached to the unmanned flying object. - a control and monitoring module, - a herbicide and mixing module, - a nozzle rod, and - a camera module; - to generate a first set of control signals for controlling valves and mixers in the herbicide and mixing module for mixing a herbicide mixture, and - to generate a second set of control signals for controlling valves of the nozzle rod; - valves and mixers, - containers for holding different herbicides, which are selectively fluidically connected to the valves and mixers in a selective fluidic connection, - connection elements, via which electrical signal connections can be made to connection elements of the control unit, so that the first control signals generated in the control unit can be directed to the valves and mixers of the herbicide and mixing module; - has a predefined distance to the nozzle rod, - has a predefined distance to the control unit, - is spatially separated from each of the control unit, the herbicide and mixing module and the nozzle rod, - is positioned in front of the control unit, the herbicide and mixing module and the nozzle rod in a common direction of motion, and - is configured to generate a weed signal in response to detection of a weed;