Hi,

2008/1/11, Craig Leat <[EMAIL PROTECTED]>:

> I have a shapefile and attributes in a dbf file. The dbf has two columns
> where the first ten characters of the column names are identical. The dbf
> driver appears to only consider the first ten letters of the name and so
> v.in.ogr fails reporting that two columns have the same name. Is there a way
> to only import selected columns? I could also delete a column before
> importing, but I am lacking some basic DBase know how so any pointers will
> be greatly appreciated.

from v.in.ogr:

cnames   List of column names to be used instead of original names,
first is used for category column

v.in.ogr cnames=cat,col1,col2,...

could help you?

Martin
>
> BTW the dbf is too big (94,000 rows) to load into OpenOffice Calc.
>
> Regards
>
> Craig
> --
> View this message in context: 
> http://www.nabble.com/v.in.ogr-fails-on-dbf-with-long-column-names-tp14753916p14753916.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


-- 
Martin Landa <[EMAIL PROTECTED]> * http://gama.fsv.cvut.cz/~landa *
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to