[GRASS-user] Re: Exporting attributes to GMT ASCII format using v.out.ogr

Eric Patton epatton at nrcan.gc.ca
Mon Sep 21 13:52:31 EDT 2009


Hamish wrote:
> Hermann wrote:
> > A plain: v.out.ogr RBD_F1v3 format=GMT dsn=RBD_F1v3.gmt
> > results into:
> > 
> > # FEATURE_DATA
> > > 
> > # @D||||||||||||||||||||||||||
> > 
> > 
> > but  v.out.ogr RBD_F1v3 format=GMT type=area dsn=RBD_F1v3.gmt gives:
> > 
> > # FEATURE_DATA
> > > 
> > # @D1|"Fleuves et cours d'eau cotiers de la Guyane"|fr|FR|"Guyana
> > (French)"|83892.657134|W1001|FRW1001|FRK||"North Western Atlantic Ocean"|"Open Ocean"||W10000000|FRW10000000|W1|N|Y|2005-06-03|FR1||2008-02-26|ASB|136|FRK|1660787.48438|83892657133.7
> > 
> > 
> > Hope this helps, Hermann
> 
> I think it does, the default for v.out.ogr is type=line,boundary
> 
> tip added in  http://grass.osgeo.org/wiki/GMT#Vector

Yes, that was the problem I was having - wrong or missing type
parameter. 

> I would ask if it acts any differently in latest grass 6.5 or 7 svn builds? (6.5 change may be reverted as it may break
> backwards compatibility / expected behaviour)
> 
> Hamish

Which change are you referring to? I'm using the latest 6.5.svn, and all
seems to run smoothly.

-- 
Eric Patton


More information about the grass-user mailing list