You asked
Is the nikon af s 20mm f 1 8g ed good for landscape?
The Nikon AF-S 20mm f/1.8G ED is a good landscape lens on a full frame Nikon body. At 20mm it gives a wide view that suits big scenes, skies and foreground detail. Its f/1.8 speed matters more for low light than for landscapes, which you'll usually shoot at f/8 to f/11 to keep near and far sharp. The lens has no stabilisation, but that rarely matters for landscapes, where you can use a tripod and a slower shutter speed.
On APS-C, the lens frames like 30mm on full frame. That is a standard view rather than a wide one, so for landscapes it works best on full frame. Full frame Nikon bodies it fits include the Nikon D810 and Nikon D850, both listed on its catalogue page.
The guide's landscape page covers wide-angle choices in more depth. If you want to frame at several focal lengths without changing lenses, a wide zoom is the alternative. The guide's first lenses section recommends a wide zoom for landscapes, and a prime like this one trades that flexibility for a simpler, usually sharper, lens.
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}.