My initial question in response "meta data as defined or stated by who"?
The short answer is that there is no worldwide standard for country of origin of a movie or tv production, particularly as country of origin often has copyright and country specific tax and other financing ties.
However broadly speaking when we are not talking about legal definitions most catalogs seem to define it in relation to the country of the production company/companies and certainly not where it is shot, edited or distributed.
The International Federation of Film Archives defines it in their document "Papers and Reference Tools for Film Archivists
Dealing with Audiovisual Material" (pdf-reference) as
the country of the principal offices of the production company or individual by whom the moving image work was made
IMDB defines it as
... the country of a title as the place or places where the production companies for that title are based, and therefore where the financing originated. This means, for example, even if a title is shot on location in France, if its production companies are all based in the USA, we record the country as USA.
If a title is a multi-country production, the order the countries are entered into the addition/update forms is significant and will be reflected in the display order within IMDb.
However the laws and practices for this vary throughout the world.