summarize_layer function

Summarize geometry of a layer