OK. Now I have my PEN styles loaded in the table. The KML driver is still writing only red. Anyone how to get KML to use the OGR_STYLE column?
THK On Tue, Oct 29, 2013 at 8:57 PM, Tim Keitt <[email protected]> wrote: > Thanks. I had seen that, but did not realize it was saying to write these > string into a column in the database. > > THK > > > On Tue, Oct 29, 2013 at 5:10 PM, Jukka Rahkonen <[email protected] > > wrote: > >> Tim Keitt <tkeitt <at> utexas.edu> writes: >> >> > >> > I'd like to set the color of line segments individually according to a >> field in KML output. Is that possible? Seem it only outputs red. I can >> change that globally, but not easily for many line segments. >> > >> > >> > >> > Looking at the driver code, there is some code there to handle colors. I >> have no idea how to attach a color table to an ogr layer. Any hints on how >> this works? >> >> Have a try by adding an OGR_STYLE column and fill the colours for the >> features as described in >> http://www.gdal.org/ogr/ogr_feature_style.html >> >> I have never tried that myself but perhaps it works. >> >> -Jukka Rahkonen- >> >> _______________________________________________ >> gdal-dev mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > > > > -- > http://www.keittlab.org/ > -- http://www.keittlab.org/
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
