<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br><br></div><div>There are two little issues that recently popped up in GRASS 7<br></div><div><br></div>1) I performed a pairwise network analysis with v.net.allpairs.<br>
</div>The attribute table to the output map "map" that is produced is called "map_1" (note: _1 !!). Thus when I then try to export the attribute table to a csv using v.out.ogr I get following warning (which is of course net a problem):<br>
</div>db.out.ogr input=map_1 dsn=path/to/csv/file.csv format=CSV<br>WARNING: Vector map <map_1> not found -->right, because there is no map_1, the map is called "map"<br>Is that an intended behaviour that the corresponding attribute table for v.net.allpairs gets a ending of "_1"?<br>
<br></div></div></div>2) It seems that the option for the output in db.out.ogr is maybe set wrong (<a href="http://svn.osgeo.org/grass/grass/trunk/scripts/db.out.ogr/">http://svn.osgeo.org/grass/grass/trunk/scripts/db.out.ogr/</a>). Is it really necessary that the outputfile already exists because the GUI asks to select a file rather than allow specifying the path to the file? I want to create a new csv with that module, so maybe the following needs to be changed from "old" to "new":<br>
<br>#%option G_OPT_F_INPUT<br>#% key: dsn<br>#% gisprompt: old,bin,file<br>#% description: Table file to be exported or DB connection string<br>#% required : yes<br>#%end<br><br></div>best regards,<br></div>Johannes<br><div>
<div><div><div><div><div><div><div><br><div><div><br><br></div></div></div></div></div></div></div></div></div></div></div>