<div>Thanks. But my problem is that "copy" is an example of errors encountered. It ocurrs for many operations in GRASS such as query, import.</div> <div> </div> <div>Here is another example.</div> <div>GRASS 6.1.cvs (spearfish60):~>v.db.connect -p map-roads driver=dbf</div> <div>Vector map<roads> is connected by:</div> <div>layer <1> table <roads> in database </home/xxx/spearfish60/PERMANENT/dbf/> through driver <dbf> with key <cat></div> <div>GRASS 6.1.cvs (spearfish60):~> echo "select * from roads"|db.select</div> <div>DBMI-DBF driver error:</div> <div>cannot open dbf database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/</div> <div> </div> <div>I am using GRASS version 6.1.CVS(grass-cvs) from <A href="http://geni.ath.cx/grass.html">http://geni.ath.cx/grass.html</A></div> <div> </div> <div>any idea?</div> <div> </div> <div>Thanks in advance.</div> <div> </div>
<div>Raymond</div> <div> </div> <div><BR><BR><B><I>Hamish <hamish_nospam@yahoo.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Raymond Fu wrote:<BR>> Sorry, I work in a user level, and know not much about C. Can you<BR>> suggest me what the "special treatment" and how to make the<BR>> "special treatment" by command line or other ways so that the g.copy<BR>> can be run without error?<BR><BR>(it's probably a bug in the code, you'll have to wait for a new version?)<BR><BR><BR>they quick & very dirty way to copy a vector map is to go into<BR>$MAPSET/vector/ and just copy the folder with the vector to something<BR>named something else, then do the same with $MAPSET/dbf/$MAPNAME.dbf<BR>using the same name, and finally update the $MAPSET/vector/$MAPNAME/dbln<BR>file in a text editor.<BR><BR><BR>Hamish<BR></BLOCKQUOTE><BR><p> Send instant messages to your online friends
http://uk.messenger.yahoo.com