style-url support for simplekml

lodeameije at gmail.com lodeameije at gmail.com
Mon Sep 24 08:21:41 EDT 2012


Hi!
I love the simplekml package. 
I have a lot of files and always use an external file for styles.
For the moment, I could not find how to implement a style-url without running over the kml file after generating and changing 'manually'(well, it "is" automated) all styles:

i.e.: 
            <styleUrl>..\..\Cada_Styles.kml#B_CaPa</styleUrl>
instead of 
            <styleUrl>#stylesel_459</styleUrl> (when a style was defined...)

An idea for the next version or am I looking over something?

Kind regards,
Lode



More information about the Python-list mailing list