add UDF function that sample WKT polyline at a fixed step