A .zip file is the ROS Occupancy Grid format. Programs that open ROS Grid: ROS, ROS 2, Nav2. Below is an OpenStreetMap map in ROS Grid format for any city or site.
Occupancy Grid는 ROS/ROS 2에서 로봇과 자율 내비게이션을 위한 지도 형식입니다. 지도는 래스터 이미지(PGM)로, 각 픽셀은 '비어 있음', '점유됨', '알 수 없음' 중 하나입니다. SLAM, 경로 계획, Nav2에 사용됩니다.
OpenStreetMap data as of 26 October 2026 · 33 days ago
주요 기능

ROS Grid 형식 소개
An occupancy grid is how a mobile robot sees the world: the territory is split into square cells, each marked as free, occupied or unknown. In ROS and ROS 2 such a map is stored as a pair of files — a raster .pgm and a .yaml description — served through map_server, and the Nav2 planners build a route on it.
Usually the robot builds such a map itself, driving around the territory with a scanner. A map from OpenStreetMap is needed where the robot has not driven yet: to model deliveries across a block, to test a planner on a real street and courtyard network, to prepare a scene for simulation, to give the robot an initial idea of the district.
What is inside: a ZIP with map.pgm (a black-and-white raster) and map.yaml with the resolution, the origin and the occupancy thresholds. Buildings, water and permanent barriers such as walls and fences become occupied cells; roads, sidewalks and parks become free ones; everything else stays unknown. The default resolution is 0.5 meters per pixel and can be set down to 0.1 meters; the raster side is capped at 10,000 pixels, so a large district has to be taken at a coarser resolution.
ROS Grid 파일을 여는 프로그램
다음 프로그램과 애플리케이션으로 OSM2CDR에서 내보낸 ROS Occupancy Grid(.zip) 파일을 열고 편집하고 작업할 수 있습니다:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- No attributes
- Output: 2 files in archive
- ROS occupancy grid map: .pgm raster + .yaml metadata (ZIP). For ROS / ROS 2 navigation stack (move_base, Nav2).
ROS Grid 지도 사용자
ROS Grid 내보내기 방법
내보낸 뒤 여는 방법
- ROS 1 — put both files next to each other and launch map_server with the path to map.yaml: the map will appear in the /map topic and in RViz.
- ROS 2 and Nav2 — the path to map.yaml is given in the nav2_map_server parameters inside the launch file, and from there the planner uses the map as is.
- RViz — Add > Map, topic /map: a quick way to make sure the walls and the passages are in place and the scale is right.
- Gazebo — the map works well as the base of a scene for simulating a drive before going out to a real test site.
- GIMP or any raster editor — the .pgm can be edited by hand: paint a closed zone black, a passage white, and leave gray for the unknown.
ROS Occupancy Grid 지도 내보내기 받기
OpenStreetMap에서 전문가용 ROS Grid 지도를 다운로드하세요. 즉시 생성, 모든 영역 지원.
자주 묻는 질문
What people who already downloaded say
Finally, maps can be downloaded as vectors. Thanks to the author!
Map: Ufa, AI
everything is really cool, I didn't expect I'd just come and download a piece of the map! thanks!!!
Map: Nizhny Novgorod, PMTiles
HUGE THANKS!!! A VERY GOOD PROGRAM!!! I was looking for a vector map where 3 countries meet - it helped a lot!!
Map: Kazakhstan and Altai, PDF
Well done! You've done a big and much-needed job!
Map: Roshchino, Leningrad Region, GeoTIFF
Ivan, thank you so much! Not just a man - a Great Man!
Map: Saratov Region, GeoJSON
ivan, you're simply a wonder. Thank you for an incredibly cool service
Map: Bogashevo near Tomsk, DXF
관련 형식
함께 자주 내보내는 형식
Related Articles
ROS Occupancy Grid: A City Map a Mobile Robot Can Navigate
A ROS occupancy grid: an image plus YAML, resolution and origin, three cell states, occupied and free thresholds, and a
usecaseTransport Simulation Formats: OpenDRIVE, SUMO, Lanelet2
OpenDRIVE, SUMO, Lanelet2 and ROS for transport simulation and autonomous driving. Export from OpenStreetMap.