summaryrefslogtreecommitdiff
path: root/crates/gipfel-desktop/icons/ios/AppIcon-76x76@2x.png
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-16 22:02:58 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-16 22:02:58 +0100
commitb7fbbedfdc4f5d2842d9f7f467856749b4ea98b1 (patch)
tree5425f41d47ce839fad5ec40181ba61fcff5ef81c /crates/gipfel-desktop/icons/ios/AppIcon-76x76@2x.png
parentff25068fa8696180a935f735f4535c65e331e9c0 (diff)
core: reject fits that park markers outside the projection's view
Investigating the Thaneller report (mark Zugspitze + Saeuling in rectilinear mode, 'jump totally weird' when Saeuling sits east of north): a numeric sweep of the Saeuling marker across north with the real geography shows comp_params is perfectly CONTINUOUS there - it recovers truth exactly at the true position. What is NOT benign: a fit whose solution places a marked peak beyond the projection's own view angle (rectilinear: +/-60 deg). The tangent-compressed solution that matches far-apart markers is exact for the two markers but scatters every other peak, and is_visible() hides the marked ones - exactly 'totally weird'. comp_params now validates every known marker against proj.get_view_angle() after fitting and returns a descriptive error (suggesting cylindrical mode) instead of committing the parameters. Cylindrical's limit is 2pi, so panorama fits are untouched. The web status line shows 'fit failed: <reason>' in that case. Tests: rectilinear fit of markers 150 deg apart is rejected; the same markers fit fine in cylindrical mode; golden fits unaffected.
Diffstat (limited to 'crates/gipfel-desktop/icons/ios/AppIcon-76x76@2x.png')
0 files changed, 0 insertions, 0 deletions