Hi: using svn trunk, the KML output has reletively simple style definitions by 
default.

OGC KML allows for styles to be remotely defined within the <styleURL> element, 
which refs a local or remote file, and XPointer to a given style def.  For 
example:

<styleUrl>somefile.kml#mystyle</styleUrl>

...would use the style mystyle in somefile.kml.

I wonder whether this would be a useful -dsco for KML output (default behaviour 
would be as per the current behaviour).  Something like -dsco 
LayerStyle=[LayerName,]somefile.kml#mystyle.

the KML driver would then use this to output the style def for the given layer. 
 If LayerName is not specified, the style is applied to the entire document.

Comments?

..Tom



_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to