moved polygon validation methods into a new service in order to reuse them for validating the geo search polygon