Open Jdgilby opened 6 months ago
This is a bug in QViewer - a very old version of code we use to determine if a layer is already in the map. We have a much better system in place for QRiS.
I think the business logic is fine, and seems to work if you change the layer name in the layer tree.
@KellyMWhitehead Is it a possibility to fix that in the Viewer? I can see changing the layer name in the tree not being an intuitive fix for the average user viewing data through the viewer.
@Jdgilby yes, I meant to say I will make the fix in the viewer.
I've gone through after editing the business logic Riverscapes/RiverscapesXML#715 and found that all layers are loaded into the viewer. However only one realization can be viewed at once. You can see in the first image the DCE group is brought in but the layers wont populate. I can remove the ones from the first DCE out of the layer tree and then the other DCE is allowed to populate, but both wont be populated in the layer tree.
This happens to every layer that has a repeat name from DCE to DCE, or even in one DCE if different layers have the same names (pour points, catchments, structural elements).
@KellyMWhitehead please advise if this is just something I wrote wrong in the business logic.