To take good photos of model railways it's really important to control the depth of field or focal depth of the image. This is best demonstrated by @KNP's wonderful photographs of his masterpiece, Little Muddle.
This blog entry describes my first experiments in improving depth of field in my photos.
Why Depth of Field matters
Definition: The Depth of field is the distance between the nearest and furthest objects that are acceptably in focus.
I'm not a photograph