Skip to content
Back to skills

Mapping Localization

ASecurity

"Operate hloc pair generation, COLMAP/pycolmap mapping,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
toolspythonbashapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill mapping-localization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mapping Localization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mapping Localization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-mapping-localization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-mapping-localization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mapping-localization
description: "Operate hloc pair generation, COLMAP/pycolmap mapping,
  triangulation, SfM localization, InLoc localization, and pose outputs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# mapping-localization

Use this sub-skill when the task is to turn prepared hloc features, retrieval descriptors, matches, image lists, and/or existing camera poses into image pairs, COLMAP/pycolmap sparse models, triangulated reference models, or query poses.

## Route here for

- Pair files from exhaustive image sets, retrieval descriptors, covisibility, or known poses.
- `hloc.reconstruction.main` / `python -m hloc.reconstruction` sparse reconstruction.
- `hloc.triangulation.main` / `python -m hloc.triangulation` triangulation from known camera poses.
- `hloc.localize_sfm.main` / `python -m hloc.localize_sfm` query localization against a COLMAP/pycolmap SfM model.
- `hloc.localize_inloc.main` / `python -m hloc.localize_inloc` InLoc-style RGB-D scan localization.
- NVM-to-COLMAP import planning with `python -m hloc.colmap_from_nvm`.

## Route away

- Feature extractor, global descriptor, dense matcher, sparse matcher, or built-in config selection details: use `../feature-retrieval/`.
- Benchmark-specific directory/download/submission layouts such as Aachen, 4Seasons, RobotCar, or complete InLoc dataset setup: use `../dataset-pipelines/`.
- Creating custom extractors/matchers or external HDF5 feature/match exports: use `../custom-interop/`.

## Required operating contract

Before running mapping or localization, identify these artifacts explicitly:

1. Image root and any image/query list files.
2. Pair or retrieval file, with exactly two whitespace-separated image names per line.
3. HDF5 local features and HDF5 matches with hloc-compatible group/dataset names.
4. For reconstruction: output SfM directory, image directory, feature file, match file, and pair file.
5. For triangulation/localization: a reference COLMAP/pycolmap model directory with binary model files.
6. For query localization: query intrinsics list and output pose path.
7. For InLoc-style localization: retrieval pairs, query/database feature and match files, and scan/alignment files in the dataset tree.

Run the bundled validator when accepting user-supplied paths or text files:

```bash
python sub-skills/mapping-localization/scripts/validate_hloc_inputs.py \
  --workflow localize-sfm \
  --query-list queries_with_intrinsics.txt \
  --pairs retrieval.txt \
  --features features.h5 \
  --matches matches.h5 \
  --reference-model sfm_model
```

## References

- [Workflow recipes](references/workflows.md)
- [API and CLI reference](references/api-and-cli.md)
- [Data contracts](references/data-contracts.md)
- [Troubleshooting](references/troubleshooting.md)
- [Input validator](scripts/validate_hloc_inputs.py)

Files in this skill

  • SKILL.md2.8 KB
  • references/api-and-cli.md9 KB
  • references/data-contracts.md7.5 KB
  • references/troubleshooting.md7.7 KB
  • references/workflows.md12 KB
  • scripts/validate_hloc_inputs.py23.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.