<P> The film rights to the 2011 novel Miss Peregrine's Home for Peculiar Children by Ransom Riggs were sold to 20th Century Fox on May of that year . In November, Deadline.com reported that Tim Burton was in talks to direct and would also be involved in selecting a writer . On December 2, Jane Goldman was reportedly hired to adapt the story as a screenplay for the film . </P> <P> On July 28, 2014, Eva Green was set to play Miss Peregrine in the film; Mischa Barton, Lucy Hale and Alison Sudol were also considered . On September 24, 2014, it was announced that Asa Butterfield was being eyed for the second lead role as Burton's choice, but that at that time he had not yet been offered the role . On November 5, 2014, Ella Purnell was offered a role and was in final talks to join the film; it was also reported that Butterfield had been offered the male lead role, and was the favored choice . On February 6, 2015, Samuel L. Jackson was added to the cast to play Mr. Barron, while Butterfield was confirmed for the second lead role . Terence Stamp, Chris O'Dowd, Rupert Everett, Kim Dickens, and Judi Dench were announced as being in the cast on March 12, 2015 . </P> <P> Filming was initially set to begin in August 2014 in London. Principal photography on the film began on February 24, 2015 in the Tampa Bay Area . Filming lasted for two weeks in Hillsborough and Pinellas counties, in the Florida area . It is the second Tim Burton film to be shot in the Tampa Bay area, the first being Edward Scissorhands, in 1989 . Production of the film later moved to Caerhays Castle and Minions in Cornwall, and Blackpool in the United Kingdom, and Brasschaat, a municipality close to Antwerp, Belgium . </P> <P> The film's score was composed by Mike Higham and Matthew Margeson . The soundtrack was released on October 11, 2016 by La - La Land Records . Florence and the Machine recorded the film's end credits song, "Wish That You Were Here". </P>

Where was miss peregrine's filmed in wales
find me the text answering this question