<div>hi all,</div>
<div>I have a .dbf file holding the attribute info - result of importing a .dgn file using v.in.ogr.</div>
<div>The file is in /home/knoppix/grassdata/spearfish60/user1/dbf directory (I am using live CD).</div>
<div>I wish to set up a ODBC connection with a Postgres SQL DB and import the .dbf file to pg for </div>
<div>advanced querying options.</div>
<div>I have been able to start postgres SQL service on port 5432. It is running.</div>
<div>But when I do a createdb command from grass console I get a prompt that role &lt;knoppix&gt; does not exist.</div>
<div>or role &lt;root&gt; doesnot exist.</div>
<div>What do I have to do .... to create a new DB in postgresSQL from grass console and then import the .dbf layer</div>
<div>to it. </div>
<div>Actually I am writting a shell script .. so it is important to do this from the Grass console. Is there a way to do</div>
<div>what I wan&#39;t from the Grass console....one more thing the db.createdb command when entered in the grass console </div>
<div>says that no such command ... so I am using createdb.</div>
<div>Thanks</div>
<div>nishith</div>