public static Geometry CreateFromWkb(byte[] wkb, int srid) { var geom = Geometry.CreateFromWkb(wkb); var spatialRef = Rekod.Services.OgrService.Method.GetSpatialReference(srid); geom.AssignSpatialReference(spatialRef); return(geom); }