A consul competent to examine a visa application is always the consul of the Schengen Area Member State which is the main travel destination and if such country cannot be identified – it will be the consul from the country where the foreigner plans to stay the longest.
It is not possible to submit a visa application in a Polish consular post, if the planned travel does not cover the territory of the Republic of Poland, unless the Republic of Poland represents another Schengen Area Member State in visa matters.