Sweet thanks! And a happy new year :)
It works nice when I start a new game, but when I try using it in an already started game I get this error while it's scanning:
"The mod Resource Labels Updated (1.1.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event ResourceLabelsUpdated::on_tick (ID 0)
ResourceLabelsUpdated/control.lua:197: attempt to index field '?' (a nil value)
stack traceback:
ResourceLabelsUpdated/control.lua:197: in function 'createLabelForResourcePatch'
ResourceLabelsUpdated/control.lua:127: in function 'labelResourcesInArea'
ResourceLabelsUpdated/control.lua:106: in function 'func'
stdlib/stdlib/utils/table.lua:116: in function 'each'
ResourceLabelsUpdated/control.lua:105: in function 'handler'
stdlib/stdlib/event/event.lua:342: in function 'pcall'
stdlib/stdlib/event/event.lua:362: in function 'dispatch_event'
stdlib/stdlib/event/event.lua:438: in function <stdlib/stdlib/event/event.lua:396>"
I think it might have something do do with "Deep Core Mining" (https://mods.factorio.com/mod/vtk-deep-core-mining), when ore patches get mined there's a chance for a small ore patch with infinite yield of that ore to appear.
In a new game there are no such cracks yet, and it works without errors. I also tried loading a different map before I installed deep core mining, and the labeling works flawlessly. The deep core mining mod also adds natural deep core cracks around the map, these get labeled without problems.