hello I was wondering what I did wrong in the following code ? Geometry line2=new Geometry(1,"LINESTRING((33.0 41.0 0,33.5 42.5 0, 33.9 41.9 0,33.0 41.0 0))", null, null); Feature feature = new Feature(layerDefinition); feature.SetFID(0); feature.SetGeometry(line2); layer.CreateFeature(feature); regards