You asked
Is the pentax smc da 12 24mm f 4 ed al if weather sealed?
The guide's lens page for the Pentax smc DA 12-24mm f/4 ED AL [IF] doesn't say whether it is weather sealed. Its listed specs cover the maker, focal length, f/4 maximum aperture, APS-C coverage, the Pentax K mount, no stabilisation and autofocus, but not sealing. The guide can't confirm it either way, so check the lens's manufacturer documentation before you rely on it in rain.
The lens still suits landscape work. The guide recommends a wide zoom, around 10-24mm on APS-C, for big skies and strong foregrounds, and f/4 is enough because landscapes are usually shot between f/8 and f/11. On a Pentax K body it frames like 18-36mm on full frame. It also works on the full-frame K-1 and K-1 Mark II in APS-C crop mode, at fewer megapixels.
Weather sealing matters more than the lens's aperture for dawn shoots in wind, spray or drizzle. The guide's landscape page says a sealed body and lens survive that. Pair the lens with a body whose own page confirms sealing, such as the Pentax K-3 Mark III if its page confirms it, and check that page before buying.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.