Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(19)  |  Call(19)  |  Derive(0)  |  Import(0)

src/i/g/igc2kmz-HEAD/igc2kmz/__init__.py   igc2kmz(Download)
    def __init__(self):
        self.kmz = kmz.kmz()
        #
        self.icon_scales = [sqrt(x) for x in [0.6, 0.5, 0.4, 0.3]]
        self.icons = [kml.Icon.palette(4, i) for i in [25, 25, 24, 24]]
            rows.append(('Flight URL', html))
        table = make_table(rows)
        return kmz.kmz(kml.description(kml.CDATA(table)))
 
    def make_snippet(self, globals):
        strings = [self.pilot_name, xc, date.strftime('%Y-%m-%d')]
        snippet = kml.Snippet(', '.join(s for s in strings if s))
        return kmz.kmz(snippet)
 
    def make_solid_track(self, globals, style, altitude_mode, extrude=None,
        style_url = globals.stock.check_hide_children_style.url()
        folder_options['styleUrl'] = style_url
        return kmz.kmz(kml.Folder(placemark, **folder_options))
 
    def make_scale_chart(self, globals, scale):
    def make_track_folder(self, globals):
        style_url = globals.stock.radio_folder_style.url()
        folder = kmz.kmz(kml.Folder(name='Track', open=1, styleUrl=style_url))
        folder.add(globals.stock.invisible_none_folder)
        if self.track.elevation_data: