Matching of horizontals with linear objects of hydrography