Probing the large-scale galaxy density and peculiar velocity fields