On Fri, Dec 8, 2017, at 08:15, Аl Воgnеr wrote:
> <mount>
> <name>Tamron Adaptall</name>
> <compat>Generic</compat>
> </mount>
>
> ...
>
> <lens>
> <maker>Tamron</maker>
> <model>Tamron SP AF 70-200mm f/2.8 Di LD (IF) Macro
> (A001)</model>
> <model lang="en">Tamron SP AF 70-200mm f/2.8 Di LD (IF)
> Macro</model>
> <mount>Canon EF</mount>
> <mount>Nikon F AF</mount>
> <mount>Sony Alpha</mount>
> <mount>Pentax KAF2</mount>
> <cropfactor>1</cropfactor>
> <calibration>
> ...
>
>
> So, when the file in ~/.local/share/lensfun is ignored, why is it
> ignored in /usr/share/lensfun ?
One other thing you might want to check is that at least one of the
slr-pentax.xml files somewhere in one of the database paths has all the
mappings (<compat> tags) between the many Pentax K-something mounts, as found
at the top of the current git version:
https://github.com/lensfun/lensfun/blob/master/data/db/slr-pentax.xml
The copy of this file shipped with 0.2.8 is very old, and incomplete in this
regard. If you've updated with the lensfun-update-data script, it should have
taken care of that, but it could be one reason that valid profiles don't show
up even for manual selection with a given camera.
> Can you provide a slr-tamron.xml which contains my Tamron 70-200 lens
> only for testing? Note, there are 3 Tamron 70-200, but only 1 for
> Pentax. I will replace this file in /usr/share/lensfun and delete the
> one in ~/.local/share/lensfun. Just to let you know, there is another
> user on the machine with local corrections. I cannot access this file,
> so it should not influence me.
The attached database file works for autoselection on my darktable built
against lensfun 0.3.2, both with the provided samples and the others I found.
Good luck!
--
jys
<lensdatabase>
<lens>
<maker>Tamron</maker>
<model>Tamron SP AF 70-200mm f/2.8 Di LD (IF) Macro (A001)</model>
<model lang="en">Tamron SP AF 70-200mm f/2.8 Di LD (IF) Macro</model>
<mount>Canon EF</mount>
<mount>Nikon F AF</mount>
<mount>Sony Alpha</mount>
<mount>Pentax KAF2</mount>
<cropfactor>1</cropfactor>
<calibration>
<!-- Taken with Nikon D700 -->
<distortion model="poly3" focal="70" k1="-0.00915"/>
<distortion model="poly3" focal="92" k1="-0.00355"/>
<distortion model="poly3" focal="120" k1="0.00108"/>
<distortion model="poly3" focal="145" k1="0.00556"/>
<distortion model="poly3" focal="200" k1="0.00775"/>
<tca model="poly3" focal="70" vr="1.0003920" vb="0.9998959"/>
<tca model="poly3" focal="92" vr="1.0001709" vb="0.9999495"/>
<tca model="poly3" focal="120" vr="1.0000178" vb="0.9999875"/>
<tca model="poly3" focal="145" vr="0.9999155" vb="1.0000171"/>
<tca model="poly3" focal="200" vr="0.9998438" vb="0.9999326"/>
</calibration>
</lens>
</lensdatabase>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lensfun-users mailing list
Lensfun-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lensfun-users