What Happens When Importing ROIs into Modified Sessions?¶
When you export an ROI GeoJSON from a multi-sample session, CartoScope embeds a unique dataset identifier (catalogId) inside each sample's polygon geometry.
When you re-import that GeoJSON file into a session with a different sample arrangement, CartoScope handles the following scenarios:
-
Reordered Samples
- Behavior: The ROI polygon is correctly displayed on the target sample slide regardless of its grid position.
- Why: CartoScope matches ROI polygons to samples using their dataset
catalogIdrather than their numeric slot index in the grid. If Sample A moved from Slot 1 to Slot 4, its ROI polygon automatically moves to Slot 4.
-
Missing or Removed Samples
- Behavior: CartoScope restores the ROI polygons for all available samples and ignores the missing ones.
- Why: If a sample included in the original ROI export is no longer present in the active session, CartoScope skips that sample's geometry without throwing errors or interrupting your session.
-
Newly Added Samples
- Behavior: Newly added sample slides will have no ROI polygon drawn for that ROI.
- Why: Since no geometry was recorded for the new sample in the original GeoJSON, the slot remains empty until you manually draw or refine an ROI on it.
Related Pages
Concepts
How-to Guides