[gdal-dev] GMT driver for Ogr2Ogr

Mateusz Loskot mateusz at loskot.net
Thu May 8 16:53:15 EDT 2008


Dave Sampson wrote:
> Working on ubuntu.
> Installed gdal-bin from repositories
> I am trying the following command
> 
> ogr2ogr -f GMT output.gmt proponent_locations.shp
> 
> and I get the following error
> 
> Unable to find driver `GMT'.

Dave,

It's a good idea to specify exact version of distribution you use.
Though, I think I know what's the problem.

In latest Ubuntu 8.04 repositories, there is GDAL 1.4.4 available.
The GMT driver for OGR is quite new and was added in 1.5.0:
http://trac.osgeo.org/gdal/wiki/Release/1.5.0-News

It means, that in order to use OGR GMT driver you need GDAL >=1.5.0.

-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the gdal-dev mailing list