implement spline parser
implement polyline parser