create layers index from re3 schema