<div><font face="Arial" size="2">You can extract the attributes and geometry (point, 
lines and polygons) <span class="751103100-10012008">from a Shapefile </span>to a 
text file.</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Here is an example:<br>ogr2ogr -f &quot;CSV&quot; output2 . 
-sql &quot;select OGR_GEOM_WKT,* from parcels&quot; -nln parcel</font></div>
<div><font face="Arial" size="2"><br>The geometry field, in the CSV file, will be named OGR_GEOM_WKT.<br>The 
geometry coordinates will be in Well Known Text format.</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Here is a sample of the WKT coordinates -<br>&quot;POLYGON 
((483368.9966979493 4813347.6753904885,483368.16060633108 ...</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Please see </font><a href="http://www.gdal.org/ogr/ogr_sql.html"><font face="Arial" size="2">http://www.gdal.org/ogr/ogr_sql.html</font></a></div>