getMeasurements function

Get simple shape variables, filtered according to filter