Offline Maps (Preloading Raster & Tile Layers)
While vector layers and attribute tables in Gismatrix are automatically synchronized and always accessible offline thanks to its Offline-First architecture (see Offline Data Synchronization), cloud raster layers (GeoTIFF / COG) and web map services (WMTS, Tiled WMS, XYZ) stream imagery on demand over the internet due to their massive size.
To use aerial orthophotos, topographic basemaps, and Digital Elevation Models (DEMs) in remote field areas without cellular coverage, Gismatrix allows you to preload raster datasets and map tile regions directly into your device's local storage (phone, tablet, or desktop computer).
Storage Persistence Tip: Before downloading large offline maps, we strongly recommend installing Gismatrix as a standalone PWA application. This grants persistent local storage and prevents the operating system from automatically evicting cached data when disk space runs low.
1. Making a Cloud GeoTIFF Layer Available Offline
Raster layers (GeoTIFF / Cloud Optimized GeoTIFF) imported into your Gismatrix Cloud can be downloaded to your device as a complete, optimized local file:
- In the Layer Control, double-click the raster layer (or open Raster Layer Properties from the layer menu).
- Click the Make available offline (
) button in the top-right toolbar. - The dialog displays the exact size of the raster dataset (and available free disk space in the status bar on mobile devices). Click Download data for offline work.
- A live progress bar displays completion percentage and average download speed (e.g.,
MB/s). Keep the application active on screen while downloading. Downloads are transferred in resilient chunks with automatic retries if brief network drops occur, and can be safely canceled anytime via the Cancel button.
Once downloaded, an (Available offline) badge appears in the layer properties header, and Gismatrix renders the raster directly from the device's high-speed Origin Private File System (OPFS) both online and offline. When you no longer need the local copy, open the same dialog and click Delete local data to free up device storage and switch the layer back to online streaming mode.
2. Downloading Web Service Tiles (WMTS, Tiled WMS, XYZ)
For tiled web map services (WMTS, Tiled WMS, and XYZ), you can download one or more custom geographic regions and zoom ranges per layer:
- (Optional) To base the download area on specific features (such as a municipality boundary, project corridor, or selected parcels), select those features on the map first. If no features are selected, the current map viewport is used as the initial area.
- Open Web Service Layer Properties and click Offline maps (
) in the top-right toolbar. - Under Downloaded maps, click the
+(Add) button to open the interactive extent and zoom-level selector.
Note: Single-image WMS layers and the default OpenStreetMap layer do not support offline tile preloading.
3. Selecting the Download Area & Zoom Range (Offline Map Extent)
The Offline map extent window (used when adding a new offline region, updating an existing dataset, or previewing a saved region's footprint) lets you fine-tune the exact geographic coverage and resolution pyramid:
- Interactive Blue Bounding Box: The blue rectangle on the preview map marks the exact geographic area to download (initialized from your map selection or current map view plus a 100-meter buffer). Drag inside the box to move it, or drag its corner and edge handles to resize or stretch the coverage area.
- Dual-Handle Zoom Range Slider (Min & Max Zoom): Located near the bottom of the map, the two-handle
slider defines the minimum and maximum tile zoom levels to cache:
- Left Handle (Min Zoom): Coarsest overview scale.
- Right Handle (Max Zoom): Finest street/parcel-level detail (e.g., zoom levels
18–20). Keep in mind that each additional zoom level increases the total tile count by roughly a factor of four!
- Live Tile Count, Size Estimation & Disk Space Check: Whenever you resize the bounding box or adjust
the zoom slider, Gismatrix samples tiles from the server and updates the status readout with:
- the estimated total download size (MB/GB) and total number of tiles,
- currently available free disk space on your device. If the estimated download exceeds available storage, a red Insufficient disk space warning is shown and the Download button remains disabled until you reduce the area or maximum zoom level.
- Download / Update: Click Download (or Update when modifying an existing dataset) to begin fetching and storing tiles into your local database. Keep Gismatrix active until the transfer completes (or use the stop button to abort).
4. Managing Downloaded Offline Maps
You can inspect and manage all preloaded offline maps stored on your device across all workspaces from the Settings Dashboard under Settings → Offline maps (
- Description: Rename any downloaded map region (e.g., "Orthophoto – North Sector") for easy identification.
- Use (Operating Mode): For tiled web service datasets (WMTS, Tiled WMS, XYZ), choose how Gismatrix uses
the local cache:
- In offline mode (Offline): Streams live tiles from the web server while online, and automatically switches to locally stored tiles whenever the internet connection is lost.
- Always: Always serves tiles directly from local device storage within the downloaded extent and zoom levels—even while online—saving mobile data bandwidth and accelerating map rendering on slow field connections. (Preloaded GeoTIFF rasters automatically operate in "Always" mode.)
- Disabled: Temporarily stops using the local dataset without deleting it from your device.
- Preview & Update (
): When opened from a web service layer's properties, clicking the globe button previews the saved bounding box and zoom range on the map, allowing the creator or an administrator to adjust the extent/zoom and click Update to fetch any newly required tiles. - Download Diagnostics: If a previous download was interrupted (Incomplete download) or if the remote server returned errors on specific tiles, an orange summary box displays the exact ratio of downloaded tiles alongside error details.
- Deleting Offline Maps: Click the remove (
×) button on any dataset entry and confirm to delete the local tiles or GeoTIFF file; Gismatrix automatically reclaims the freed disk space in the background.