I am dealing with the following situation. We have two vector bundles $E \xrightarrow{\pi_1} U$ and $F \xrightarrow{\pi_2} V$ over some open subsets of a smooth manifold whose restrictions on the intersection $U \cap V$ are isomoprhic, i.e. we have a vector bundle isomorphism $\phi : E|_{U\cap V} \rightarrow F|_{U\cap V}$. I am trying to glue $E$ and $F$ to a vector bundle over $U\cup V$ and so, here is my idea.
First, I consider the disjoint union $G=E_p \displaystyle\bigsqcup_{p \in U\cup V} F_p$ equipped with the disjoint union topology and then define an equivalence relation: $u \sim v \Longleftrightarrow$ u and v belong to to $E_p$ or $F_p$ for $p\in U \cap V$. Then, we pass to the quotient space \begin{equation*} \tilde{G}=\big (E_p \displaystyle\bigsqcup_{p \in U\cup V} F_p\big)mod\sim \end{equation*} and consider the projection map \begin{equation*} \pi_(v)= \begin{cases} \pi_1(v), \text{if}~ v\in E_p~ \text{for}~ p\in U\setminus U\cap V\\ \pi_2(v), \text{if}~ v\in F_p~ \text{for}~ p\in V\setminus U\cap V\\ \pi_1(v)=\pi_2(v), \text{if}~ v\in E_p\simeq F_p~ \text{for}~ p\in U\cap V \end{cases} \end{equation*} As I see it, there is a well-defined vector space structure on the fibres of $\pi$ so my problems begin with the local trivialization of $\tilde{G}$. There are some straightforward local trivializations charts over a point p, coming from $E$ and $F$ , when $p \in U \setminus \overline{U \cap V}$ or $p \in V \setminus \overline{U \cap V}$ respectively. I could even define such charts over points in $U \cap V$.
However, I just cannot see how things work out in the boundary $\partial(U \cap V)$ and more generally, I do not feel comfortable with the simplicity of this approach.
I would be thankful, If someone could shed some light to this question!