Skip to content

wxGUI: Implement structural group folders for Data Catalog elements - #2

Closed
saket0187 wants to merge 7 commits into
mainfrom
datacatalog-group-mockup
Closed

wxGUI: Implement structural group folders for Data Catalog elements#2
saket0187 wants to merge 7 commits into
mainfrom
datacatalog-group-mockup

Conversation

@saket0187

Copy link
Copy Markdown
Owner

This PR introduces hierarchical grouping for map layers within the DataCatalogTree. Maps are now logically organized into specific folders (Raster maps, 3D raster maps, Vector maps, and Spatio-temporal datasets) rather than sitting directly underneath the Mapset node.

For the UI visuals, I am currently using a clock icon for the "Spatio-temporal datasets" folder, and our temporarily created icons for the individual STDS items inside it.

Here is a demo video of the new structure:

Screen.Recording.2026-07-10.at.4.27.55.PM.mov

For comparison, if we use the standard default icons for the STDS items under that folder, it looks like this:

Screenshot 2026-07-10 at 4 39 03 PM Screenshot 2026-07-10 at 4 42 42 PM

- Added _popupMenuMultipleStds for multiple temporal dataset selections
- Added 'Register maps' and 'Unregister maps' STDS options
- Added 'Duplicate dataset', 'Rename dataset', and 'Delete dataset' options
- Added 'Merge datasets' option for multiple STDS selections
- Optimized t.connect background checks to prevent unnecessary scanning across all mapsets
…oss-mapset support

- Add active mapset locks for --ui dialogs (Create STDS/Register/Unregister)
- Enable cross-mapset execution for native background tasks (Rename/Delete)
- Implement safe JSON parsing for g.mapsets search path check for Merge STDS option
- Removed options: Removed the 'Duplicate dataset' option and removed the standalone 'Display map(s)' method.

- Updated map ID structuring: Upgraded t.*.list queries to fetch id,name natively and store the map_id. This ensures that maps registered in an STDS from other mapsets maintain their correct paths for basic functions.

- Expanded STDS context menu: Added 'Plot timeline' (g.gui.timeline) and 'Modify metadata' (t.support) to the primary Space Time Dataset context menu.

- Standardized map actions: Added a 'Copy name' option to STDS maps and fixed edge cases for 'Display layer' and 'Show metadata' by utilizing the new map_id fallback and safely creating cross-mapset environments.

- Created a dedicated context menu (_popupMenuStdsMap) specifically for maps inside an STDS. This prevents users from accidentally triggering standard spatial tools (g.rename / g.remove) that desync the temporal SQLite database.

- Added temporary UI icons: Replaced duplicate mapset placeholders with temporary STRDS, STVDS, and STR3DS icons in the Data Catalog treeview.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant