Police-community relations have never been closer.

Two of New York’s finest were grinded on in the line of duty Monday as they protected the throngs of people who showed up for Brooklyn’s West Indian Day Parade, video of the dance moves shows.

One of the parade marchers, wearing a neon tank top and bikini bottoms danced face-to-face with a uniformed officer along the parade route, before “wining up” on the cop, the video shows.

The dance move, which is popular in Jamaica, involved thrusting her bottom into his crotch while the officer grooves along to the rhythm.

A few seconds later, another marcher tried to do the same to a cop standing nearby, but that officer, instead of dancing along, nearly fell over.

The crowds of marchers loved the display, with one of the participants giving the dancing cop a high five as he continued to dance with the woman.