While it is not necessary for a granny flat to be close to public transportation, it is a desirable feature as it can make the granny flat more attractive to potential renters and more convenient for the occupants of the main house.