Changeset 13892
- Timestamp:
- 02/28/08 08:50:32 (4 months ago)
- Files:
-
- trunk/gdal/ogr/ogr_feature_style.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/ogr/ogr_feature_style.html
r13890 r13892 11 11 12 12 <CENTER> 13 <H2>DRAFT V0.01 0- 2008/02/28</H2>13 <H2>DRAFT V0.011 - 2008/02/28</H2> 14 14 </CENTER> 15 15 … … 900 900 <P> 901 901 <H2>2.9 Using OGR SQL to transfer the style between the data sources</H2> 902 <P>We can use the OGR_STYLEspecial field to extract the feature level style, and ogr2ogr can be used to transfer the style string between the data sources according to the following example:</P>902 <P>We can use the <B>OGR_STYLE</B> special field to extract the feature level style, and ogr2ogr can be used to transfer the style string between the data sources according to the following example:</P> 903 903 <PRE> ogr2ogr -f "ESRI Shapefile" -sql "select *, OGR_STYLE from rivers" rivers.shp rivers.tab</PRE> 904 904 <P>Without specifying the length of the style field the output driver may truncate the length to a default value. Therefore it may be necessary to specify the target length manually, like:</P>
