'Returns the KML representation of the Geometry.'

@property
def kml(self):

    if GEOJSON:
        return capi.to_kml(self.ptr, None)
    else:
        raise NotImplementedError('KML    output    only    supported    on    GDAL    1.5+.')
