AbstractModern measuring techniques often involve using lasers specifically designed for the demanding requirements of industrial tasks. An increasing number of laser diodes have become available in the green and blue region of the visible spectrum so that laser‐diode based modules now cover the full range from UV to IR. A variety of beam‐shaping techniques can be used to produce the particular beam profile necessary for a specific measuring task. One application is the continuous monitoring of rail profiles during rail production or of their deterioration in use by mounting the test system on the train itself. The geometry of the rail can be determined by using laser lines and the laser light‐sectioning method. The in situ measurement of wear ensures that the repair of the affected rail sections is performed in time.