Skip to content

qview Find tool still wrongly prioritizes camera model over map projection #5896

@rvwagner

Description

@rvwagner

ISIS version(s) affected: 8.3.0 and earlier

Description
I believe this is very closely related to #5508, but a slightly different expression of the same underlying issue. If you have a map-projected file with SPICE data covering only part of the image (I didn't realize this was even possible, but apparently that's what you get from map-projecting just the even or odd framelets of an LROC WAC image), then the Find tool does not correctly align linked images when you click in an area that is within the map projection bounds but does not have SPICE data. Alignment works correctly in places that do have SPICE data, including not having the scaling issue from #5508.

How to reproduce

wget https://pds.lroc.im-ldi.com/data/LRO-L-LROC-2-EDR-V1.0/LROLRC_0063B/DATA/ESM5/2025129/WAC/M1501447954CE.IMG
lrowac2isis from=M1501447954CE.IMG to=M1501447954C.cub
spiceinit from=M1501447954C.vis.even.cub
spiceinit from=M1501447954C.vis.odd.cub
cam2map from=M1501447954C.vis.even.cub to=M1501447954C.vis.even.map.cub
cam2map from=M1501447954C.vis.odd.cub to=M1501447954C.vis.odd.map.cub

echo "M1501447954C.vis.even.map.cub
M1501447954C.vis.odd.map.cub" > tmp.lis

automos from=tmp.lis mos=M1501447954C.vis.nospice.cub

/bin/mv M1501447954C.vis.odd.map.cub M1501447954C.vis.halfspice.cub
handmos from=M1501447954C.vis.even.map.cub mos=M1501447954C.vis.halfspice.cub

qview M1501447954C.vis.*spice.cub

Link the two images, zoom 1:1 or closer, and open the Tracking table and turn on the incidence column. Using the Find tool, click in various places around either image. Where the "halfspice" image has SPICE data (the incidence column has data, e.g. sample 900 line 5090), the two images will act properly linked. Where it does not (e.g. sample 900 line 5100), clicking will not align the images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions