.GXW

GXW File

GRASS GIS Workspace File
Ask a question
QUICK ANSWER

A GXW file is a GRASS GIS workspace file that saves your map layer arrangement and display settings so you can restore the same view later. Open it in GRASS GIS via File → Workspace → Load Workspace. The file contains no geodata - only references to layer names in your GRASS database.

Developer: GRASS Development Team (Open Source Geospatial Foundation) Category: Settings Files Open standard MIME: application/xml
OPENS ON Windows macOS Linux
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Aug 4, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the GXW file format?

A .gxw file is a workspace file saved by GRASS GIS, the open-source geographic information system. It records the state of the wxGUI graphical interface - layer tree structure, map display window layouts, canvas settings, and references to the map layers loaded at the time of saving. Opening a .gxw file restores the full interface layout without re-adding each layer manually.

The format is plain XML, beginning with a standard <?xml declaration and a root <gxw> element. It stores layer names as references within the current GRASS database, location, and mapset - not the geodata itself. This means a .gxw file is not portable between machines or databases unless the referenced layer names exist identically in the target environment.

.gxw files can be loaded via the command g.gui wxpython workspace=file.gxw or through File → Workspace → Load in the GRASS GUI, and saved from File → Workspace → Save. File size is small, typically between 1 KB and 50 KB, growing proportionally with the number of layers and display panels configured.

The format was introduced around 2006 with the wxPython-based wxGUI in GRASS GIS 6.3 and continues to evolve with GRASS 8.x. Workspace files created under GRASS 6.x may need minor adjustments to load correctly in GRASS 8.x.

Security & safety

RISK: LOW

GXW files are plain XML containing only layer names and display settings; no executable code, no embedded data. Safe to open in any text editor for inspection.

Format details

in a nutshell
FULL NAMEGRASS GIS Workspace Fileaka GRASS Workspace Layout Definition, wxGUI workspace file
DEVELOPERGRASS Development Team (Open Source Geospatial Foundation)since circa 2006 (wxGUI graphical interface for GRASS GIS 6.x)
MIME TYPEapplication/xml
TYPEXML configuration/settings file
STANDARDOpen · royalty-free

Programs that open GXW files

Windows1 app
GRASS GIS Open-source In GRASS GIS GUI: File → Workspace → Load Workspace → select the .gxw file. Or from terminal: g.gui wxpython workspace=/path/to/file.gxw
macOS1 app
GRASS GIS Open-source Install via Homebrew (brew install grass) or OSGeo4Mac; then load the workspace via GUI or command line as above.
Linux1 app
GRASS GIS Open-source Run: grass --gui; then File → Workspace → Load Workspace. Or: g.gui wxpython workspace=file.gxw from within a GRASS session.

Technical details

deep spec
Format typeXML workspace and session configuration file
EncodingText, UTF-8
XML root element`<gxw>`
File signatureStandard `<?xml` declaration at offset 0; no GRASS-specific magic bytes
Typical file size1 KB - 50 KB (grows proportionally with number of layers and display panels)
StoresLayer tree definitions, map display window layouts, canvas settings, and layer name references
Does not storeActual geodata - all map layer content remains in the GRASS database/mapset on disk
PortabilityLayer references by name only; not portable between different GRASS databases unless layer names match exactly
Load command`g.gui wxpython workspace=file.gxw` or File → Workspace → Load in the wxGUI
OriginIntroduced with the wxPython-based wxGUI for GRASS GIS 6.3
Version compatibilityWorkspace files from GRASS 6.x may need adjustment for GRASS 8.x due to interface changes
Associated OSLinux, Windows, macOS (GRASS GIS is cross-platform)
LicenseOpen source (GNU GPL); format evolves with GRASS GIS development
ApplicationGRASS GIS wxGUI - saves and restores complete interface state including multi-panel map displays
Releasedcirca 2006 (wxGUI graphical interface for GRASS GIS 6.x)
Latest versioncurrent (GRASS GIS 8.x, 2022+)
Open standardYes · royalty-free
Specificationgrass.osgeo.org

GXW conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with GXW files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about GXW files.

Frequently asked questions

How do I open a GXW file?
Open it with GRASS GIS: start GRASS, then go to File → Workspace → Load Workspace and select the .gxw file. The workspace is only useful if your GRASS database contains layers with the same names referenced in the file.
Can I open a GXW file without GRASS GIS?
Yes - since GXW is XML, you can open it in any text editor to inspect the contents. But to actually use the workspace as a map, you need GRASS GIS with the matching geodata.
Why doesn't my GXW file load the layers correctly?
GXW files reference GRASS layers by name within a specific GRASS database/location/mapset. If the layer names or database structure differ on the current machine, layers will appear as missing.
How do I save a workspace in GRASS GIS?
In GRASS GIS GUI: File → Workspace → Save Workspace (As). This creates a .gxw file capturing your current layer tree and display settings.

References

1GRASS GIS Manual - wxGUIgrass.osgeo.org
2GRASS GIS Manual - g.guigrass.osgeo.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.EXEWindows Executable (Portable Executable)
8.NOMEDIAAndroid No-Media Marker File
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z