Method and system for generating maps in an N-dimensional space