Generic Mapping Tools (GMT) is a collection of command-line programs for processing geographical and Cartesian datasets and generating scientific illustrations. It is particularly suited to Earth, ocean and planetary science, where researchers need to combine numerical observations, geographical context and precise cartographic presentation. Its output ranges from conventional graphs and contour maps to illuminated relief, three-dimensional perspective views and animated visualisations.
GMT uses a scripting-oriented workflow, making it possible to generate figures directly from datasets and reproduce the same results when the underlying information changes. This approach is valuable for scientific publications requiring consistent styling, coordinate systems and figure layouts. The software provides a broad set of map projections and works with geographical reference datasets containing coastlines, political boundaries and other features. Interfaces for Python, Julia and MATLAB/Octave allow its analytical and cartographic functions to be incorporated into larger computational workflows.
This is free and open source software.
Key Features
- Large collection of command-line modules for scientific data processing.
- Generate Cartesian plots, geographical maps and three-dimensional figures.
- Support for more than 30 cartographic projections and transformations.
- Plot points, lines, polygons, symbols and labelled features.
- Create contour maps from gridded datasets.
- Interpolate scattered observations onto regular grids.
- Filter and transform geographical and Cartesian data.
- Perform trend fitting, regression and statistical calculations.
- Generate artificial illumination and shaded-relief maps.
- Produce colour palettes for continuous and categorical data.
- Plot geographical datasets using linear, logarithmic and power scales.
- Use GSHHG coastlines, rivers and political boundaries.
- Access Digital Chart of the World country polygon datasets.
- Create multi-panel figures with consistent styling and layout.
- Generate animations from time-dependent data or changing viewpoints.
- Render three-dimensional surfaces and perspective views.
- Support vector graphics and high-resolution raster output.
- Read and write grids using supported NetCDF and GDAL formats.
- Automate repeated plotting operations through shell scripts.
- Provide programming interfaces for Python, Julia and MATLAB/Octave.
- Control typography, line styles, colours and map annotations.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: www.generic-mapping-tools.org
Support:
Developer: Paul Wessel, Walter H. F. Smith and contributors
License: GNU Lesser General Public License v3.0

GMT is written in C and C++. Learn C with our recommended free books and free tutorials. Learn C++ with our recommended free books and free tutorials.
Related Software
| GIS: Earth Science Software | |
|---|---|
| GRASS | Geographic Resources Analysis Support System |
| Quantum GIS | User friendly Geographic Information System |
| SAGA | System for Automated Geoscientific Analyses |
| GMT | Collection of tools that allow users to manipulate data sets |
| GeoServer | Server written in Java that allows users to share and edit geospatial data |
| OpenJUMP | Geographic Information System written in Java |
| gvSIG Desktop | Powerful, user-friendly Geographic Information System |
| PostGIS | Database extender for PostgreSQL object-relational database |
| WhiteboxTools | Advanced geospatial data analysis platform |
| MapServer | System for developing web-based GIS applications |
| uDig | Spatial data viewer/editor |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.