Sigma 17-70 2.8 - 4.5
Pentax 18-135 3.5-5.6
For indoor shooting the Sigma is only about a half stop faster, that's probably not going to make any difference very often.
The 18-135, is clearly the most versatile.
The arguments on these two are endless.
I've never seen anyone with an 18-135 convince a Sigma 17-70 owner to switch.
I've never seen a Sigma 17-70 owner convince an 18-135 owner to switch.
The arguments either way are not terribly convincing. That being said I've seen a lot more excellent images produced by the 18-135, but then, a lot more people own it as far as I can tell, so that's not the best.
In cases like this I usually go with the lens that's made by Pentax. There are advantages in lens identification in my software etc by staying with Pentax gear.
For landscape the DA*18-135 works fine unless you go over 50mm, at 135 it still has excellent centre sharpness for pseudo macro images. The 17-70m is sharper edge to edge from 50-70mm, but still falls behind in centre sharpness.
I wouldn't give up the 70-135 end of the 18-135. But lots of people will be arguing that they don't use it. So you just need to figure out what kind of shooter you are.
Forget the "17-70 has better IQ argument. it's nonsense based on very minor differences.
The Sigma 17-70 is more consistent edge to edge, the 18-135 is better for centre sharpness. These are two different lenses, but, from 24mm to 35mm you won't see a lot of difference between them centre or border.
Some guy deciding one of these lenses is better than the other, is simply stating his or her personal shooting preference, if you don't shoot his/her style, their analysis won't apply to you.
http://www.photozone.de/Reviews/312-sigma-af-17-70mm-f28-45-dc-macro-test-report--review http://www.photozone.de/pentax/597-pentax_18135_3556?start=1
I shoot a lot of images from 50-135 where centre sharpness is more important than edge sharpness, so i like the 18-135, and at 24 mm the 18-135 is right up there with the best lenses on K-mount, as a landscape len, excellent centre and edge.. If I were to pick a point at which the 17-170 really shines it would probably for 40mm edge to edge. But I have a 40 XS prime that's better than both of them and is ƒ2.8, and is quite cheap.
My 18-135 slideshow.