Appearance
Category Management
Category Management controls how users discover and navigate layers in InsightMaps. A well-organized category hierarchy ensures users find relevant spatial data quickly.
Overview
Category Management Capabilities:
- Hierarchical organization: Two-level major/minor category structure
- Layer assignment: Assign layers to categories with visibility and opacity overrides
- Publishing control: Toggle publish status per category with optimistic updates
- Reordering: Move categories up or down with arrow buttons
- Bulk operations: Publish, unpublish, or delete multiple categories
- Import/export: Transfer category structures as JSON
- Statistics: Track major, minor, published, and unpublished counts
Access Category Management
Location: InsightMaps Console > Categories
How to Open:
- Log in to console.insightmaps.app
- Navigate to Categories in left sidebar
- Category tree and management tools appear
Category Structure
Two-Level Hierarchy
Major Categories:
- Top-level organizational units
- Group related themes
- Example: "Planning & Development", "Infrastructure", "Environmental"
Minor Categories:
- Subcategories within a major category
- Specific functional groups
- Example: Under "Planning & Development": "Zoning", "Building Permits", "Land Use"
- Each minor category has a parent category assignment
Creating Categories
Create Major Category
How:
- Click "Add Category" button
- Category edit sheet opens
- Fill in fields:
- Name: Short, descriptive title (e.g., "Property & Cadastre")
- Description: Optional notes
- Keywords: Comma-separated search terms (optional)
- Display Order: Numeric position (lower numbers appear first)
- Leave Parent Category empty for a major category
- Click Save
Create Minor Category
How:
- Click "Add Category" button (or the + icon on a major category row)
- Fill in the same fields as above
- Parent Category: Select a major category from the dropdown
- Optionally add a Data Source/Service URL to associate with the category
- Click Save
Organization Tips:
- Group by workflow or task
- 3-7 minor categories per major category is ideal
- Keep minor category names concise
Example Structure:
- Planning & Development (Major)
- Zoning & Land Use (Minor)
- Building Permits (Minor)
- Development Applications (Minor)
- Heritage Overlays (Minor)
- Infrastructure & Assets (Major)
- Roads & Transport (Minor)
- Water & Utilities (Minor)
- Public Facilities (Minor)
Editing Categories
Access Category Editor
How:
- Click the Edit icon (Pencil) on a category row, or use the More Actions dropdown
- Category edit sheet opens
Editable Properties:
- Name: Display name shown to users
- Description: Internal notes
- Keywords: Comma-separated search terms
- Display Order: Numeric position
- Parent Category: Move between major and minor
- Data Source URL: Associated service URL (minor categories)
Reorder Categories
Categories are reordered using arrow buttons on each row (not drag-and-drop).
How:
- Click the Up arrow to move a category higher in the list
- Click the Down arrow to move it lower
- The order updates with an optimistic UI update
Behavior:
- Major categories reorder among all major categories
- Minor categories reorder within their parent category only
- Arrow buttons are disabled at boundaries (first/last position)
Best Practices:
- Place high-use categories first
- Group related categories together
- Use sequential order values (10, 20, 30) to allow inserting later
Change Parent Category
How:
- Edit the target category
- Change Parent Category dropdown:
- None: Converts to major category
- Select major: Converts to minor category under selected major
- Save changes
- Layers remain assigned (not affected by parent change)
Publishing Categories
Toggle Publish Status
Each category row has a publish toggle switch:
- Click the toggle to switch between published and unpublished
- The update applies immediately (optimistic update with loading spinner)
- If the API call fails, the UI reverts to the previous state
Published categories: Visible to users in the map application (shown with "Live" badge)
Unpublished categories: Hidden from users (shown with "Draft" badge)
Bulk Publish / Unpublish
- Enter Bulk Mode by clicking the checkbox toggle in the toolbar
- Select multiple categories using checkboxes
- A contextual sidebar appears with bulk actions:
- Publish: Publish all unpublished categories in the selection
- Unpublish: Unpublish all published categories in the selection
- Click the action button to apply
Layer Assignment
Assign Layers to Category
From Category Row:
- Click Assign Layers from the category's More Actions dropdown
- The Add Layers dialog opens showing available layers
- Search or browse layers
- Select layers using checkboxes
- Click Add Selected
- Layers appear under the category
From Layer Configuration:
- Navigate to Data Sources > Layers tab
- Edit a layer
- Select major and minor category from dropdowns
- Save changes
Layer Display in Category
Each minor category row shows:
- Layer count badge
- Preview of the first 2 layer names (on desktop)
- Expandable layer pills showing all assigned layers
Remove Layers from Category
- Navigate to the category's layer management
- Click the remove button on the layer
- The layer is unassigned from the category (but not deleted from the system)
Search and Filtering
Search Categories
- Use the search box at the top of the Categories page
- Type to search by category name or layer names within categories
- Results include parent categories when a minor category matches
- Filtering uses debounced input for performance
Filter by Status
Click the Status filter dropdown:
- All: Show all categories
- Published: Only categories visible to users
- Unpublished: Draft categories only
Bulk Operations
Bulk Delete
- Enter Bulk Mode
- Select categories to delete
- Click Delete in the contextual sidebar
- Confirm deletion
- Categories are removed; layers are unassigned but not deleted
Clear All Categories
Extreme Caution: Deletes ALL categories!
- Use the More Actions dropdown in the toolbar
- Select "Clear All Categories"
- Type the confirmation text
DELETE ALL CATEGORIES - Click to confirm
- All categories are deleted; layers remain in the system
Clear All Layers
- Use the More Actions dropdown
- Select "Clear All Layers"
- Type the confirmation text
DELETE - All layers are removed from the system
Import and Export
Export Categories
How:
- Click the More Actions dropdown
- Select "Export Categories"
- A JSON file downloads automatically (
categories.json)
Export includes: Published categories with their layer assignments in a structured JSON format containing major categories, minor categories, and layer details.
Import Categories
Two Import Methods:
Preset Import:
- Click the import option
- Select from pre-configured preset collections in the dropdown
- Each preset shows its layer count
- Click to import the preset
Custom JSON Upload:
- Click the import option
- Upload a
.jsonfile matching the export format - The import processes with extended timeout for large collections (5+ minutes for 2000+ layers)
Import Results:
- Shows categories created and skipped
- Shows layers created and skipped
- Displays warnings for any skipped items
- Statistics update on completion
Category Statistics
Global Statistics
The Categories page header shows summary statistics:
- Major categories: Count of top-level categories
- Minor categories: Count of subcategories
- Published: Count of categories visible to users
- Unpublished: Count of draft categories
- Total layers: Count across all categories
An advanced stats panel can be toggled via the chart icon in the header, showing a 2x2 grid of major, minor, published, and unpublished counts.
Per-Category Information
- Major category rows: Show subcategory count and total layer count
- Minor category rows: Show layer count and preview of assigned layer names
Selection Statistics (Bulk Mode)
When selecting multiple categories, the contextual sidebar shows:
- Number of major and minor categories selected
- Total layers in the selection
- Published/unpublished split
Category List Display
Tree View
The category list uses a hierarchical tree view:
- Major categories at the top level with collapse/expand toggles
- Minor categories nested under their parent
- Load-more pagination (20 items initially, then 20 more per click)
Mobile Responsiveness
- Single-column layout on mobile
- Floating action button for creating categories
- Bottom action bar for bulk selections
- Mobile dropdown menus for category actions
Troubleshooting
"Category not appearing for users"
Causes:
- Category not published
- No layers assigned to the category
Solutions:
- Verify the category publish toggle is on (shows "Live" badge)
- Check that at least one layer is assigned
- Ask the user to refresh their browser
"Layers disappeared after deleting category"
What Happened:
- Deleting a category unassigns its layers
- If a layer only belonged to the deleted category, it becomes unassigned
Solutions:
- Navigate to Data Sources > Layers tab
- Find unassigned layers
- Assign them to appropriate categories
Prevention: Before deleting a category, check which layers are assigned and reassign them first.
"Import failed"
Causes:
- Invalid JSON format
- File too large without sufficient timeout
Solutions:
- Validate JSON format matches the export format
- Use UTF-8 encoding
- For very large imports (2000+ layers), the system allows extended timeout automatically
Integration with Other Console Features
Works With
Data Sources:
- Assign discovered layers to categories
- View category assignment in layer details
Layer Configuration:
- Change category assignment per layer
- Configure layer properties within category context
Audit Logs:
- Track category creation, deletion, and publishing changes
- Review bulk operations
Summary
Category Management shapes how users discover data:
- Hierarchical: Two-level major/minor structure
- Publishing: Toggle publish status with optimistic updates
- Reordering: Arrow buttons for precise positioning
- Bulk Operations: Publish, unpublish, or delete multiple categories
- Import/Export: JSON-based category structure transfer
- Statistics: Global counts for major, minor, published, and unpublished categories
- Layer Assignment: Assign and manage layers within categories
Key Points:
- Organize by user task, not data source
- Keep the two-level hierarchy for simplicity
- Use clear, descriptive names under 30 characters
- Export before bulk operations as a backup
- Test with users before major reorganizations
