get_layer_geometry function

Get layer geometry