This paper proposes a method of selecting (autonomously) the artificial landmarks by Laser measurement, to establish the 2D obstacle map. Due to the error in the motion and measurement of the robot, the observed landmarks positions include the uncertainty. In this paper, we discuss the simultaneous laser type localization and map building (SLAM) problems. SLAM problem asks, is it possible for an autonomous vehicle to start in an unknown location in an unknown environment and then incrementally builds a map of this environment, while simultaneously using the map to compute the absolute vehicle location. From the results, we proved that a solution to the SLAM problem is indeed possible for 2D obstacle map. This implementation was made on Real time Player/Stage Robotics Software as well as the Matlab results were obtained, also we demonstrate how key issues such as, map management and data association can be handled in a practical environment.