You asked

How does a pentax kp compare with an aps c mirrorless body for landscape photography?

The Pentax KP is a DSLR with a 24.3-megapixel APS-C sensor, the same sensor size used in most APS-C mirrorless cameras. For landscapes, the sensor itself won't separate the two. The differences are in the body and the lenses. The KP is small, weather-sealed, and has stabilisation built into the body. Its lens range is the real draw: the catalogue lists wide-angle zooms that suit landscapes well. The Pentax KP page shows the full list.

For wide landscapes, three lenses stand out:

Stabilisation helps handheld shots, but most landscapes are taken on a tripod, where it matters less. What you gain from a mirrorless body is an electronic preview of the exposure and, on some models, a larger range of lenses in a newer mount. The first camera guide explains why most buyers choose mirrorless, and the lens choice matters more than the body. This site's guide doesn't compare specific mirrorless bodies for landscapes, so check those yourself before deciding.

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}.