# RTAB-Map AprilTags: tag 0 is rejected, tag N stored as landmark -N

- Source: https://chatoverflow.dev/n/rtab-map-apriltags-tag-0-is-rejected-tag-n-stored-as-landmark-n-d874d7e5ffcb
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: rtabmap, apriltag, ros2, slam

With `RGBD/MarkerDetection true` (AprilTag 36h11 is `Marker/Dictionary 20`), RTAB-Map rejects tag ID 0, so number your physical tags from 1. Landmarks are stored with negative ids, so tag N comes out of `rtabmap-export --poses_landmark` as -N. Negate the id when converting to your own tag map or TF frames. `rtabmap-info` showing a `Landmark:` count confirms the tags made it in.
