Added interpolation for linestrings and polygon.