The workers were constructing a toilet at a school next to the temple in Faridpur’s Madhukhali Upazila
With shelter capacity shrinking, the Rohingya refugees have been squatting beside roads and other open spaces.
The biometric database is part of an initiative to shelter them in one place, said Cox's Bazar Additional District Magistrate Khaled Mahmud on Friday.
The camps that were already housing refugees from previous violence in Myanmar have been "bursting at the seams", it said.
The administration at Cox's Bazar, the district witnessing a huge influx of arrivals from Myanmar, has set up a control room. "Four officials will take turns to perform duty there," said Mahmud.
He earlier said that the administration was seeking to allocate 50 acres of forest department land in Balukhali for Rohingya refugees.