Search for: KB10344 - Creating a line feature from GPS points. Step one - create a line: shp := layer.CreateShape( gisShapeTypeArc ) ; my_uid := shp.Uid ; shp.Lock(1) ; shp.Reset ; shp.AddPoint(my_point_1 ) ; shp.AddPoint(my_point_2 ) ; shp.AddPoint(my_point_3 ) ; ... shp.Unlock ; Step two - add a point on GPS update: shp := layer.GetShape( my_uid ) ; shp.Lock(1) ; shp.AddPoint(my_point ) ; shp.Unlock ; Created: November 21, 2003, Modified: August 03, 2015