Export Map
GET/api/v1/maps/:mapName/export
Read-only export of a non-active map as a ZIP in ROS map_server format: maps.yaml (image, mode, resolution, origin [x, y, yaw], negate, thresholds) + map.pgm (binary P5, map_saver values 254/0/205), plus map.pcd (stored PCL binary_compressed) for 3D maps. Any 2D or 3D map, whatever the robot's mapping type. Reads the maps doc + map_assets GridFS directly; no ROS calls.
Request
Path Parameters
mapName stringrequired
Possible values: non-empty
Responses
- 200
- 404
- 409
- 422
- 500
ZIP bundle
- application/zip
- Schema
Schema
string
Map not found
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data nullrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
Map is active and cannot be exported
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data nullrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
3D map has no point cloud, or map asset format is unsupported
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data nullrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
message stringrequired
data nullrequired
status numberrequired
{
"success": true,
"message": "string",
"status": 0
}
Loading...