|Wikispecies has information related to Stratiomyidae|
The soldier flies (Stratiomyidae, sometimes misspelled as Stratiomyiidae, from Greek στρατιώτης - soldier; μυια - fly) are a family of flies (historically placed in the now-obsolete group Orthorrhapha). The family contains over 2,700 species in over 380 extant genera worldwide. Adults are found near larval habitats, which are found in a wide array of locations, mostly in wetlands, damp places in soil, sod, under bark, in animal excrement and in decaying organic matter. Stratiomyinae is a different sub group that tends to have an affinity to aquatic environments.They are diverse in size and shape, though they commonly are partly or wholly metallic green, or somewhat wasplike mimics, marked with black and yellow or green and sometimes metallic. They are often rather inactive flies which typically rest with their wings placed one above the other over the abdomen.
In English, the Stratiomidi are commonly called soldier flies, in German Waffenfliegen ("armed flies"). In the Italian language Duméril (1832) used the common names term "stratiomidi" and "mosche armate" in the Dizionario delle Scienze Naturali (Dictionary of Natural Sciences).
These flies are very small to large (3–20 mm long). They have antennae in three segments, with the terminal segment annulated. Ocelli are present; the lower orbital bristles are absent. The post-vertical orbital bristles are absent, and so are the vibrissae. As for the mouthparts, the proboscis is short and not piercing; the maxillary palps are 1- or 2-segmented. The wings have either a small discal cell, or the discal cell is absent. The is no sub-apical cell, and a closed anal cell. The costa does not extend around the entire wing. The sub-costa reaches the costa independently of vein 1, or joins vein 1 close to where it joins the costa. The leading-edge veins is often markedly stronger than the rest; vein 6 is present and reaches the wing margin whereas vein 7 is present and does not reach the wing margin. The tibiae are without spurs. For a pictorial atlas explaining these terms go to 
Larvae and pupae
Larvae may be either aquatic or terrestrial. In regards to nutrition they may be saprophagous, mycophagous, or predatory. The larva is apodous and eucephalic and cylindrical-fusiform, depressed dorso-ventrally and distinctly segmented. The size of the mature larva is variable, depending on the species, from less than 1 cm in length up to 3–5 cm. The head is much narrower than the thorax and partially sunken into it. The integument is strongly sclerotized with the cuticle containing inclusions of calcium carbonate with hexagonal crystals which form a characteristic micro-sculpture. In aquatic species, the last urite is thin and more or less elongated forming a breathing tube which ends with a tuft of waterproofing bristles. It is used to draw air from the surface, the larva remaining submerged.
Larva of Stratiomys longicornis
The pupa develops inside the exuvia of the last larval stage, a feature common to all Stratiomyomorpha. The pupation within the larval exuvia constitutes a case of evolutionary convergence with Cyclorrhapha , in which group there is the formation of a true puparium .
The larvae of Stratiomyidae are characterized by a wide variety of behaviours and habitats. The diet is mainly scavenger, but aquatic species also feed on algae. Not very frequent are zoophagia, predation and phytophagia.The aquatic larvae are sometimes characterized by particularly specific habitat requirements. For example, several species colonize rocks covered by a thin layer of water (hygropetric); others are found in brackish water, some in thermal springs. In general, though, Stratiomyidae larvae colonize stagnant waters or rivers near the shores, seeking the richest vegetation, algae and debris.
Terrestrial larvae are found in organic substrates: in decomposing vegetable matter and animal excreta, in moist soils and litter, under the bark of trees, etc. Inopus rubriceps (Macquart), the sugarcane soldier fly, is a pest: the larvae attack the roots of sugarcane in Australia.
Adults are glucophagous and visit flowers to feed on nectar, or else do not feed at all, dedicating their short lives to reproduction. Unlike other dipterous scavengers, adults of Stratiomyidae do not have relationships with the growth substrate of the larvae, except for oviposition.
Larval development takes place with a variable number of moults: depending on the species, up to 10 larval stages. Particularly well known is the post-embryonic development of Hermetia illucens, whose larvae develop through 6 stages.
It is reported that species of this fly may travel along with members of Polybioides raphigastra through the practice of mimicry.
The Stratiomyidae are closely related to the family of Xylomyidae, with which they share 10 synapomorphies, and they form a monophyletic clade with the family of Pantophthalmidae with which they share 5 synapomorphies.
- Literature for Palaearctic Fauna
- Lindner, E., 1938, Vol 18. Stratiomyiidae. In: Lindner, E. (ed.): Die Fliegen der Palaearktischen Region. Stuttgart, 4(1):1-218.
- Dusek J. and Rozkosny R. 1963-1967 Revision mitteleuropäischer Arten der Familie Stratiomyidae (Diptera) mit besonderer Berücksichtigung der Fauna der CSSR. 60 (1963) : 201-221; 61 (1964) :360-373; 62 (1965): 24-60; 64 (1967): 140-165.
- Acta entomologica bohemoslovaca 71: 322-341 + 1 Tafel.; Prag. Keys to subfamilies, genera and species. In German.
- Nartshuk, E. P., 1988, 36. Family Stratiomyidae. Part I Diptera and Siphanoptera (In: Bei-Benko, G. Ya.,) Mycetobiidae-Therevidae. Keys to The Insect of European Part of The USSR. Russia, Vol. 5(2): 700-738.
- Rozkošný, R., 1973, Stratiomyidae of Denmark and Fennoscandia. Lyneborg L. (ed.). Denmark, pp:1-139.
- Rozkošný, R., 1982, A Biosystematic Study of The European Stratiomyidae (Diptera). Vol.1. Introduction, Beridinae, Sarginae and Stratiomyinae. Series Entomologica, 21. Dr.W. Junk, The Hague, pp. 1–401.
- Rozkošný, R., 1983, A Biosystematic Study of The European Stratiomyidae (Diptera). Vol.2. Clitellariinae, Hermetiinae, Pachygasterinae and Bibliography. Series Entomologica, 25. Dr.W. Junk, The Hague, pp. 1–431.
- Rozkošný, R., Nartshuk, E. P., 1988, Family Stratiomyidae. In: Soós, Á. & Papp, L. (eds.): Catalogue of Palearctic Diptera. Amsterdam & Akadémiai Kiadó, Budapest, pp 42–96.
- Literature for World Fauna
- Woodley, N. E., 2001. A World Catalog of the Stratiomyidae (Insecta: Diptera). Myia 11: 1-473. Backhuys Publishers, Leiden
|Wikimedia Commons has media related to Stratiomyidae.|