[GRASS-SVN] r30216 - grass/branches/releasebranch_6_3/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 17 15:07:11 EST 2008


Author: neteler
Date: 2008-02-17 15:07:11 -0500 (Sun, 17 Feb 2008)
New Revision: 30216

Modified:
   grass/branches/releasebranch_6_3/vector/v.in.ogr/description.html
Log:
document projection error message (merge from HEAD)

Modified: grass/branches/releasebranch_6_3/vector/v.in.ogr/description.html
===================================================================
--- grass/branches/releasebranch_6_3/vector/v.in.ogr/description.html	2008-02-17 20:06:34 UTC (rev 30215)
+++ grass/branches/releasebranch_6_3/vector/v.in.ogr/description.html	2008-02-17 20:07:11 UTC (rev 30216)
@@ -186,17 +186,23 @@
 
 <h2>ERROR MESSAGES</h2>
 
-An error message such as:
+<i>"ERROR: DBMI-DBF driver error:
+SQL parser error: syntax error, unexpected DESC, expecting NAME processing 'DESC'"</i><br>
 
-<div class="code"><pre>
-DBMI-DBF driver error:
-SQL parser error: syntax error, unexpected DESC, expecting NAME processing 'DESC'
-</pre></div>
-
 indicates that a column name corresponds to a reserved SQL word (here: 'DESC').
 A different column name should be used. The <em>cnames</em> parameter can be used
 to assign different column names on the fly.
 
+<p>
+<i>"ERROR: Projection of dataset does not appear to match the current location."</i><br>
+
+You need to create a location whose projection matches the data you
+wish to import. Try using <em>g.proj</em> with the <em>-c</em> flag and the
+<em>location=</em> and <em>georef=</em> options to create a new location based 
+upon the projection information in the file. You should then be able to import the
+file into that location with <em>v.in.ogr</em>. If desired, you can then re-project
+it to another location with <em>v.proj</em>.
+
 <H2>REFERENCES</H2>
 
 <a href="http://www.gdal.org/ogr/">OGR vector library</a> <br>
@@ -205,15 +211,18 @@
 
 <h2>SEE ALSO</h2>
 
-<em><a HREF="db.connect.html">db.connect</a></em>,
-<em><a HREF="v.clean.html">v.clean</a></em>,
-<em><a HREF="v.build.polylines.html">v.build.polylines</a></em>,
-<em><a HREF="v.edit.html">v.edit</a></em>,
-<em><a HREF="v.external.html">v.external</a></em>,
-<em><a href="v.in.db.html">v.in.db</a></em>,
-<em><a href="v.in.e00.html">v.in.e00</a></em>,
-<em><a HREF="v.out.ogr.html">v.out.ogr</a></em>,<br>
-<em><a HREF="grass-pg.html">PostGIS driver</a></em>
+<em>
+<a HREF="db.connect.html">db.connect</a>,
+<a href="g.proj.html">g.proj</a>,
+<a HREF="v.clean.html">v.clean</a>,
+<a HREF="v.build.polylines.html">v.build.polylines</a>,
+<a HREF="v.edit.html">v.edit</a>,
+<a HREF="v.external.html">v.external</a>,
+<a href="v.in.db.html">v.in.db</a>,
+<a href="v.in.e00.html">v.in.e00</a>,
+<a HREF="v.out.ogr.html">v.out.ogr</a>,<br>
+<a HREF="grass-pg.html">PostGIS driver</a>
+</em>
 
 
 <h2>AUTHOR</h2>



More information about the grass-commit mailing list