A method for generating a map for augmented reality devices in an industrial facility comprising two or more subspaces , each sub space from the two or more sub spaces comprising a plurality of anchors , wherein the plurality of anchors of a corresponding sub space includes one or more anchors located in an area overlapping with another sub-space from the plurality of sub spaces , the method comprising: a. obtaining position information of a first subspace from the plurality of subspaces ; b. determining a coordinate system for the first sub space based on the obtained position information and a plurality of anchors of the first subspace ; and c. calculating a relative position and an orientation of at least one neighboring subspace based on the determined coordinate system, for generating the map based on the position information of the first sub space and the relative position of the at least one neighboring subspace , wherein the at least one neighboring subspace includes one or more anchors in an area overlapping the first subspace , calculating the relative position and the orientation of the at least one neighbouring subspace further comprises generating a graph associated with the two or more sub spaces , wherein the graph comprises a plurality of nodes and edges, each node from the plurality of nodes is associated with one of a sub space from the two or more sub spaces and an anchor from a first set of anchors , wherein each anchor from the first set of anchors is in at least one area overlapping a one sub space and another sub space from the two or more sub spaces , choosing a first sub space from the two or more sub spaces as an initial sub space, and performing a depth-first search of the graph wherein performing the depth-first search includes calculating relative transforms of one or more sub spaces with respect to the first sub-space using one or more transform matrix multiplications. a. obtaining position information of a first subspace from the plurality of subspaces ; b. determining a coordinate system for the first sub space based on the obtained position information and a plurality of anchors of the first subspace ; and c. calculating a relative position and an orientation of at least one neighboring subspace based on the determined coordinate system, for generating the map based on the position information of the first sub space and the relative position of the at least one neighboring subspace , wherein the at least one neighboring subspace includes one or more anchors in an area overlapping the first subspace , generating a graph associated with the two or more sub spaces , wherein the graph comprises a plurality of nodes and edges, each node from the plurality of nodes is associated with one of a sub space from the two or more sub spaces and an anchor from a first set of anchors , wherein each anchor from the first set of anchors is in at least one area overlapping a one sub space and another sub space from the two or more sub spaces , choosing a first sub space from the two or more sub spaces as an initial sub space, and performing a depth-first search of the graph wherein performing the depth-first search includes calculating relative transforms of one or more sub spaces with respect to the first sub-space using one or more transform matrix multiplications. <EOS>