You asked

How does a 90mm macro compare with the 17 50mm for close up flower and insect photos on a pentax?

Here is what the site says about that.

From [Pentax smc DA 17-70mm f/4 AL [IF] SDM: Pentax smc DA 17-70mm f/4 AL [IF] SDM](/gear/lenses/pentax-smc-da-17-70mm-f-4-al-if-sdm/): A zoom lens by Pentax for APS-C cameras, 17-70mm f/4.

From Tamron SP AF 17-50mm f/2.8 XR Di II LD Aspherical (IF): Specs: - Maker: Tamron - Focal length: 17-50mm (zoom) - Maximum aperture: f/2.8 - Made for: APS-C sensors - Mounts: Canon EF, Nikon F, Pentax K - Stabilised: no - Autofocus: yes

Quoted from this site's pages.

Ask next

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