<div dir="rtl"><div dir="ltr">Hi Markus and Moritz,<br><br></div><div dir="ltr">I tried again to run db.out.ogr as follows, but it seems that it doesn't support lines. Should I add something to the command? or update something in GRASS? I've also tried in another query to use layer in my syntax, yet it didn't recognize it as a valid one. I apply the same question to this problem as well.<br>
<br>GRASS 7.0.svn (Israel):~ > db.out.ogr input=allpairs dsn=/home/dof1985/Grass_projects/allpairs format=CSV<br>WARNING: 11277 line(s) found, but not requested to be exported. Verify<br>         'type' parameter.<br>
Exported table </home/dof1985/Grass_projects/allpairs.csv><br><br></div><div dir="ltr">I have also tried two other methods:<br></div><div dir="ltr">First, I tried using v.out.ogr to a csv format, but it snapped the roads in my map to several segments creating duplicates, thus total of 216,445 entries in the csv file, which is too many in any scale and hard to filter.<br>
<br></div><div dir="ltr">I have also tried Moritz suggestion with v.db.select. It was much convenient with only 1428 entries, though they were formed in one cell separated with |. Can I use that command to define for each column to be in a separated column of the csv?<br>
<br></div><div dir="ltr">Further more can you recommend of any function that will allow me to filter the exported attributes to the csv file, instead of using excel to do so?<br><br></div><div dir="ltr">Best,<br><br>Dor <br>
</div><div dir="ltr"><br><br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/4/2 Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/04/13 17:38, Markus Neteler wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Since we are in GRASS 7 (where we may change parameters), I would not<br>
mind to see a more intuitive solution here.<br>
</blockquote>
<br></div>
For simple attribute export to csv, v.db.select with the file= parameter is a nice and simple solution.<span class="HOEnZb"><font color="#888888"><br>
<br>
Moritz<br>
</font></span></blockquote></div><br></div>