We aim to study the structures of dust and stars of the Galactic disk thanks to large star surveys. With its second Data Release (GDR2), the Gaia satellite brings a huge number of parallaxes; however, the parallax precision degrades with distance and with extinction. And it is in the galactic disc that the dust is most present. It is then mandatory to associate near-infrared photometry, less sensible to extinction, and use statistical method to infer photometric distances.We therefore combined GDR2 Gaia astrometry with the 2MASS, UKIDSS and VVV infrared photometric catalogues, which we analysed using a Bayesian field of view analysis, FEDReD (Field Extinction - Distance Relationship Deconvolver). This algorithm makes it possible to obtain...