Pavia 3D: Reading and decomposition of the city for the construction of dynamic databases on heritage