State mining departments turn tech-savvy to track mineral ores