Texture repetition & Drawing lines issue with GLSL shaders

bump. please guide still stuck in this issue to generate proper texture and lines with sampler2DArray.