as_feats function

Compute a layout for feat data