truncate_layer function

Truncate a Feature Layer