He qualified as a public works engineer in 1880 and six years later, in 1886, as an architect.
He was chief architect of Barcelona City Council and responsible for the city's sanitary plans in 1891. Ideologically, he promulgated the ideas of public health and sanitation, following on from the studies initiated by I. Cerdà, and compiled extremely accurate and useful statistics on the subject for the city. He applied this same expertise to his facet as an architect and produced several theoretical studies on the matter, such as Proyecto de saneamiento del subsuelo de Barcelona (Project for the Cleansing of the Subsoil of Barcelona, 1893). He was dismissed from his post with Barcelona City Council as a result of internal problems before work on his plan for sanitation and new sewers for the city had begun.
In 1917 he started work in Madrid as a public works inspector, a post which he held for ten years, but still kept up his links with Barcelona during this time, as his family continued to live there.
As an architect he is known to have designed a number of works in Barcelona, such as his own house, Vil·la Rosita (Príncep d'Astúries, 15; no longer in existence), and, together with the architect E. Sagnier, he designed the Duana Nova (New Customs building, 1896-1902; Passeig de Josep Carner, 27 - 29), in an eclectic style.
He was also involved in drawing up plans for the sewerage system and growth of Cartagena and Murcia (1893 and 1897, respectively).