identify source type in layer tree