Hi,
I have analyzed my geodata xmp problem.
Create and modify the geodata with the lua function 
Types.dt_lua_image_t.latitude, Types.dt_lua_image_t.longitude, 
Types.dt_lua_image_t.elevation works and modified the xmp file.

But if I delete the geodata, then the xmp file remains unchanged. After a 
darktable restart, then recognizes the difference between database and xmp 
file.

Have a look at the picture.
www.multimedia4linux.de/dt/lua_geodata_xmpfiles.jpg


I think I can fix the problem with the lua script

Holger

Am Sonntag, 12. Februar 2017, 11:35:37 CET schrieb Holger Klemm:
> Hello,
> I have looked at the Lua scripts geoToolbox.lua and clear_GPS.lua. Both
> scripts modify the geo tags in the database, but not in the XMP files.
> 
> I think in the LUA API 4.0.0 is missing a function for modifying the XMP
> files respectively when a change over
> Types.dt_lua_image_t.latitude
> Types.dt_lua_image_t.longitude
> Types.dt_lua_image_t.elevation
> Types.dt_lua_image_t.rating
> the xmp file should also be modified.
> 
> My work around is the XMP update  on startup, but that is not a good
> solution with a big database...
> 
> greeting
> Holger
> ___________________________________________________________________________
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to