I finally gave up and stipped the KML data into a .csv and finally
was able to (according to ogrinfo) successfully attach styles to it with
this .vrt file:
<OGRVRTDataSource>
<OGRVRTLayer name="road">
<SrcDataSource>road.csv</SrcDataSource>
<GeometryType>wkbLineString</GeometryType>
<LayerSRS>WGS84</LayerSRS>
<GeometryField encoding="PointFromColumns" x="Longitude" y="Latitude"/>
<SrcSQL>SELECT *,'PEN(c:#FF00FF,w:10px)' AS OGR_STYLE FROM road</SrcSQL>
</OGRVRTLayer>
</OGRVRTDataSource>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev