He first studied at the University of Padua. His first papers, on the then-forthcoming 1874 and 1882 transits of Venus, attracted attention and got him the position of professor of nautical astronomy at the Reale Istituto di Marina Mercantile a Venezia (Venice Royal Institute of the Merchant Navy). In 1879, he was offered the position of deputy director of the Osservatorio del Collegio Romano (Observatory of the Collegio Romano), associated with the Ufficio Centrale di Meteorologia (Central Institute of Meteorology) in Rome, and from 1902 (following Pietro Tacchini's resignation) until his death, he was its director.
For the calculation of the orbit of Eros, in 1898 and 1904 he was awarded the Prize for Astronomy (Premio per l’Astronomia) of the Italian Accademia dei Lincei. In 1911, he was awarded the Pontécoulant Prize (Prix Gustave de Pontécoulant) of the French Académie des sciences de Paris. He published over 450 smaller and larger works, and a large number of single observations of planets and comets.