= KML = == Introduction == Some introduction to KML [http://en.wikipedia.org/wiki/KML here]. And also you should read an excellent article on converting vector data to KML using OGR by Mano Marks [http://code.google.com/apis/kml/articles/vector.html here]. == Styling == Until the driver supports the OGR simple feature style, your best bet will be to use XSL to modify the KML output accordingly. This allows a great amount of flexibility in defining your own styles and applying them based on feature attributes. Here's a quick example, based on a shapefile concerning geological datasets. In this case, the attributes are still going into the KML description element. Soon the attributes will go directly to schema elements. In this case, we embed a static style document that colors polygons. Then as we encounter features, we simply apply a style based on our criteria. You can use the same approach to assign icons to points based on some property. Or any other formatting you desire, for that matter. Here's the XSL: {{{ #Tertiary #Jurassic #Permian #Water #Quaternary #Carboniferous #Algonkian #Cretaceous #Paleozoic #Mesozoic }}} == Links == Here's some [KmlTagHandling information] on KML tag handling