[GRASSLIST:5303] Re: grass and geology

Dylan Beaudette dylan at iici.no-ip.org
Tue Jan 11 18:51:14 EST 2005


Hi!

I just had a similar problem related to DBF file contents. I found that open 
office can open the DBF, edit it, and save it again.

Not ideal, but it would be rather simple to remove a field.

Cheers!


-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

On Tuesday 11 January 2005 08:42 am, Vincent Godard wrote:
> Hi,
>
> I am a new grass user and I would like to know if it is possible to use
> grass to deal with geological data, i.e. plane orientations, lineations...
> Has someone already done that kind of things and would be ready to share
> his experience?
>
> By the way I am having some troubles while importing shapfiles with
> v.in.ogr, when I run the command:
>
> v.in.ogr dsn=/home/vincent/Longmen_Shan-data/Geologie/geologic_age.shp
> output=geologie layer=geologic_age min_area=0.0001 snap=0.001 -o
>
>  I am getting the following error message:
>
> DBMI-DBF driver error:
> Column 'GLG' already exists (duplicate name)
> Cannot create table.
> Error in db_execute_immediate()
>
> ERROR: Cannot create table: create table geologie (cat integer, AREA double
>        precision, GLG varchar ( 5 ), GLG varchar ( 5 ), DESCRIPTIO varchar
> ( 32 ))
>
> It seems that there is a problem with my .dbf file but I don't know what.
>
>
> Thanks in advance,
>
> Vincent.




More information about the grass-user mailing list