Hot answers tagged

3

Convert from shape to gmt use this example code : ogr2ogr -f "GMT" Hudson_bounds.gmt Hudson_bounds.shp


1

Try using this tool: http://www.ldeo.columbia.edu/res/pi/MB-System/ It can convert GMT grid to ascii, then you can use other software, like FME, to convert to esri grid. (Found this info in the following pdf, chapter 3.3.2: ...


1

The process that you need to do in order to reproject your image is called georeferencing. For basic/linear georeferencing, the minimum number of points you need is 3 so if you have 4 corners you should be fine. There's a few tutorials available on the net based on Arc and QGIS tools that can show you how to perform this on raster images. I've never used ...


1

not the best solution but solved the problem for me. For anybody who wants to know how I did it: gdal_contour -i 1000 -off 0.05 input.grd output.shp -i = some very high number -off = minimum pixel value then: ogrinfo -al -so output.shp and parse the ogrinfo output to get the extent coords EDIT Better Solution (Python3 with Subprocess): gdal_calc.py ...


1

A way to do this is with a "reclass" map, set up to classify the continuous data into fixed categories. The format of the reclass file might be: GRASS 7.0.0 (WGS84):~ >cat concensus_reclass.txt 0.000000 thru 0.059999 = 1 0.060000 thru 0.333332 = 2 0.333333 thru 0.666666 = 3 0.666667 thru 1.0 = 4 Your color rules file will be changed to: 1 238:238:238 ...


1

You might as well make a DEM/TIN (using ArcGIS) of the shapefile you have. That will give you the DEM you need to convert to GMT format. After a quick Google search, I found a couple of links.. convert SRTM30 data to grd Shapefile to GMT DEM file Also check the this PDF, mostly after the 15th Page - GMT and Gridded Datasets There is a clear cut ...



Only top voted, non community-wiki answers of a minimum length are eligible