Re: [gdal-dev] exporting PostGIS to GMT format

2012-11-09 Thread Sebastian P . Luque
On Fri, 9 Nov 2012 21:22:18 +0100, Even Rouault wrote: >> But then ogr2ogr fails: >> ogr2ogr -f GMT -nln test.gmt PG:"host=localhost user=user >> password=password dbname=gshhs" subset_c FAILURE: Unable to open >> datasource `subset_c' with the following drivers. > Just remove "-nln". Thank yo

Re: [gdal-dev] exporting PostGIS to GMT format

2012-11-09 Thread Even Rouault
> But then ogr2ogr fails: > > ogr2ogr -f GMT -nln test.gmt PG:"host=localhost user=user password=password > dbname=gshhs" subset_c FAILURE: > Unable to open datasource `subset_c' with the following drivers. Just remove "-nln". ___ gdal-dev mailing list

[gdal-dev] exporting PostGIS to GMT format

2012-11-09 Thread Seb
Hi, I'm trying to export a PostGIS table in GMT format, following a tip (http://comments.gmane.org/gmane.comp.gis.gmt.user/16632), but I'm running into problems. Here's ogrinfo output: ------ ogrinfo PG:"host=localhost user=use