<div dir="rtl"><div dir="ltr" style="text-align:left">Hi all,<br><br></div><div dir="ltr" style="text-align:left">I'm trying to use db.out.ogr to export an attributes table to a csv format for excel. I am using GRASS 7, but not sure what to put in the "dsn=" syntax. <br>
<br></div><div dir="ltr" style="text-align:left">This is the command I have used and the error that has appeared. Further when the file will be created, where can I find it?<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
db.out.ogr input=distance1 dsn=/home/dof1985/Grass_projects/Waste/Israel/CD-waste/sqlite/sqlite.db format=CSV table=shortest_distance<br>WARNING: 4695 line(s) found, but not requested to be exported. Verify 'type' parameter.<br>
ERROR 1: It seems a file system object called<br>'/home/dof1985/Grass_projects/Waste/Israel/CD-<br>waste/sqlite/sqlite.db' already exists.<br>ERROR: Unable to open OGR data source '/home/dof1985/Grass_projects/Waste/Israel/CD-waste/sqlite/sqlite.db'<br>
(Mon Apr  1 18:06:48 2013) Command finished (0 sec)                             <br><br></blockquote><div><br></div><div>Thanks a lot<br><br>Dor <br></div></div></div>