Yes it is you should file a report to internal affairs must be a female officer to physically touch a female.
Many police departments have this policy. Male officers can search females such as their pockets and shoes. However, they obviously need a female officer for the private areas.
Male officers need to ask the females first before patting them down and also the females or the public have the right to take the person badge or sue the city for harassment. Which I would sue the police force for their wrong.
Thanks! Your answer is awaiting moderation.