Manuscript Offprint
arXiv:2610.27110MatchCityLoc: Aerial Localization in LoD City Models via Surface Normal Matching
Abstract
Autonomous Unmanned Aerial Vehicle (UAV) navigation in urban environments requires precise pose estimation. Because Global Navigation Satellite System (GNSS) signals are often unreliable in cities, visual localization serves as a crucial complement. Within this domain, textureless Level-of-Detail (LoD) city models provide a lightweight and privacy-preserving substitute for heavy 3D textured meshes. However, localizing against abstract geometry is challenging. Existing pipelines typically score 2D silhouette overlaps, which can suffer from severe geometric ambiguities. We present MatchCityLoc, a framework that shifts this paradigm to direct feature matching from a noisy 6-DoF pose prior. By extracting surface normals from the query image using a zero-shot foundation model and matching them against rendered LoD normals, we establish explicit 3D-to-2D correspondences. This enables a Perspective-n-Point (PnP) pose solve, which we iteratively refine through a render-and-match loop. Experiments demonstrate strong pose recall and accurate translation and rotation among the evaluated off-the-shelf LoD-based methods with very few renderings. By bridging the modality gap between aerial imagery and texture-free geometry, MatchCityLoc enables accurate localization using lightweight, privacy-preserving city models.
1. Introduction
Unmanned Aerial Vehicles (UAVs) play a crucial role in modern applications ranging from infrastructure inspection and search and rescue [2, 28] to autonomous landing [11]. Operating in these complex environments often requires precise and robust aerial visual localization. While drones are equipped with Inertial Measurement Units (IMUs), Global Navigation Satellite System (GNSS) does not provide full pose information and its signals are often

2D Score-based Pose Selection
(a) Silhouette Alignment (Prior Work)

3D Pose Solver (PnP)
Refine
(b) Render-and-match (MatchCityLoc)
Figure 1. (a) Prior silhouette alignment extracts a 2D mask from the UAV image and evaluates thousands of rendered LoD masks to score poses. (b) MatchCityLoc shifts this paradigm to iterative render-and-match by extracting surface normals and matching them directly against a rendered LoD normal map. These matches are passed to an explicit 3D pose solver (PnP), enabling pose refinement with a few renderings.
degraded in complex environments. Therefore, UAVs must rely on onboard cameras to determine their pose.
Traditional visual localization methods depend heavily on dense 3D maps or photogrammetry models [20, 25, 30]. While accurate, these representations are exceedingly memory-intensive and expensive to acquire. They also pose significant privacy concerns due to their high-fidelity textures [19, 34]. Alternatively, orthographic geodata provides a more storage-efficient option [3, 4]. However, using orthophotos introduces a massive view gap. Orthophotos capture the scene from a strict nadir perspective, whereas UAVs navigate with highly diverse viewpoints. This perspective discrepancy, coupled with the lack of detailed 3D facade geometry and vulnerability to radiometric shifts like cast shadows, makes orthophoto-based matching challenging.
To overcome the heavy memory footprint of dense meshes, recent approaches [18, 21, 34, 35] have turned to Level-of-Detail (LoD) city models. These models are globally available, lightweight, and inherently privacy-preserving since they discard visual textures [10, 31, 34].
Despite these advantages, localization remains geometrically ambiguous. LoD-Loc [34] and LoD-Loc v2 [35] align predicted wireframes or silhouettes with 2D renderings (Fig. 1a). LoD-Loc v3 [21] adds instance segmentation, while SemCityLoc [18] incorporates semantic surfaces and depth-based 3D cues to improve the pose-scoring landscape. Concurrent PlanarCityLoc [5] goes further by grounding matched planes in 3D for pose refinement, but first establishes coarse alignment through render-and-score search. We instead match surface normals directly from the supplied pose prior and lift the matches to 3D, bypassing this initial alignment search.
We address this ambiguity geometrically, introducing an iterative “render-and-match” approach (Fig. 1b). Rather than relying on exhaustive silhouette alignment, MatchCityLoc solves the localization problem geometrically by performing direct 2D-2D feature matching between the UAV image and the LoD city model. At first glance, direct feature matching might seem intractable because LoD models lack visual textures. Our core insight is that surface orientation bridges this modality gap. By extracting normal predictions from the UAV image and matching them against rendered surface normal maps from the LoD models, we can establish highly accurate correspondences. Surface normals intrinsically encode robust geometric cues that are invariant to lighting and texture. This allows us to leverage off-the-shelf foundation feature matching models [6, 7, 14, 23] to find dense matches without any domain-specific training.
Building on this insight, MatchCityLoc introduces an iterative pose refinement framework. Given a noisy position-and-orientation prior and known intrinsics, we render the LoD normals. We then perform dense matching between the predicted image normals and the rendered LoD normals. Next, we lift these 2D matches into explicit 3D correspondences and solve for the updated camera pose via a Perspective-n-Point (PnP) solver [8]. This loop iteratively refines the pose, with most gains in two to three updates. By capitalizing on the structural details of LoD2 and LoD3 city models, our approach effectively overcomes the severe geometric ambiguities that plague silhouette-based methods.
In summary, our main contributions are:
• We introduce MatchCityLoc, an iterative render-and-match framework for aerial localization that explicitly solves the 3D pose, avoiding exhaustive silhouette search.
• We identify surface normals as an ideal geometric bridge between real images and textureless LoD models, enabling zero-shot dense matching.
• We achieve strong zero-shot pose recall and accurate translation and rotation on three benchmarks against off-the-shelf LoD-based methods.
Mesh-based localization. Several methods align images directly against 3D meshes. MeshLoc [20] demonstrated localization using raw, uncolored dense geometry, while others formulated iterative render-and-compare pipelines over textured meshes [32]. NormalLoc [1] learns retrieval and matching between RGB queries and a database of rendered normal images, then lifts matches to 3D for pose estimation. MatchCityLoc instead predicts query normals and performs normal-to-normal matching from a supplied pose prior, without a rendered-view database or training new retrieval and matching networks.
LoD-based localization. Because LoD models lack visual texture, recent methods typically align abstract geometric cues in 2D. LoD-Loc [34] aligns predicted wireframes with rendered edges, while LoD-Loc v2 [35] aligns building silhouettes. Distinct poses can nevertheless yield similar masks. LoD-Loc v3 [21] adds instance segmentation, and SemCityLoc [18] incorporates semantic surfaces and depth-based 3D cues into pose scoring. Concurrent PlanarCityLoc [5] establishes explicit 2D-to-3D plane correspondences for PnP refinement after coarse render-and-score alignment and particle filtering. MatchCityLoc instead matches normal maps directly from the pose prior and lifts correspondences through rendered depth. This removes the initial hypothesis search and requires only one rendered view per refinement step.
Monocular geometry foundation models. Recent foundation models like Metric3D v2 [15], GeoWizard [9], and Lotus [13] can directly predict monocular depth and normals. Monocular depth can suffer from scale errors in aerial views [12]. Because surface orientation does not suffer from scaling ambiguities, we utilize the MoGe-2 [29] foundation model to extract normal maps zero-shot, recovering metric 3D coordinates from the LoD geometry via feature matching.
Dense feature matching. Traditional sparse matchers like SuperGlue [24] and LightGlue [17] excel on textured imagery but can struggle in textureless environments. Detector-free dense matchers like LoFTR [26] remove reliance on explicit keypoints. Foundation matchers such
(a) Geometry Prediction
(b) Iterative Render-and-Match

Figure 2. MatchCityLoc pipeline overview. (1) Given a UAV query image and a noisy 6-DoF pose prior , we predict a dense surface normal map zero-shot. (2) We then iteratively refine the pose up to times by rendering an expected normal map from the LoD model, matching against to establish dense 2D correspondences , lifting them to 3D via rendered depth, and solving for with PnP-RANSAC.
as RoMa [6] provide dense correspondences, while MINIMA [23] and MatchAnything [14] explicitly handle cross-modal data. By matching predicted image normals against rendered LoD normals, we transform image-to-geometry matching into a normal-to-normal task. We employ RoMa with MINIMA cross-modal weights, including normal-map training, without dataset-specific adaptation.
3. Method
3.1. Overview
As illustrated in Fig. 2, MatchCityLoc estimates an accurate 6-Degree-of-Freedom (6-DoF) camera pose , consisting of rotation and translation , given a single UAV RGB query image and a noisy initial pose prior provided by onboard sensors. To localize the UAV directly against a textureless 3D LoD city model , we propose an iterative 3D-grounded feature matching pipeline that leverages surface normals as a domain-invariant representation. The method consists of three main stages: extracting precise surface normals from the UAV image, establishing normal-to-normal matches against rendered maps, and solving for the updated camera pose via PnP-RANSAC in an iterative render-and-match loop.
3.2. Geometry Prediction via Foundation Models
The core challenge in matching real UAV imagery against abstract LoD models is the massive modality gap. Instead

Figure 3. Iterative render-and-match. The query image and its predicted normals are matched against the rendered normals at each step . LoD edge overlays at the resulting pose show progressive alignment. Translation error (T.e.) and rotation error (R.e.) are reported in meters and degrees, respectively. This example shows three updates. The general loop allows at most updates, with early stopping.
of relying on depth estimation, which suffers from inherent scale ambiguity and local inaccuracies in aerial scenarios, we utilize surface normals to bridge this gap. Surface orientation provides robust geometric cues that are invariant to 3D scale. A pretrained normal estimator extracts a dense surface normal map from the input query:
Crucially, this step operates in a purely zero-shot manner without requiring any fine-tuning or aerial domain adaptation.
3.3. Iterative Render-and-Match Pipeline
With the query normal map extracted, we adopt an iterative render-and-compare framework inspired by Yan et al. [32] to align a virtual camera with the true query pose.
Initialization and rendering. Let denote the camera pose at iteration , initialized as . From this pose, we project the 3D LoD city model into the camera view using a standard graphics pipeline. Let denote the camera intrinsics. We define a projection operator that renders the expected surface normal map :
The rendered normal map captures the ideal geometric structure of the scene from the current viewpoint.
Normal-to-normal matching. We encode both predicted and rendered camera-frame normals as RGB images using the same component-wise color mapping. Each normal's components are mapped from to the RGB range by . This lets a pretrained image matcher process surface orientation as a three-channel image. The dense matcher establishes 2D correspondences between these encoded maps:
where and denote corresponding pixel coordinates in the query and rendered images, respectively. Utilizing dense matchers allows us to bypass sparse keypoint extraction, which frequently fails in textureless regions, and directly secure highly robust matches.
Lifting to 3D and pose update. Given the set of dense 2D-to-2D correspondences, we further discard any matches that land on invalid regions where the LoD geometry is undefined (i.e., lacking depth information). For each valid correspondence in , we query its depth from the depth map obtained implicitly during rasterization, lifting the 2D pixel into explicit 3D world coordinates :
where is the camera-to-world pose and is the homogeneous coordinate of . This yields a set of reliable 3D-to-2D correspondences between the 3D LoD geometry and the 2D UAV image plane.
We then apply a PnP solver within RANSAC [8] to compute the updated 6-DoF camera pose . We frame this as a robust optimization problem minimizing the reprojection error of the 3D points derived from the previous pose:
where is the projection function and denotes the robust objective implemented by RANSAC consensus and iterative PnP. Each accepted pose update defines the next rendered normal map, and the cycle repeats within a fixed iteration budget. If PnP fails, the current pose is retained for the next iteration. Insufficient correspondences or excessive divergence from the prior terminate refinement, returning the last accepted pose, or the prior if no update succeeds. Solver settings are given in the supplement. By grounding matches in 3D, the loop constrains pose beyond silhouette overlap, as illustrated by the progressive alignment in Fig. 3.
4. Experiments
We evaluate MatchCityLoc against state-of-the-art aerial localization methods, covering experimental setup, quantitative comparisons on three benchmarks, and targeted ablations.
4.1. Experimental Setup
Datasets. We benchmark on three challenging aerial localization datasets:
• UAVD4L-LoD [34]: Mixed urban scenarios with LoD3 models. We evaluate all 1,604 in-Traj and 2,192 out-of-Traj queries.
• Swiss-EPFL [34]: High-altitude sequences over dense residential areas with complex topographies, evaluated on in-Place and out-of-Place splits using LoD2 models. This dataset contains systematic georeferencing errors [3, 18] and temporal discrepancies between the aerial imagery and the LoD models.
• SemCityLockeD [18]: Close-range urban canyon sequences. We evaluate 937 rectified queries with LoD2 and LoD3 models.
Evaluation metrics. Following the established protocol [21, 34, 35], we report median translation (m) and rotation (°) errors, along with pose recall at three joint thresholds: 2m-2°, 3m-3°, and 5m-5°. All queries are evaluated, including those for which refinement terminates early, using the returned pose defined in Sec. 3.
Baselines. We compare against MC-Loc (with RoMa and DINov2 features), LoD-Loc [34], LoD-Loc v2 [35], LoD-Loc v3 [21], and SemCityLoc [18]. We also include the reported full-pipeline results of concurrent PlanarCity-Loc [5], using MoGe-2 ViT-S and SAM3, in Tab. 1. Our reruns (†) use the publicly available nvdiffrast renderer [16] for efficient, reproducible evaluation. Alongside off-the-shelf segmentation, we evaluate oracle variants that replace predicted masks with masks rendered at the ground-truth pose. This isolates the effect of segmentation errors and assesses each adapted method under idealized mask observations. These controlled re-runs are reported separately from published results.
Implementation details. We instantiate the blocks in Fig. 2
| Method | Vision Model | Setup | UAVD4L-LoD | Swiss-EPFL | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| in-Traj. | out-of-Traj. | in-Place | out-of-Place | |||||||||||||||
| 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | |||
| Sensor priors | - | - | 0.00 | 0.00 | 4.30 | 6.48/1.63 | 0.00 | 0.00 | 0.36 | 11.12/1.33 | 0.00 | 0.00 | 0.56 | 17.59/3.86 | 0.00 | 0.00 | 1.06 | 17.88/3.94 |
| Textured Mesh-based Models | ||||||||||||||||||
| UAVLoc [30] | LoFTR | O | 84.98 | 88.09 | 88.90 | 0.81/0.29 | 91.56 | 92.02 | 92.11 | 0.79/0.20 | 26.40 | 46.21 | 62.22 | 3.06/1.86 | 68.87 | 81.00 | 84.96 | 1.12/1.08 |
| UAVLoc [30] | RoMa | O | 93.27 | 93.70 | 93.77 | 0.78/0.25 | 95.03 | 95.53 | 95.53 | 0.73/0.22 | 45.95 | 66.77 | 80.73 | 2.08/1.29 | 89.18 | 89.68 | 98.84 | 0.77/1.04 |
| LoD-based ModelsRequires Training | ||||||||||||||||||
| LoD-Loc [34] | Custom U-Net | I | 49.56 | 71.82 | 89.09 | 3.32/1.48 | 54.20 | 75.05 | 89.51 | 3.33/1.18 | 36.79 | 50.56 | 69.77 | 2.87/1.78 | 14.24 | 31.39 | 59.89 | 8.73/2.78 |
| LoD-Loc v2 [35] | SAM2 + U-Net | I | 93.70 | 98.40 | 99.50 | 0.72/0.15 | 97.90 | 99.80 | 100.00 | 0.71/0.14 | 54.20 | 74.60 | 92.00 | 1.83/0.85 | 31.40 | 58.53 | 86.30 | 2.64/0.73 |
| LoD-Loc v3 [21] | SAM-Prompter | C* | 97.60 | 98.90 | 99.70 | 0.49/0.13 | 97.40 | 99.00 | 99.40 | 0.60/0.12 | 58.60 | 79.90 | 95.40 | 1.61/0.77 | 36.90 | 64.10 | 88.90 | 2.43/0.83 |
| SemCityLoc† [18] | DINov3+DPT | I | 70.45 | 92.96 | 99.19 | 1.68/0.19 | 89.64 | 98.40 | 99.95 | 1.26/0.14 | 33.99 | 50.70 | 62.36 | 7.13/1.31 | 35.36 | 62.01 | 89.18 | 3.09/0.93 |
| Oracle (GT masks) | ||||||||||||||||||
| LoD-Loc v2† [35] | - | GT | 57.17 | 78.80 | 92.83 | 1.85/1.23 | 64.92 | 94.48 | 98.27 | 1.76/0.94 | 74.86 | 90.59 | 93.54 | 1.36/0.85 | 43.27 | 75.20 | 93.93 | 2.15/0.78 |
| LoD-Loc v3† [21] | - | GT | 54.49 | 78.74 | 90.65 | 1.87/1.23 | 41.33 | 83.76 | 96.40 | 2.15/0.95 | 56.32 | 72.19 | 78.93 | 1.79/0.91 | 40.11 | 73.61 | 93.93 | 2.27/0.79 |
| SemCityLoc† [18] | - | GT | 94.76 | 99.56 | 100.00 | 0.68/0.38 | 92.20 | 95.71 | 97.22 | 0.54/0.24 | 70.51 | 78.51 | 83.99 | 1.09/0.59 | 72.82 | 79.42 | 85.49 | 0.90/0.29 |
| Off-the-shelf | ||||||||||||||||||
| MC-Loc [27] | DINov2 | O | 1.20 | 4.10 | 17.40 | 8.29/2.58 | 2.40 | 7.40 | 26.10 | 7.02/2.29 | 0.90 | 4.40 | 17.50 | 8.18/2.54 | 2.90 | 9.00 | 30.20 | 6.23/1.97 |
| MC-Loc [27] | RoMa | O | 0.10 | 0.60 | 3.30 | 10.60/8.60 | 0.20 | 0.90 | 3.30 | 16.90/3.88 | 0.20 | 1.20 | 4.80 | 9.80/2.65 | 0.70 | 2.10 | 11.50 | 10.30/3.97 |
| LoD-Loc v2† [35] | SAM3 | O | 35.72 | 67.77 | 81.48 | 2.33/1.27 | 64.28 | 93.34 | 98.18 | 1.77/0.95 | 9.41 | 19.94 | 39.75 | 6.51/1.83 | 17.41 | 32.98 | 66.23 | 3.90/1.33 |
| SemCityLoc† [18] | SAM3 | O | 63.84 | 88.03 | 96.32 | 1.67/0.81 | 69.07 | 87.45 | 94.57 | 1.49/0.62 | 0.00 | 0.00 | 0.00 | 47.50/10.10 | 0.00 | 0.00 | 0.00 | 46.22/9.02 |
| PlanarCityLoc [5] | MoGe-2 + SAM3 | O | 75.4 | 90.8 | 97.2 | 1.28/0.68 | 80.6 | 95.1 | 99.0 | 1.26/0.69 | 20.6 | 39.0 | 59.7 | 3.70/1.90 | 48.5 | 72.3 | 89.4 | 1.98/1.21 |
| MatchCityLoc (Ours) | MINIMA (RoMa) | O | 92.64 | 96.13 | 98.44 | 0.62/0.34 | 94.66 | 98.45 | 99.22 | 0.66/0.28 | 45.51 | 62.64 | 74.16 | 2.02/1.64 | 72.82 | 86.02 | 89.71 | 0.99/1.16 |
Table 1. Visual localization on UAVD4L-LoD and Swiss-EPFL queries. Our results and adapted re-runs ( ) use LoD3 and LoD2 maps, respectively. Published rows retain source protocols, including the LoD1 extensions UAVD4L-LoDv2 and Swiss-EPFLv2 for LoD-Loc v2, LoD-Loc v3, and MC-Loc. T.e./R.e.: median translation (m) and rotation ( ). SemCityLoc reports mean translation/yaw. Bold/underline: best/second within each group, not a matched-map ranking across source protocols. Oracle evaluation settings are in the supplement. Setup: Off-the-shelf, In-domain training, C*: training on InsLoD-Loc [21], GT: ground-truth masks.
| Method | Vision Model | Setup | LoD2 model | LoD3 model | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | |||
| Sensor priors | - | - | 0.00 | 0.00 | 0.00 | 13.89/2.35 | 0.00 | 0.00 | 0.00 | 13.89/2.35 |
| LoD-based ModelsRequires training (published) | ||||||||||
| LoD-Loc [34] | Custom U-Net | I | 35.11 | 47.87 | 53.19 | 9.89/1.78 | - | - | - | -/- |
| SemCityLoc [18] | DINov3+DPT | I | 69.15 | 84.04 | 89.36 | 2.62/0.42 | 70.21 | 75.53 | 89.36 | 2.48/0.50 |
| Oracle | ||||||||||
| LoD-Loc v2 [35] | - | GT | 79.08 | 79.40 | 80.90 | 0.17/0.10 | 78.01 | 78.76 | 80.79 | 0.17/0.11 |
| LoD-Loc v3 [21] | - | GT | 33.94 | 58.48 | 86.02 | 2.60/0.29 | 34.47 | 58.80 | 86.66 | 2.52/0.28 |
| SemCityLoc [18] | - | GT | 90.07 | 93.49 | 95.73 | 0.52/0.42 | 93.28 | 94.34 | 95.52 | 0.50/0.41 |
| Off-the-shelf | ||||||||||
| MC-Loc [27] | DINov2 | O | 5.32 | 8.51 | 18.09 | 10.71/5.90 | - | - | - | -/- |
| MC-Loc [27] | RoMa | O | 0.00 | 1.06 | 3.19 | 18.61/6.67 | - | - | - | -/- |
| LoD-Loc v2 [35] | SAM3 | O | 37.89 | 45.36 | 54.43 | 3.78/0.51 | 30.42 | 35.97 | 42.69 | 7.91/0.75 |
| SemCityLoc [18] | SAM3 | O | 49.73 | 61.37 | 72.47 | 1.93/1.16 | 49.63 | 60.73 | 71.08 | 1.84/1.20 |
| MatchCityLoc (Ours) | MINIMA (RoMa) | O | 59.12 | 68.41 | 77.16 | 1.45/1.14 | 70.33 | 79.94 | 86.34 | 0.87/0.81 |

Table 2. Visual localization comparison on SemCityLockeD. Adapted re-runs ( ) and our results use the complete rectified query set. : original source protocols with mean translation/yaw errors, unlike our median translation/full-rotation errors. Bold/underline: best/second within each comparable setup, excluding published source protocols. Setup definitions follow Tab. 1.
Figure 4. Iterative refinement. Pose recall and median errors across updates on UAVD4L-LoD (LoD3).
with MoGe-2 [29] (ViT-S) for normal prediction, nvd-iffrast [16] for rendering, RoMa [6] with MINIMA [23] weights for matching, and OpenCV PnP-RANSAC for pose estimation. All learned components are used without dataset-specific fine-tuning. We use benchmark-provided position-and-orientation priors, shared with the adapted baselines, and calibrated intrinsics. Main results allow up to three refinement updates on UAVD4L-LoD and five on Swiss-EPFL and SemCityLockeD. Separate ablation settings are specified in Sec. 4.3 and the supplement.
Runtime and memory. Refinement averages 1.44 s per update on an RTX 4070, plus 0.28 s once per query for normal prediction. These averages come from a two-update UAVD4L-LoD profile, excluding initialization and image I/O, with a device-wide peak of 10.71 GiB. Fewer renderings do not imply faster execution than silhouette search, since dense matching is costly. The supplement gives the per-stage breakdown and profiling configuration.

Figure 5. Qualitative comparison across UAVD4L-LoD, Swiss-EPFL, and SemCityLockeD. Each panel blends LoD surface normals rendered at the predicted pose over the UAV image (red: LoD edges). T.e./R.e.: translation error (m) and rotation error (°) vs. ground truth. LoD-Loc v2 [35] and SemCityLoc [18] with off-the-shelf masks. LoD-Loc v3 [21] with oracle masks.
4.2. Results
As shown in Tab. 1 and Tab. 2, MatchCityLoc achieves strong joint pose recall and accurate translation and rotation across all three benchmarks without dataset-specific fine-tuning.
UAVD4L-LoD [34]. MatchCityLoc outperforms the listed off-the-shelf LoD-based baselines at the reported recall thresholds and achieves the lowest median translation and rotation errors within this group on both splits. Published results retain their source map and evaluation protocols (Tab. 1). With GT masks, SemCityLoc exceeds our in-Traj recall but has lower out-of-Traj recall. These oracle conditions are distinct from the off-the-shelf comparison. UAVLoc-RoMa uses textured meshes and performs better on some metrics.
Swiss-EPFL [34]. Systematic georeferencing errors [3, 18] and outdated LoD models complicate silhouette alignment on this dataset. Dense matching can use mutually visible structures despite local map differences. MatchCityLoc achieves the lowest median translation and rotation errors among the listed off-the-shelf LoD-based methods on both splits, including PlanarCityLoc. The published trained results provide additional context but use their original map and evaluation protocols.
SemCityLockeD [18]. MatchCityLoc improves recall
Swiss-EPFL
LoD-Loc v2†

LoD-Loc v3‡
SemCityLoc†
MatchCityLoc (Ours)
SemCityLockeD
Figure 6. Challenging failure modes of silhouette alignment. Each panel blends LoD normals at the predicted pose over the UAV image (red: LoD edges). Top (Swiss-EPFL): construction-site temporal mismatch. Bottom (SemCityLockeD): facade-saturated view where a single wall fills the frame. T.e./R.e.: translation error (m) and rotation error (°). † off-the-shelf masks. ‡ oracle masks.
and median translation error over the adapted off-the-shelf silhouette baselines with both LoD2 and LoD3 models (Tab. 2). The gains across both map levels suggest that surface orientation provides useful constraints in close-range urban scenes beyond mask overlap. GT-mask baselines remain stronger on several metrics, indicating that segmentation quality is an important factor in this comparison.
Qualitative analysis. Fig. 5 shows representative frames across all evaluation splits. Silhouette-based baselines frequently produce visually plausible LoD edge overlays despite large translation errors, because outer contour matching provides weak geometric constraints. MatchCityLoc resolves this ambiguity by matching internal surface orientations, refining noisy pose priors in these examples. Furthermore, Fig. 6 highlights two challenging failure modes of silhouette alignment. In Swiss-EPFL (top row), a temporal mismatch where the LoD contains a finished building while the UAV image shows an active construction site causes LoD-Loc v2 to produce a large misalignment, whereas MatchCityLoc recovers sub-meter translation accuracy. In SemCityLockeD (bottom row), a facade-saturated view at high oblique incurs large translation errors for all silhouette baselines despite visually plausible overlays, while our method attains sub-meter translation accuracy by matching internal facade orientations (window frames, wall planes) rather than outer contours.
4.3. Ablation Studies
We validate the core components on UAVD4L-LoD and sensitivity to LoD abstraction on SemCityLockeD. Modality and matcher comparisons use three updates, and normal predictors use four. Their reference results use separate normal-prediction and matcher preprocessing from the main comparison, detailed in the supplement, with the same queries and pose priors.
Iterative pose refinement. We assess the benefit of our render-and-match loop by comparing a one-shot prediction against multiple iterations of the full render-and-match pipeline. As shown in Fig. 4, most gains occur within two to three updates, with non-monotonic changes thereafter. All queries from one run per split are included.
Matching modalities. To validate the choice of surface normals for establishing 2D-to-3D correspondences, we compare it against depth and raw RGB modalities. As shown in Tab. 3, normal-to-normal matching outperforms all cross-modal alternatives by a clear margin. Surface normals encode 3D structural orientation and are invariant to lighting, making them a more discriminative descriptor than depth or raw RGB for the untextured LoD domain.
| UAV | LoD | in-Traj. / out-of-Traj. | |||
|---|---|---|---|---|---|
| 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | ||
| RGB | Depth | 57.61 / 61.22 | 64.03 / 67.93 | 70.95 / 71.94 | 1.40/0.78 / 1.35/0.65 |
| RGB | Normals | 77.81 / 83.90 | 83.23 / 89.10 | 88.53 / 92.02 | 0.74/0.40 / 0.74/0.30 |
| Depth | Normals | 73.38 / 79.24 | 83.29 / 86.82 | 91.21 / 92.84 | 1.07/0.59 / 1.02/0.48 |
| Depth | Depth | 83.42 / 88.32 | 89.65 / 94.75 | 94.08 / 97.63 | 0.81/0.42 / 0.85/0.35 |
| Normals* | Normals* | 93.64 / 95.48 | 96.20 / 97.99 | 98.69 / 99.27 | 0.58/0.31 / 0.64/0.27 |
- Reference configuration.
Table 3. Matching modalities (UAVD4L-LoD, LoD3). Normal-to-normal matching performs best. T.e./R.e.: median translation (m) and rotation (°) error.
Matching algorithms. We evaluate the impact of using a domain-aware matcher by comparing MINIMA against standard off-the-shelf RGB matchers. As shown in Tab. 4, MINIMA [23] consistently outperforms standard RGB matchers. Its cross-modal pre-training on normal maps is the decisive factor: RoMa without MINIMA weights is already a strong baseline, but the domain-aware finetuning closes the remaining gap.
Normal predictor models. We compare normal predictors and MoGe-2 backbone capacities in Tab. 5. MoGe-2 ViT-S is competitive with the heavier backbones, supporting its
| Matching algorithm | in-Traj. / out-of-Traj. | ||||
|---|---|---|---|---|---|
| 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | ||
| SPP + SuperGlue | 73.38 / 66.83 | 81.42 / 79.11 | 87.09 / 84.95 | 1.20/0.70 / 1.36/0.68 | |
| XFeat | 26.93 / 18.11 | 44.20 / 30.98 | 62.09 / 51.41 | 3.50/1.65 / 4.78/2.01 | |
| LightGlue | 53.99 / 52.01 | 63.59 / 64.78 | 73.94 / 73.36 | 1.78/1.00 / 1.89/0.94 | |
| LoFTR | 62.22 / 59.95 | 70.51 / 66.97 | 78.49 / 70.57 | 1.28/0.75 / 1.41/0.68 | |
| DKM | 16.90 / 15.15 | 22.13 / 19.21 | 30.42 / 22.67 | 6.03/1.49 / 9.58/1.31 | |
| RoMa | 85.47 / 91.06 | 91.08 / 95.44 | 93.39 / 96.62 | 0.66/0.37 / 0.73/0.31 | |
| MINIMA (RoMa)* | 93.64 / 95.48 | 96.20 / 97.99 | 98.69 / 99.27 | 0.58/0.31 / 0.64/0.27 | |
*Reference configuration.
Table 4. Matching algorithms (UAVD4L-LoD, LoD3). MINIMA outperforms the evaluated RGB matchers. T.e./R.e.: median translation (m) and rotation (°) error.
use as a compact normal predictor.
| Model | Backbone | in-Traj. / out-of-Traj. | ||||
|---|---|---|---|---|---|---|
| 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ | |||
| Metric3D | ViT-S | 81.36 / 89.64 | 87.47 / 95.57 | 91.77 / 97.90 | 0.84/0.49 / 0.81/0.36 | |
| Metric3D | ViT-L | 79.18 / 88.50 | 86.78 / 94.80 | 92.58 / 97.58 | 0.84/0.55 / 0.84/0.43 | |
| Metric3D | ViT-G | 95.45 / 94.34 | 97.63 / 97.26 | 99.50 / 98.45 | 0.54/0.30 / 0.67/0.27 | |
| MoGe-2* | ViT-S* | 93.33 / 95.21 | 96.20 / 97.95 | 98.13 / 98.95 | 0.58/0.31 / 0.66/0.28 | |
| MoGe-2 | ViT-B | 94.39 / 95.80 | 97.07 / 98.49 | 98.32 / 99.18 | 0.55/0.30 / 0.64/0.26 | |
| MoGe-2 | ViT-L | 94.26 / 95.99 | 96.76 / 98.63 | 98.44 / 99.18 | 0.53/0.29 / 0.64/0.26 | |
*Reference configuration.
Table 5. Normal predictor models (UAVD4L-LoD, LoD3). All rows cover the complete splits at four updates. MoGe-2 ViT-S is competitive with the heavier backbones. T.e./R.e.: median translation (m) and rotation (°) error.
Sensitivity to geometric abstraction (LoDs). To determine how much our method relies on explicit 3D structures, we evaluate localization performance across LoD1 (prismatic), LoD2 (roof shapes), and LoD3 (detailed architecture) models. As shown in Tab. 6, LoD1 flat-block models lack the roof and facade orientations needed for matching, causing a significant recall drop. Performance recovers strongly with LoD2. Moving from LoD2 to LoD3 further reduces median translation error from to and rotation error from to , supporting the value of richer surface geometry.
| City Model | 2m-2°↑ | 3m-3°↑ | 5m-5°↑ | T.e./R.e.↓ |
|---|---|---|---|---|
| LoD1 (Prismatic) | 14.09 | 26.04 | 40.45 | 7.00/3.26 |
| LoD2 (Roof shapes) | 59.12 | 68.41 | 77.16 | 1.45/1.14 |
| LoD3 (Detailed) | 70.33 | 79.94 | 86.34 | 0.87/0.81 |
Table 6. Sensitivity to Level-of-Detail (SemCityLockeD). LoD1 flat-block models lack the surface normal variation needed for matching, causing a large recall drop. Performance recovers strongly with LoD2, confirming the pipeline requires and exploits explicit 3D geometry. T.e./R.e.: median translation (m) and rotation (°) error.
4.4. Limitations
MatchCityLoc assumes distinct geometric structures and a sufficiently close full pose prior with overlapping mapped geometry. In flat terrains or dense forests lacking LoD geometry, rendered normal maps become uninformative, degrading matching. Second, close-range views require detailed city models. As shown in Fig. 7, MatchCityLoc achieves sub-meter translation accuracy with LoD3 but degrades with coarser LoD2 meshes that lack the window recesses and wall articulation needed for discriminative matching. Finally, accuracy is bounded by the quality of zero-shot normals: severe weather or motion blur that breaks predictions will compromise localization. The supplementary prior-noise experiment shows a narrower capture range in repetitive close-range scenes. Future work will integrate our framework with continuous filtering backends for persistent tracking, and optimize the pipeline for real-time inference on UAV platforms.

Figure 7. Impact of LoD detail on a close-facade view (SemCityLockeD). Top: query UAV image and MatchCityLoc overlays with LoD2 vs. LoD3 (LoD normals + red edges at predicted pose). Bottom: MoGe-predicted query normals and LoD normals rendered at the pose prior . T.e./R.e.: translation (m) and rotation () errors vs. ground truth.
5. Conclusion
We presented MatchCityLoc, a geometric approach for aerial localization in textureless LoD city models. By framing localization as normal-to-normal feature matching rather than pure 2D silhouette alignment, our method reduces pose ambiguities in dense urban environments. Leveraging foundation models, MatchCityLoc extracts surface normals zero-shot, eliminating the need for dataset-specific training. Extensive evaluations demonstrate that our PnP formulation achieves strong pose recall and accurate translation and rotation among evaluated off-the-shelf LoD-based methods and converges with very few rendering iterations.
References
[1] Jiro Abe, Gaku Nakano, and Kazumine Ogura. Normal-loc: Visual localization on textureless 3d models using surface normals. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 25421–25430, 2025. 2
[2] Yiming Cai, Yao Zhou, Hongwen Zhang, Yuli Xia, Peng Qiao, and Junsuo Zhao. Review of target geo-location algorithms for aerial remote sensing cameras without control points. Appl. Sci., 2022. 1
[3] Oussema Dhaouadi, Riccardo Marin, Johannes Meier, Jacques Kaiser, and Daniel Cremers. Ortholoc: Uav 6-dof localization and calibration using orthographic geodata. Advances in Neural Information Processing Systems, 38, 2025. 1, 2, 4, 6
[4] Oussema Dhaouadi, Zuria Bauer, Johannes Meier, Olaf Wysocki, Marc Pollefeys, and Daniel Cremers. Orthotrack: Continuous 6-dof uav trajectory estimation via orthophoto-anchored tracking. In European conference on computer vision. Springer, 2026. 1, 2, 15
[5] Oussema Dhaouadi, Shao Jie Hu-Chen, Jakob Gollreiter, Samir Jusufi, Nikolas Rieger, Caroline Wendlandt, Christian Wender, Jingfeng Mao, Guangming Wang, Zuria Bauer, Marc Pollefeys, Daniel Cremers, and Olaf Wysocki. PlanarCityLoc: Breaking silhouette ambiguity in LoD aerial localization via 3D planes. In IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2027. 2, 4, 5
[6] Johan Edstedt, Qiyu Sun, Georg Bökman, Mårten Wadenbäck, and Michael Felsberg. Roma: Robust dense feature matching. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 19790–19800, 2024. 2, 3, 5, 11, 12, 13
[7] Johan Edstedt, David Nordström, Yushan Zhang, Georg Bökman, Jonathan Astermark, Viktor Larsson, Anders Heyden, Fredrik Kahl, Mårten Wadenbäck, and Michael Felsberg. Roma v2: Harder better faster denser feature matching. arXiv preprint arXiv:2511.15706, 2025. 2
[8] Martin A Fischler and Robert C Bolles. Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Communications of the ACM, 24(6):381–395, 1981. 2, 4
[9] Xiao Fu, Wei Yin, Mu Hu, Kaixuan Wang, Yuexin Ma, Ping Tan, Shaojie Shen, Dahua Lin, and Xiaoxiao Long. Geowizard: Unleashing the diffusion priors for 3d geometry estimation from a single image. In European Conference on Computer Vision, pages 241–258. Springer, 2024. 2
[10] Gerhard Gröger, Thomas H Kolbe, Claus Nagel, and Karl-Heinz Häfele. OGC city geography markup language (CityGML) encoding standard. Open Geospatial Consortium: Wayland, 2012. 1
[11] Markus Gross, Andreas Greiner, Sai Bharadhwaj Matha, Felix Soest, Daniel Cremers, and Henri Meeß. SafeLand: Safe Autonomous Landing in Unknown Environments with Bayesian Semantic Mapping. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, 2026. 1
[12] Markus Gross, Sai B. Matha, Aya Fahmy, Rui Song, Daniel Cremers, and Henri Meess. OccuFly: A 3D Vision Benchmark for Semantic Scene Completion from the Aerial Perspective. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026. 2
[13] Jing He, Haodong Li, Wei Yin, Yixun Liang, Leheng Li, Kaiqiang Zhou, Hongbo Zhang, Bingbing Liu, and Ying-Cong Chen. Lotus: Diffusion-based visual foundation model for high-quality dense prediction. In International Conference on Learning Representations, pages 89454–89467, 2025. 2
[14] Xingyi He, Hao Yu, Sida Peng, Dongli Tan, Zehong Shen, Hujun Bao, and Xiaowei Zhou. Matchanything: Universal cross-modality image matching with large-scale pre-training. In Arxiv, 2025. 2, 3
[15] Mu Hu, Wei Yin, Chi Zhang, Zhipeng Cai, Xiaoxiao Long, Hao Chen, Kaixuan Wang, Gang Yu, Chunhua Shen, and Shaojie Shen. Metric3d v2: A versatile monocular geometric foundation model for zero-shot metric depth and surface normal estimation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(12):10579–10596, 2024. 2
[16] Samuli Laine, Janne Hellsten, Tero Karras, Yeongho Seol, Jaakko Lehtinen, and Timo Aila. Modular primitives for high-performance differentiable rendering. ACM Transactions on Graphics, 39(6), 2020. 4, 5, 11
[17] Philipp Lindenberger, Paul-Edouard Sarlin, and Marc Pollefeys. Lightglue: Local feature matching at light speed. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 17627–17638, 2023. 2
[18] Jingfeng Mao, Xuyang Chen, Qilin Zhang, Oussema Dhaouadi, Guangming Wang, Brian Sheil, Daniel Cremers, Yan Xia, and Olaf Wysocki. Semcityloc: Aerial 6dof localization using semantic 3d city models. In European conference on computer vision. Springer, 2026. 1, 2, 4, 5, 6, 11, 14, 15
[19] Francesco Nex, EK Stathopoulou, F Remondino, MY Yang, L Madhuanand, Yogender Yogender, B Alsadik, M Weinmann, B Jutzi, and R Qin. Usegeo-a uav-based multi-sensor dataset for geospatial research. ISPRS Open Journal of Photogrammetry and Remote Sensing, page 100070, 2024. 1
[20] Vojtech Panek, Zuzana Kukelova, and Torsten Sattler. MeshLoc: Mesh-based visual localization. In Proceedings of the European Conference on Computer Vision, pages 589–609, 2022. 1, 2
[21] Shuaibang Peng, Juelin Zhu, Xia Li, Kun Yang, Yu Liu, Maojun Zhang, and Shen Yan. Lod-loc v3: Generalized aerial localization in dense cities using instance silhouette alignment. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12193–12205, 2026. 1, 2, 4, 5, 6, 11
[22] Shuaibang Peng et al. LoD-Loc v3: Official implementation and inference assets. https://github.com/nudt-sawlab/LoD-Loc-v3, 2026. Accessed October 19, 2026. 11
[23] Jiangwei Ren, Xingyu Jiang, Zizhuo Li, Dingkang Liang, Xin Zhou, and Xiang Bai. Minima: Modality invariant image matching. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 23059–23068, 2025. 2, 3, 5, 7, 11, 12, 13, 15
[24] Paul-Edouard Sarlin, Daniel DeTone, Tomasz Malisiewicz, and Andrew Rabinovich. Superglue: Learning feature matching with graph neural networks. In CVPR, 2020. 2
[25] Johannes L Schonberger and Jan-Michael Frahm. Structure-from-motion revisited. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4104–4113, 2016. 1, 2
[26] Jiaming Sun, Zehong Shen, Yuang Wang, Hujun Bao, and Xiaowei Zhou. Loftr: Detector-free local feature matching with transformers. In CVPR, 2021. 2
[27] Gabriele Trivigno, Carlo Masone, Barbara Caputo, and Torsten Sattler. The unreasonable effectiveness of pre-trained features for camera pose refinement. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12786–12798, 2024. 5
[28] Daniel KD Villa, Alexandre S Brandao, and Mário Sarcinelli-Filho. A survey on load transportation using multirotor uavs. Journal of Intelligent & Robotic Systems, 98(2): 267–296, 2020. 1
[29] Ruicheng Wang, Sicheng Xu, Yue Dong, Yu Deng, Jianfeng Xiang, Zelong Lv, Guangzhong Sun, Xin Tong, and Jiaolong Yang. Moge-2: Accurate monocular geometry with metric scale and sharp details. Advances in Neural Information Processing Systems, 38:35928–35959, 2025. 2, 5, 11
[30] Rouwan Wu, Xiaoya Cheng, Juelin Zhu, Yuxiang Liu, Maojun Zhang, and Shen Yan. Uavd4l: A large-scale dataset for uav 6-dof localization. In 2024 International Conference on 3D Vision (3DV), pages 1574–1583. IEEE, 2024. 1, 5, 14, 15
[31] Olaf Wysocki, Benedikt Schwab, Christof Beil, Christoph Holst, and Thomas H Kolbe. Reviewing open data semantic 3d city models to develop novel 3d reconstruction methods. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 48:493–500, 2024. 1
[32] Shen Yan, Xiaoya Cheng, Yuxiang Liu, Juelin Zhu, Rouwan Wu, Yu Liu, and Maojun Zhang. Render-and-compare: Cross-view 6-dof localization from noisy prior. In 2023 IEEE International Conference on Multimedia and Expo (ICME), pages 2171–2176. IEEE, 2023. 2, 4
[33] Yibin Ye, Xichao Teng, Shuo Chen, Leqi Liu, Kun Wang, Xiaokai Song, and Zhang Li. Exploring the best way for UAV visual localization under low-altitude multi-view observation condition: A benchmark. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Findings, pages 1731–1741, 2026. 2
[34] Juelin Zhu, Shen Yan, Long Wang, Shengyue Zhang, Yu Liu, and Maojun Zhang. LoD-Loc: Aerial visual localization using LoD 3d map with neural wireframe alignment. Advances in Neural Information Processing Systems, 37: 119063–119098, 2024. 1, 2, 4, 5, 6, 11, 14, 15
[35] Juelin Zhu, Shuaibang Peng, Long Wang, Hanlin Tan, Yu Liu, Maojun Zhang, and Shen Yan. LoD-Loc v2: Aerial visual localization over low level-of-detail city models using explicit silhouette alignment. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 26610–26621, 2025. 1, 2, 4, 5, 6, 11
[36] Juelin Zhu et al. LoD-Loc v2: Official implementation. https://github.com/VictorZoo/LoD-Loc-v2, 2025. Accessed October 19, 2026. 11
Supplementary Material
A. Overview
As demonstrated in the main paper, MatchCityLoc achieves strong pose recall and accurate translation and rotation without dataset-specific fine-tuning. This supplement provides implementation and evaluation details in Sec. B, followed by runtime and memory analysis in Sec. C. We expand the main-paper modality and matcher ablations with qualitative comparisons in Sec. D, then present additional analyses of pose priors, map completeness, and normal prediction quality in Sec. E. Finally, we extend the main-paper limitations and discuss future work in Sec. F, followed by ethical considerations in Sec. G.
B. Implementation and Evaluation Details
We specify the correspondence filtering, pose refinement, and evaluation settings used in the experiments.
Pre-PnP match filtering. RoMa [6] with MINIMA [23] weights samples up to 2,000 correspondences. We discard matches outside the rendered image or with invalid depth. A robust homography fit with an 8-pixel threshold requires at least ten consistent matches as a validity check. All depth-valid matches are then lifted to 3D. Both normal maps use the same camera-frame encoding, and rendered depth is metric camera-z.
Pose solver parameters. We estimate pose with iterative PnP within RANSAC, using an 8-pixel reprojection threshold and at most 1,000 RANSAC iterations.
Early stopping. Refinement stops for insufficient correspondences or an update exceeding 45 m or 25° from the initial pose prior. A failed PnP solve leaves the current pose unchanged for the next iteration. Evaluation retains the last accepted pose, or the prior if no update succeeds.
Evaluation protocol. We use the position-and-orientation priors distributed with LoD-Loc [34] for UAVD4L-LoD and Swiss-EPFL, and the perturbed SemCityLoc [18] priors for SemCityLockeD. Our method and adapted baselines share these per-query priors without additional perturbations. Their initial accuracy appears in the main tables. Synthetic perturbations are introduced only in Sec. E.
Main evaluations allow three updates on UAVD4L-LoD and five on Swiss-EPFL and SemCityLockeD. Modality and matcher ablations use three updates and prior-noise analysis two. The normal-predictor ablation uses four updates for every predictor on both complete UAVD4L-LoD splits. Budgets are fixed within each comparison. Unless a subset is stated, all queries are evaluated at the last accepted pose or the prior if no update succeeds.
Main and ablation configurations. The main comparison resizes query images to a 320-pixel longest side before MoGe-2 normal prediction. Component ablations use standard predictor inference without this preliminary downsampling and matcher-specific input preprocessing. Both resample normal maps to pixels before matching. Their reference rows therefore represent distinct inference configurations, not repeated measurements of the main setup.
Oracle evaluation setup. For LoD-Loc v2 [35], LoD-Loc v3 [21], and SemCityLoc [18], oracle evaluations replace predicted segmentation with the masks required by each method, rendered from the city model at the ground-truth pose. This removes segmentation prediction errors and assesses pose estimation under idealized mask observations. Task-trained segmentation weights for LoD-Loc v2 and LoD-Loc v3, and the full InsLoD-Loc training set used by LoD-Loc v3, were unavailable for our evaluation. The public LoD-Loc v3 release provides example inference assets rather than this full training set [22].
The public implementations of LoD-Loc v2 and LoD-Loc v3 replace the original OpenSceneGraph-based renderer with Blender because of project-specific intellectual property restrictions [22, 36]. To make the repeated rendering of pose hypotheses practical across the full evaluation sets, we replace this Blender-based pipeline with GPU-batched nvdiffrast [16]. We therefore report these evaluations as adapted implementations, separately from the published results. The oracle isolates mask prediction errors within these adapted pipelines, rather than reproducing every component of the original methods.
C. Runtime and Memory Analysis
Table A1 separates one-time normal prediction from mean per-update runtime on an NVIDIA RTX 4070. The profile uses MoGe-2 ViT-S [29] and RoMa [6] with MINIMA [23] weights on UAVD4L-LoD (LoD3). Per-update values average the two refinement steps in the profiling run. Timings are measured after warm-up and exclude model initialization and image I/O.
Peak device-wide memory is 10.71 GiB. Dense matching and render preparation dominate the runtime, whereas PnP refinement contributes little. Normal prediction is performed only once per query. Although the method requires few rendered views, it is not yet real-time. Smaller matchers and accelerated rendering could reduce its computational cost.
D. Extended Analysis of Main-Paper Ablations
Matching modality ablation. Figure A1 provides a qualitative counterpart to the matching-modality ablation in Tab. 3. All modality pairs use the same query image and initial pose prior. In this example, normal-to-normal match-
RGB / Depth (1838 matches)
RGB / Normals (1656 matches)
Depth / Normals (1972 matches)
Normals / Normals (1982 matches) (default)
Query UAV

Query modality
LoD modality @
Normals+edges @
Normals+edges @ GT
Figure A1. Matching modality qualitative ablation. Alternative modality pairs for matching. The normals-to-normals configuration aligns the projected geometry with the building structure. T.e./R.e.: per-frame translation (m) and rotation (°) error.
| Stage | Time (s) ↓ |
|---|---|
| Once per query | |
| Normal prediction (MoGe-2 ViT-S) | 0.28 |
| Per refinement update | |
| Rendering / preparation (nvdiffrast) | 0.70 |
| Dense matching (MINIMA / RoMa) | 0.73 |
| PnP refinement | 0.01 |
| Total per update | 1.44 |
Table A1. MatchCityLoc runtime (UAVD4L-LoD, LoD3). Per-update averages include normal and depth rendering at each pose. Normal prediction is a separate one-time cost.
ing attains the lowest translation error and aligns the projected geometry with the observed structure. Cross-modal pairs remain less precise despite similar match counts, highlighting the importance of correspondence quality. Depth-based matching is also sensitive to scale errors and lo- cal inaccuracies in monocular predictions. Normal matching instead represents surface orientation consistently on both sides, while metric 3D coordinates come from the city model rather than predicted depth. These observations complement the aggregate pose accuracies reported in the main paper.
Matching algorithm ablation. Figure A2 expands the matching-algorithm ablation in Tab. 4 with correspondence visualizations. Standard matchers still find correspondences on normal maps, but they yield larger pose errors due to the imprecision of the 2D positions. RoMa [6] with MINIMA [23] weights produces more coherent matches and the most accurate overlay in this example. RoMa with its original weights also performs well, while MINIMA's cross-modal training further improves pose accuracy in Tab. 4.
E. Additional Robustness Analyses
Sensitivity to prior pose noise. We generate noisy pose priors by adding independent uniform translation compo-

Figure A2. Matching algorithm qualitative comparison. Comparison of dense and sparse matchers on the UAVD4L-LoD dataset. RoMa [6] with MINIMA [23] weights produces geometrically consistent correspondences. T.e./R.e.: per-frame translation (m) and rotation (°) error.
nents in to the ground-truth camera center. XYZ Euler-angle perturbations are sampled in degrees, with roll and pitch clipped to degrees, and left-multiplied into the camera-to-world rotation. Thus t and r specify component-wise perturbations, not Euclidean or geodesic error bounds. Evaluation remains against the unperturbed ground truth. The first plot condition uses the sensor pose priors rather than synthetic perturbations. Each condition uses the complete UAVD4L-LoD and SemCity-LockeD query sets with the two-update budget specified in Sec. B.
As shown in Fig. A3, our approach improves median pose accuracy over the noisy prior on UAVD4L-LoD, where flights occur at higher altitudes and observe multiple buildings. In these cases, the matcher can leverage broader context to reason about relative relations between structures, while joint recall decreases as the perturbations grow. However, close-range datasets present a harder task due to urban canyons and repeating building layouts. Because we abstract geometry into textureless normal maps, the dense matching can be fooled by neighboring identical structures if the extreme noise prior lands on the wrong facade block. While our approach still improves over the prior at moderate noise, robustness narrows at extreme perturbations. Surrounding geometry can help recover larger offsets, whereas repetitive close-range views require tighter priors or stronger geometric cues to overcome the lack of texture. Sensitivity to map completeness. We investigate sensitivity to missing buildings in the LoD model, sampling every tenth query (161 in-Traj and 220 out-of-Traj frames) for all four configurations. For each frame, we identify all visible buildings and selectively remove one instance. We consider three removal scenarios based on the projected footprint size. In this context, the categorization into small, mid,

(a) UAVD4L-LoD [30, 34]
(b) SemCityLockeD [18]
Figure A3. Prior pose noise robustness. Component-wise translation and Euler-angle perturbations of the ground-truth pose, with roll/pitch clipping as described in the text. Close-range urban geometry in SemCityLockeD limits recovery at the largest perturbations compared to UAVD4L-LoD [30, 34]. The blue region represents prior pose improvement using our MatchCityLoc method. Metrics are reported with noise in meters and degrees, and recall in percent.

Figure A4. Map completeness qualitative analysis. Overlays of rendered footprints when specific building instances are removed. Dense normal matching remains robust on UAVD4L-LoD.

(a) UAVD4L-LoD [30, 34]

(b) SemCityLockeD [18]

Figure A5. Normal quality versus pose error. Per-frame median angular error ( ) against translation error (m). The spread and bin medians are shown for UAVD4L-LoD [30, 34] and SemCityLockeD [18].
and large instances depends on the building's 2D area in the image rather than its physical 3D dimensions.
Table A2 shows that our pipeline's performance remains stable whether small or large buildings are missing. Figure A4 shows that the remaining visible surrounding structures still support an accurate pose, as illustrated by the footprint overlays (missing instance highlighted with a red wireframe).
Normal prediction quality versus localization error. Because we depend on zero-shot normals, we investigate their correlation with localization accuracy by measuring median angular error against LoD normals rendered at the ground-truth pose. This reference depends on map fidelity. We use the complete UAVD4L-LoD query sets and all SemCityLockeD queries except one frame without valid rendered pixels. That frame is excluded only from this correlation analysis.
As shown in Fig. A5, many frames exhibit robust pose
| Configuration | Recall (%) ↑ | Median Err. ↓ | |||
|---|---|---|---|---|---|
| 1m-1° | 2m-2° | 3m-3° | T.e. (m) | R.e. (°) | |
| in-Traj. | |||||
| Baseline Map | 78.9 | 91.3 | 94.4 | 0.60 | 0.33 |
| Missing Small | 78.9 | 93.8 | 95.7 | 0.56 | 0.30 |
| Missing Mid | 78.3 | 90.7 | 93.8 | 0.58 | 0.31 |
| Missing Large | 79.5 | 91.3 | 95.0 | 0.58 | 0.31 |
| out-of-Traj. | |||||
| Baseline Map | 70.0 | 90.9 | 96.8 | 0.69 | 0.29 |
| Missing Small | 73.6 | 92.7 | 96.4 | 0.69 | 0.33 |
| Missing Mid | 67.7 | 93.2 | 96.8 | 0.69 | 0.29 |
| Missing Large | 72.3 | 94.1 | 96.8 | 0.69 | 0.31 |
Table A2. Ablation on map completeness. Localization performance when a specific building is artificially removed from the LoD3 map prior. Results are evaluated on the UAVD4L-LoD dataset [34]. Recall is in %. T.e./R.e.: median translation (m) and rotation ( ) error.

Figure A6. Representative failure cases. Examples of challenging lighting, structure shifts, and repetitive structures that limit pose recovery.
recovery despite moderate normal prediction errors. This does not establish independence: visibility, repetitive structures, and initialization may also affect localization.
F. Limitations and Future Work
We expand on the limitations identified in the main paper, with representative failure cases in Fig. A6.
Pose initialization and visibility. Refinement requires a sufficiently close position-and-orientation prior with overlap between the query and rendered geometry. Large offsets can place the initial rendering on a neighboring facade or remove shared structures. Repetitive windows and nearly identical buildings can then yield plausible but incorrect correspondences, even with MINIMA [23] weights. In the recall curves of Fig. A3, performance drops more sharply on SemCityLockeD as the prior perturbations increase, indicating a narrower recovery range on this dataset.
Geometric coverage and detail. Flat terrain and forests lacking mapped buildings provide little discriminative LoD geometry. Close-range views also require sufficient model detail. LoD1 omits roof and facade structure, while LoD2 may lack the window recesses and wall articulation captured by LoD3. As illustrated in Fig. 7, coarse geometry can therefore weaken matching even when its large-scale alignment is correct.
Map accuracy and temporal change. Georeferencing errors or changes in the built environment can invalidate the assumed image-to-map correspondence. For example, a construction site may differ substantially from the completed building represented in the map. The map-completeness analysis shows tolerance to removing individual buildings when surrounding structures remain visible, but does not imply robustness to widespread map changes. Normal prediction quality. Localization depends on the geometric consistency of zero-shot normal predictions. Severe weather, challenging illumination, or motion blur can distort these predictions and undermine matching. Although Fig. A5 shows tolerance to moderate angular errors, biased predictions on the few visible structures can prevent reliable pose refinement.
Computational cost. Despite requiring few renderings, normal prediction and dense matching remain too costly for real-time inference in the evaluated configuration. Deployment on resource-constrained UAV platforms requires further acceleration.
Future work. Temporal filtering and visual-inertial priors could disambiguate repetitive structures and support continuous tracking, using LoD geometry as an alternative to the orthophotos and elevation models in OrthoTrack [4]. Updating city geometry from new observations could reduce temporal mismatch. Improving normal prediction under adverse imaging conditions and accelerating matching and rendering are further directions toward reliable real-time deployment.
G. Ethical Considerations
Privacy and data usage. Our evaluation uses UAVD4L-LoD [30, 34], Swiss-EPFL [34], and SemCityLockeD [18], subject to their licenses. Although textureless maps omit photographic detail and our method requires no dataset-specific training, query imagery may remain sensitive and requires appropriate retention and access safeguards.
Geographic bias and reliability. Although our approach generalizes well in a zero-shot manner, our current eval-uation remains geographically constrained to Chinese and European cities. As a result, performance may vary when deployed in urban environments that feature fundamentally different architectural styles. Moreover, because we cannot guarantee hard accuracy bounds for every prediction, the system should not be used in safety-critical autonomous flight applications unless rigorous fallback mechanisms are in place.
Dual-use potential. We developed this project with strictly civilian applications in mind, such as infrastructure inspection and search-and-rescue missions. Nevertheless, we recognize that precise aerial localization technologies could theoretically be repurposed for surveillance or military targeting. Consequently, we strongly advocate for the responsible deployment of these systems and urge practitioners to enforce strict regulatory safeguards in real-world scenarios.