def lines_to_features(lines, source='imagery'):
    """ Create features from lines """
    gid = 0
    features = []
    for line in lines:
        feature = {'type': 'Feature', 'geometry': {'type': 'LineString',
            'coordinates': line}, 'properties': {'id': gid, 'source': source}}
        features.append(feature)
        gid += 1
    return features
