New York Times best-selling author John Sandford lived in the Minneapolis-St. Paul area for a long time and he used it as the setting for his Prey series. Internationally-acclaimed author Michael Connelly worked as a crime beat writer for the LA Times and created his Harry Bosch novels using the streets of LA for his setting. Best-selling author Michael McGarrity used his hometown of Santa Fe as the setting for his Kevin Kerney novels.
Price of Justice was set in Austin, Texas, since I've lived there for well over a decade. While Austin is a different city - some call it weird, I chose Temple, Texas, as the setting for my latest novel, Cornered. Temple is about a tenth the size of Austin and is conservative. Having lived there for over twelve years plus working for the Temple Police Department for several years made Cornered's setting an easy choice. My familiarity with Temple PD gave me a foot in the door and into the chief of police's office, which, in turn, allowed me to pick the brain of one of the detectives. Having worked with the district attorney there gave me access to their offices and the grand jury room where Cornered's Detective Brady spent time testifying.
The sequel to Price of Justice, a novel to be titled Rampage, will bring back Detective Jason Scarsdale and the Austin setting. After Rampage is finished, a whole new kind of novel will emerge in an entirely different kind of setting. Take care and stay safe.