if geometry_status=2 then attributes_for_all=attributes_for_all2d else attributes_for_all=attributes_for_all3d end