Documentation & Knowledge Base

Documentation & Help

Find instructions, guides, and answers to your questions regarding the use of the Gismatrix platform.

Clip Region

The Clip region functionality allows you to visually restrict the map display exclusively to the area of one or more selected polygons (such as a municipality boundary, cadastral district, project zone, or selected land parcels). Everything outside the selected polygonal boundaries is masked with a clean white overlay, providing a focused, clutter-free view for spatial inspection, analysis, and map printing or image export.

How to Access and Toggle the Tool

Before activating a clip region, you must first select at least one polygon feature (Polygon or MultiPolygon) on the map or via the Attribute Browser. If no polygonal feature is selected (for example, if only points or lines are selected), the command will not appear in the menu.

You can turn the Clip Region on or off in three ways:

  • On Desktop Computers: Right-click anywhere on the map canvas to open the context menu and select Clip region (or Clip region off when a clip region is already active).
  • On Mobile Devices and Tablets: Tap the menu display button on the left side of the map to open the context menu and select Clip region (or Clip region off).
  • Via Keyboard Shortcut: Press Shift+Ctrl+G (Windows / Linux) or ⇧⌘G (macOS). When a clip region is already active, pressing this shortcut immediately turns it off regardless of the current map selection.

Operating Modes: Overlay vs. Clip

When you activate Clip region, the Clip region mode dialog appears, allowing you to choose how text labels and directional arrows should behave along the boundary of the visible region:

Mode Behavior and Impact on Labels When to Use?
Overlay (keep label positions)
(Overlay)
Creates a white visual mask over the map area outside the selected polygon(s), but does not clip feature geometries during label and arrow placement calculations. Long lines (e.g., roads, pipelines, rivers) and large polygons extending beyond the clip boundary retain their true geometric center. Labels whose original anchor points fall outside the visible area remain in their original positions (hidden beneath the mask) and are not shifted into the visible view. Ideal when you want to preserve exact, unmodified label placement without crowding or shifting labels along the edges of the masked area.
Clip (fit labels to region)
(Clip)
In addition to the visual mask, this mode applies a spatial extent filter to the label engine (Decorator). Long lines and polygons crossing the boundary of the visible area are geometrically clipped to the region bounds when calculating label positions. Consequently, labels for long infrastructure lines, roads, or polygons are automatically recalculated and pulled into the visible area. Ideal when preparing map excerpts, reports, or printouts where every road, pipe, or parcel visible inside the clipped region must be clearly labeled within the visible viewport.

Tip: Inside the Clip region mode dialog, you can click the Help (?) button at any time to open this documentation page.

Automatic State Persistence and Multi-Polygon Support

  • Workspace Persistence Across Sessions: When a clip region is applied, the combined visible geometry (serialized as WKB) and the chosen operating mode (Overlay or Clip) are automatically saved in your device's local storage (IndexedDB) for the active workspace. Reopening the application or switching back to the workspace automatically restores the clip region in the exact same mode.
  • Remembering Your Last Used Mode: Gismatrix remembers your most recently selected mode (Overlay or Clip) per user profile and pre-selects it the next time you open the dialog.
  • Combining Multiple Polygons: If you select multiple separate or adjacent polygons before activating the tool, Gismatrix automatically merges (unions) them in the background—complete with a live progress indicator and abort support—into a single unified visible area (Polygon or MultiPolygon).