The goal of the present research was to find correlations between the topographic attributes of a river valley and local ground-floor vegetation and its habitat requirements expressed by ecological indicator values (EIV), using the geographical information systems (GIS), digital elevation model (DEM), and multivariate statistical analysis. We paid special attention to the river course, which determines the differentiation in slope aspects and the amount of solar radiation reaching the ground surface. The model object was an almost latitudinal, ca. 4-km-long break section of the Sopot river, crossing the escarpment zone of the Central Roztocze Highlands, southeastern Poland. The main material comprised species lists (with estimated abundance) for each ca. 200-m-long section, according to the river valley course, separately for the left and right riverbanks, 40 sections altogether, ca. 15 000 vegetation records, and physical and chemical soil measurements. A 3-meter resolution DEM was derived from a 1:10 000 topographic map. We calculated the correlations between the topographic attributes of the valley, species richness, and the EIVs for all the species recognized in each section of the valley. We found 241 herb plant species in the ground-floor vegetation of the study area. We did not find significant differences between the two riversides (61 ±13 species per one section for the left and 63 ±17 for the right side). Thus, the parallel course of the river valley does not change the species richness on a more "sunny" and more "shiny" riverbank. However, this factor "cooperating" with other topographic attributes of the valley significantly differentiates the shape of species showing various requirements for basic habitat resources: light, moisture, soil trophy, reaction, dispersion, and organic-matter content.