Dear grass user,<div><br></div><div>It may be a silly error but it is confusing me. I will be very glad if you could help.</div><div><br></div><div><br></div><div>I am learning GRASS GIS from "Open source gis a grass gis approach" book. This a an excellent book for the beginners.</div>
<div>I am using winGRASS 6.3.0.4 native version and running nc_spm 08@PERMANENT.</div><div>I have executed the following comand:</div><div><br></div><div><span class="Apple-style-span" style="font-weight: bold;">r.contour elevation out=elev_contour_1111m step=3 min=55 max=154</span><br>
</div><div> </div><div>it is giving following error:</div><div><br></div><div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;">BMI-DBF driver error:</span></span></div>
<div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;">SQL parser error: syntax error, unexpected NAME, expecting '(' processing 'geonames_features'</span></span></div>
<div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;">in statement:</span></span></div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;">create table database geonames_features.elev_contour_1111m ( cat integer, level double precision )</span></span></div>
<div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;">Error in db_execute_immediate()</span></span></div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;"><br>
</span></span></div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;"><br></span></span></div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: bold;">Unable to create table: create table database geonames_features.elev_contour_1111m ( cat integer, level double precision )</span></span></div>
<div><br></div><div> then I have run the following steps:</div><div> -> db.connect</div><div> -> db.connect driver=dbf {database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/} {schema=database geonames_features}</div><div> -> I want to remove the <span class="Apple-style-span" style="font-weight: bold;">schema=database geonames_features ; </span>because i think it is creating problem</div>
<div> -> I have deleted from txtbox and execute " <span class="Apple-style-span" style="color: rgb(102, 102, 204);"><span class="Apple-style-span" style="font-weight: bold;">db.connect driver=dbf {database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/}</span></span> "</div>
<div> -> but when again I open <span class="Apple-style-span" style="font-weight: bold;">db.connect </span>window it shows <span class="Apple-style-span" style="font-weight: bold; ">schema=database geonames_features</span></div>
<div><span class="Apple-style-span" style="font-weight: bold;"> -> How can I remove it.</span></div><div><span class="Apple-style-span" style="font-weight: bold;"> </span></div><div><br></div><div>best</div><div><br></div>
<div>Md. Zahid Parvez</div><div><br></div><div><br></div></div>