Nitrogen compounds at mines and quarries