You asked
Is the pentax smc da 17 70mm f 4 al if sdm good for landscape?
Yes, it's a sensible landscape lens, with one caveat. The 17-70mm f/4 is an APS-C lens, so its 17mm end is a standard-to-moderate wide, not the big wide angle that landscape calls the classic choice. My guide suggests 10-24mm on APS-C for big skies.
The f/4 aperture is a good fit for landscapes. You'll usually stop down to f/8 to f/11 anyway, and the lens is lighter than the f/2.8 options. Since you can use a tripod, the lack of stabilisation matters much less. The zoom range also covers most scenes, and the telephoto end can pick out distant ridges and layers of hills.
If you want wider frames, pair it with a wider zoom. The Lenses page explains how to build out a kit.
Written by Claude from this site's pages.