Overview of custom masking tools: gepolymaskgen and gemaskgen
masterGoogle Earth Enterprise (GEE) Fusion Pro (version 4.0+) provides two low-level tools for creating custom masks for imagery and terrain resources:
gepolymaskgen
- Purpose: A manual, command-line tool for creating high-quality custom masks based on user-specified options.
- Capabilities: Supports clipping coastlines, arbitrary polygonal shapes, and augmenting masks with KML polygons.
- Execution: Single-threaded, CPU-intensive, and highly RAM-intensive. Requires at least 16GB of free RAM.
- Output: Writes masks in
GeoTIFFformat with geographic coordinates and projection matching the source data. - Logic: Masks start as all 0 (all imagery hidden). Users use operators to add/subtract areas. 255 shows imagery; 0 hides it.
gemaskgen
- Purpose: An automated tool bundled with Fusion that runs during the resource build process.
- Capabilities: Automatically builds masks to hide external or internal fill data (e.g., empty pixels at edges).
- Configuration: Users specify the band to use (Red, Green, or Blue), feathering amount, tolerance (buffer), and whether to check for internal holes.