public static Window getActiveWindowFromMapset ( String mapsetPath ) { File windFile = new File ( mapsetPath + File . separator + GrassLegacyConstans . WIND ) ; if ( ! windFile . exists ( ) ) { return null ; } return new Window ( windFile . getAbsolutePath ( ) ) ; }
Get the active region window from the mapset