/// <summary> /// Returns the geometry corresponding to the Object ID /// </summary> /// <param name="oid">Object ID</param> /// <returns>geometry</returns> public SharpMap.Geometries.Geometry GetGeometryByID(uint oid) { using (OGR.Feature _OgrFeature = _OgrLayer.GetFeature((int)oid)) return(this.ParseOgrGeometry(_OgrFeature.GetGeometryRef())); }