During his time in Hamburg between 1838 and 1860, he significantly contributed to the modernization of the city, particularly in the areas of water supply and sewage systems, as well as railway construction. In the years after his departure from Hamburg, increasingly supported by his sons, he planned water supply and disposal systems for numerous other European cities.
In the period before the Great Fire, water demand was largely met by canals and the Elbe River, into which, however, wastewater was also discharged. To address the unhygienic situation, Lindley had already received the contract for the construction of Hamburg's "Stadtwasserkunst" (city waterworks) at the time of the fire. The extensive destruction of the city center now offered unprecedented opportunities for a fundamental innovation in water supply and disposal.