Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gmt]

Generic Mapping Tools (GMT) is an open source collection of about 80 command-line tools for manipulating geographic and Cartesian data sets (including filtering, trend fitting, gridding, projecting, etc.) and producing PostScript illustrations ranging from simple x–y plots via contour maps to artificially illuminated surfaces and 3D perspective views

4
votes
1answer
6k views

Clipping results show a GMT error

I've been trying to use the clipper tool in QGIS 2.18.0. However the following error message pops up; Output driver `GMT' not recognised or does not support direct output file creation. The following ...
3
votes
2answers
76 views

Save as to GMT in QGIS

I have a problem with saving as GMT in QGIS. There is no option in my QGIS version to save as in GMT. How I can add this option in QGIS?
3
votes
2answers
668 views

How to restore a scarp surface grid to calculate material loss

I would like to calculate the volume of material lost from a scarp like the one shown in the following image: Is there a way to do these calculations with open-source software such as GMT, QGIS and ...
3
votes
1answer
2k views

Converting GMT grid to ArcGIS readable format?

I am trying to convert a GMT grid data into a format that is readable in ArcGIS. I have already attempted to load the data into GRASS and use GDAL translate to convert into a tif with unwanted results....
3
votes
1answer
124 views

Generic Mapping Tools: Weird lines created by pscoast

I'm creating maps using the Generic Mapping Tools (GMT) from the University of Hawaii. I get weird vertical and horizontal lines using pscoast. This is the command to reproduce the problem: gmt ...
2
votes
3answers
794 views

How to create custom color ramp using “r.colors” GRASS GIS function?

I am trying to assign a raster/grid a custom color palette in GRASS using the "r.colors" function. r.colors map=Consensus_BRT_RCP85 colors=rules This allows me to input my rules for my color palette:...
2
votes
1answer
906 views

shapefile to gmt format

I have an ESRI shapefile of the contours of my study area, and I want to convert it into a format that is acceptable by GMT, so I can make an elevation map of my study area. Is that even possible? ...
1
vote
1answer
37 views

Straight lines plotting as curves

I'm trying to do something really simple, plot a rectangle using psxy on a .cdf grid file. Something like: grdimage grid.cdf -JM20c -R-70/0/20/60 -Bf20g10 -K > image.ps psxy rectangle.dat -JM -R -B -...
1
vote
1answer
712 views

How to Convert from GMT Line files to Shapefile for QGIS?

I have several line text-files of (used in GMT) saved in the format (this is a small sample): -111.29 42.28 -111.29 42.31 -111.29 42.33 > -111.37 41.99 -111.38 42.02 I am trying to convert this ...
1
vote
1answer
194 views

Plot image on map based on corner coordinates

I have a color image and I know geographic coordinates of its 4 corners. Now I'd like to place this image on basemap in GMT using any projection. Any idea how to do that?
1
vote
1answer
87 views

GRID-file: get max extent for all z-values above given value

I have a GRID-file with a quite large extent. For an automatic workflow I need the maximum extent/bounding-box for all z-values that are over a certain range. For example: Get the maximum extent for ...
1
vote
1answer
226 views

Fill color in polygons using attribute variable in GMT (Generic Mapping Tool)

I want to FILL colors of the polygon (converted from .shp ESRI shapefile) based on an attribute (here OBJECTID, Area) from lookup color (.cpt), but I am getting colored outline of each polygon. I ...
1
vote
0answers
64 views

GMT instead GTiff while merging rasters: error message [duplicate]

My question is linked to that post (Saving an output file during merging on QGIS) as I have exactly the same issue but as the guy couldn't provide screenshots and the post is unachieved, I ask again ...
1
vote
0answers
60 views

Deriving Topographic Information from Geotagged Photos?

I wish to extract elevation data from geotagged photos? I have worked with DEM's and the open source CLI program: GMT for my graduate studies. I own a DJI Phantom 3 and used the trial version of ...
1
vote
0answers
38 views

Creating tiling scheme to get multiple extents before gridding elevation data

Looking to create 1 degree by 1 degree tiles with pixel overlap to get extents before I start gridding. So basically I would like to have a shapefile of the tiling scheme with extents before having ...
0
votes
3answers
3k views

How to convert *.shp files to *.gmt format type files?

I am new at using GMT (Generic Mapping Tools) and I am wondering if it can use a shapefile of a hydrographical network. Can I perhaps change my .shp to .gmt format and combine it with a GMT map? If ...
0
votes
1answer
59 views

In GMT after adding scale bar , psxy plots are disappears

Here My script is !/bin/bash LATLON=30/130/-40/20 PROJ=M6i STASYM=t0.1 STACOLOR=255/0/0 FNAME=map.ps EPISYM=c0.1 EPICOLOR=255/255/0 gmt grdimage ../../ETOPO1.grd -R${LATLON} -J${PROJ} -C../.....