1 Introduction

Nowadays, urban areas house about 54% of the population around the world, with expectation to reach 66% by 2050 (United Nations 2014). Soils in urban areas are strongly affected and modified by human activity, but in turn, they also have a great influence on human life and health (Morel et al. 2005; Levin et al. 2017), thus becoming a research topic of increasing interest worldwide (Burghardt et al. 2015). Urban soils are severely influenced by anthropogenic activities, such as building and industrial activities, road traffic, disposal of liquid and solid wastes, and urban agriculture practices (El Khalil et al. 2008b, 2016; Minnikova et al. 2017). This results in significant changes in soil pH, structure, aeration, water drainage, and nutrient cycles (Morel et al. 2005; El Khalil et al. 2008b, 2013; Joimel et al. 2016). Urban soils may also be considered as the source and sink of large amounts of many organic substances (e.g., polyaromatic hydrocarbons) and trace elements (TE) (e.g., heavy metals) (Meuser 2010; Pouyat et al. 2010), being a major concern to urban environment and public health (Luo et al. 2012). In particular, heavy metals pose a huge risk for human safety with their transfer potential to human tissues through dermal contact absorption, inhalation of soil particles, and consumption of contaminated vegetables (Aeliona et al. 2009; Luo et al. 2012).

Most studies related to urban soils are exclusively focused on their physicochemical characteristics, while their biological properties are generally neglected (Newbound et al. 2010; Joimel et al. 2017). The analysis of biochemical and microbiological parameters along with soil physicochemical properties may constitute an essential tool to quantify soil disturbance due to human interference in urban areas, particularly, soil enzymes that have high sensitivity to anthropogenic disturbances (Filip 2002; Gil-Sotres et al. 2005).

During the last decades, the impact of anthropogenic and technogenic activities on soil microbial communities has been extensively reported (Ding et al. 2016); however, few studies have reported the anthropization effect on bacterial community structure and diversity of urban soils (Hafeez et al. 2012).

In the present study, we have focused on the city of Marrakech, the capital of the Marrakech-Safi region in Morocco, which is inhabited by 1,323,005 people (Haut-commissariat au plan 2014). The city was built on an oasis and was irrigated by rivers draining towards the Haouz plain, with the palm plant the main tree in Marrakech urban and suburban areas (Wilbaux 2001; El Faiz 2002; El Khalil et al. 2008b). Until 1912, the evolution of the urban area was confined to the historic center; however, since then, new areas were built outside of the historic city walls (Wilbaux 2001; El Faiz 2002). The accelerated expansion of the city led to the overlap of different land uses including agricultural and industrial activities and domestic waste disposal. Previous work on Marrakech urban soils have demonstrated that human activities have led to an extensive heterogeneity of soils in urban and peri-urban environments (El Khalil et al. 2008b, 2013, 2016). According to El Khalil et al. (2008b), the degree of anthropogenic influence could be mostly related to the content of different technic materials incorporated into soils (14% in the most anthropized). Moreover, the physical degradation of these technogenic materials increased the water-extractable fraction of TE, enhancing the risk of transfer of metallic contaminants to humans through the food chain (El Khalil et al. 2016).

The present work aimed to evaluate the anthropization impact on both abiotic and biotic soil indicators, namely trace (TE) and major elements (ME) concentrations, soil microbial abundance and enzymatic activities, and on the structure and diversity of soil bacterial communities. We focused on nine topsoils of Marrakech city located along an anthropogenic gradient. The comparison of the physicochemical, biochemical, and microbiological characteristics contributes to our comprehension of the anthropization influence on the biological functioning of urban soils.

2 Materials and methods

2.1 Soil sampling

Composite soil samples (from five random points) were collected in the upper 20 cm of nine soils (Fig. 1) during a dry season (June 2014), following a gradient of increasing anthropogenic influence (construction activities rate and the road traffic intensity), ranging from a suburban (site 1—less anthropized) to an urban zone (site 9—most anthropized), according to El Khalil et al. (2008b) (Fig. 2). The construction rate was estimated by evaluating the building density in the sampling sites based on satellite images (Seto et al. 2011). In site 1, no buildings or residential activities were detected, while site 9 is a large residential area with high building density. Soil samples used for microbiological analyses were sieved (2 mm) and stored at 4 °C, while soils for chemical analyses were air-dried, sieved (2 mm), and stored at room temperature.

Fig. 1
figure 1

Localization and observation of the sampling sites, the surface layers, and their technogenic fractions

Fig. 2
figure 2

Sampling sites. Map adapted from Marrakech Al Medina (feuille NH-29-XXIII-3a, 1/50000) (El Khalil et al. 2008b)

2.2 Soil physicochemical properties

The coarse fraction (> 2 mm) was sorted to separate the different technic materials (technogenic fraction (TGF)) (e.g., building material, plastic, wood, metallic material, bones, glass, paper, fabric) and natural materials (e.g., gravel, rocks) as described by El Khalil et al. (2008b). The percentage of TGF was used in this study as a way to quantify the human perturbation level in the different soils.

The pH of soils was measured in a water suspension (1:2.5 soil/water) using pH meter Jenco 6173 (Alef and Nannipieri 1995). The total organic carbon (TOC) was measured by Anne method (Anne 1945), based on the oxidation of soil organic matter carbon with K2Cr2O7. The excess of dichromate was titrated with a solution of ammonium and iron sulfate. The nitrogen (N) content was determined by the Kjeldahl method, based on soil mineralization with sulfuric acid at high temperature. The determination of ammonium in the extract was done by steam distillation. The available P was measured using the Olsen method (Olsen P (OP)), consisting in the extraction of P from soil with NaHCO3, amount of P (KH2PO4) was determined by colorimetric method at 820 nm.

2.3 Total and extractable concentrations of trace and major elements

The total and extractable concentrations of TE (As, B, Cd, Co, Cr, Cu, Ni, Pb, Zn) and ME (Al, Ca, Fe, K, Mg, Mn, Na, S, P) were determined in all soil samples.

The total fraction of TE and ME was quantified using the aqua regia mineralization method as described in the ISO NF 11446. Of soil, 0.5 g was incubated in 8 ml of aqua regia (6 ml hydrochloric acid/2 ml nitric acid) during 16 h at room temperature and then heated at 100 °C using a DigiPREP MS (SCP Science) for 2 h. The digest was adjusted to 45 ml with ultrapure water, filtered with a DigiFILTER (0.45 μm), and brought up to 50 ml with the same solution.

The extractable fraction of TE and ME was obtained by extracting 10 g of soil with 25 ml of distilled water. The mixture was shaken (15 rpm) for 2 h and then filtered. The filtrates were acidified with 1% of HNO3 before analysis.

TE and ME were analyzed using an inductively coupled plasma (ICP-OES) ThermoFisher, ICAP DUO 6000 at Laboratoire Sols et Environnement, University of Lorraine. Quality control was based on the use of a certified control solution SCP EU-H for all the analyzed elements.

2.4 Determination of geoaccumulation index (I geo)

Igeo was calculated following the equation (Muller 1969):

$$ Igeo=\log 2\left(\frac{Cn}{1.5\times Bn}\right) $$

where Cn is the measured concentration of the element in environment and Bn is the geochemical background value in soil. The values obtained in the less anthropized soil (site 1) were used as background values. The factor 1.5 was introduced to include possible variations of the background matrix correction factor due to lithogenic variations.

According to Muller (1969), the Igeo for each metal is classified as uncontaminated (Igeo ≤ 0), uncontaminated to moderately contaminated (0 < Igeo ≤ 1), moderately contaminated (1 < Igeo ≤ 2), moderately to heavily contaminated (2 < Igeo ≤ 3), heavily contaminated (3 < Igeo ≤ 4), heavily to extremely contaminated (4 < Igeo ≤ 5), and extremely contaminated (Igeo ≥ 5).

2.5 Soil enzymatic activities

The dehydrogenase activity (DHA) was measured by the quantification of the triphenylformazan (TPF) obtained after the incubation of soil with triphenyltetrazolium chloride (TTC) as substrate (Thalmann 1968). Five grams of fresh soil was well mixed with 5 ml of TTC solution (0.8% TTC in 0.1 M Tris-HCl buffer, pH 7.6) and incubated at 30 °C for 24 h. The TPF produced was extracted with acetone (90%), and the optical density was measured at 546 nm. A blank was prepared by adding 5 g of fresh soil to 5 ml 0.1 M Tris-HCl buffer, pH 7.6. The concentration of TPF was determined by using a standard curve (0 and 40 μg TPF ml−1).

The alkaline-phosphatase (phosphomonoesterase) activity was quantified by the determination of p-nitrophenol (PNP) resulting from the incubation of p-nitrophenyl phosphate substrate with soil (Tabatabai and Bremner 1969; Eivazi and Tabatabai 1977). One gram of soil, 4 ml of modified universal buffer, and 1 ml of p-nitrophenyl phosphate (0.015 M) were incubated during 1 h at 37 °C with shaking, and 1 ml of CaCl2 (0.5 M) and 4 ml of NaOH (0.5 M) were added. A blank was prepared by adding 1 ml of p-nitrophenyl phosphate after the addition of 1 ml of CaCl2 and 4 ml of NaOH. The optical density was measured at 400 nm. p-Nitrophenol concentration was determined by using a standard curve with concentrations ranging between 0 and 20 μg PNP ml−1.

The urease activity was determined in accordance with Tabatabai and Bremner (1972) methodology by the determination of the ammonium concentration produced after soil and urea incubation. Five grams of fresh soil was mixed with 2.5 ml of urea (0.08 M) and incubated for 2 h at 37 °C with shaking, followed by adding 50 ml of KCl (1 M) and left for 30 min with shaking. The ammonium content was determined spectrophotometrically at 690 nm. A blank was made by adding 2.5 ml of distilled water and adding urea solution at the end of the reaction and immediately before KCl addition. The concentration of NH4-N was determined by using a standard curve (0 and 2.5 μg NH4-N ml−1).

2.6 Microbial communities

2.6.1 Enumeration of culturable microorganisms

Microbial enumeration was performed according to Aboudrar et al. (2007). Ten grams of fresh soil was suspended in 90 ml of sterilized saline solution (9 g l−1, NaCl). Samples were serially diluted and spread (0.1 ml) in triplicate onto nutrient agar medium for bacteria, potato dextrose agar (PDA) for fungi, and International Streptomyces Project 2 (ISP2) for actinomycete enumeration. After 72 h of incubation at 28 °C, the number of colony-forming units (CFU) per gram of soil dry weight was counted for each group of microorganisms.

2.6.2 Denaturing gradient gel electrophoresis analysis

The soil DNA extraction was realized from a composite soil sample of each site with Power Soil DNA Isolation Kit (MO BIO Laboratories, Inc., USA) according to the manufacturer’s instructions and stored at − 20 °C.

For the denaturing gradient gel electrophoresis (DGGE) analysis, the nested PCR reaction conditions were carried out as described previously in Pereira and Castro (2014). In the first amplification, primers 27F (50-GAGTTTGATCCTGGCTCAG-30) and 1492R (50-ACCTTGTTACGACTT-30) (NZYTech) were used (Lane 1991) to amplify the bacterial 16S rDNA sequence. PCR was conducted in 50 ml content of 1× PCR buffer (Promega), 2.5 mM MgCl2, 0.2 mM of each deoxynucleoside triphosphate (dNTP) (NZYTech), 0.6 mM of each primer, 1.25 μl DMSO, 0.05 U Taq polymerase (Go Taq-Promega), and 2 μl of DNA. After that, the products from the first amplification were used as template using the primers 338F-GC (50-GACTCCTACGGGAGGCAGCAG-30) and 518R (50-ATTACCGCGGCTGCTGG-30) (NZYTech), which amplify the highly variable V3 region of bacterial 16S rRNA gene (Muyzer et al. 1993). The amplification reactions were conducted in 50 ml content of 1× PCR buffer (Promega), 2.5 mM MgCl2, 0.2 mM of each dNTP (NZYTech), 0.6 mM of each primer, 0.05 U Taq polymerase (Go Taq-Promega), and 1 ml of PCR product. PCR products were verified in a 1.5% (w/v) agarose gel in 1× TAE buffer.

DGGE gels were run in a DCode Universal Mutation Detection System (Bio-Rad, USA) as previously described in Pereira and Castro (2014). The nest-PCR products (ca. 900 ng of DNA) were loaded in gels contained 8% (w/v) polyacrylamide (37:1 acrylamide/bis-acrylamide) in 1× TAE buffer using a denaturing gradient ranging from 35 to 60% (7 M urea and 40% formamide). In each gel, a DNA ladder (HyperLadder™ 100 bp—Bioline) was used for internal and external normalization. Electrophoresis was run in 1× TAE buffer at 60 °C temperature, initially at 20 V during 15 min and then at 70 V for 960 min. Gel staining was carried out using 5× Gel-Green Nucleic Acid Stain solution (Biotium, Inc.) during 10 min. Gel images were captured by a Safe Imager™ Blue-Light Transilluminator (Invitrogen™) and a micro DOC gel documentation system (Cleaver Scientific Ltd.). Jaccard’s similarity coefficient with 1% tolerance was used for DGGE banding profile comparison while they were clustered using unweighted pair group methodology with arithmetic averages (UPGMA) (Moreira et al. 2014), using the Bionumerics® software (version 6.6; Applied Maths, St-Martens-Laten, Belgium, version 6.6).

2.7 Statistical analyses

All statistical analyses were carried out with SPSS 21.0 software package (SPSS, Inc., Chicago, IL, USA). The data were analyzed through analysis of variance (ANOVA), and the statistical significance of differences (P < 0.05) between means was set through Tukey post hoc test. Pearson’s correlations were made between different variables.

Banding profiles were converted onto a matrix of presence/absence (Moreira et al. 2014), and a canonical correspondence analysis (CCA) was performed to link bacterial communities to some physicochemical characteristics using PC-ORD (MJM Software, Gleneden, USA, version 5). Shannon-Wiener (H′) index was determined depending on DGGE band intensity imitated as peak heights in the densitometric curve, with Eq. (1):

$$ {H}^{\prime }=-\sum \left({n}_i/N\right).\log \left({n}_i/N\right) $$
(1)

where ni is the height of the peak and N is the sum of all peak heights of the densitometric curve (Boon et al. 2001).

3 Results

3.1 Physicochemical parameters

The physicochemical characteristics of the topsoils collected in the nine sites along the anthropogenic gradient are presented in Table 1. The pH of all soils was found to be around neutral, ranging from slightly acidic (6.77 in soil 1) to slightly basic (7.71 in soil 5) without notable differences between sites. The water content of soils never exceeded 2%, varying between 0.82% in soil 7 and 1.92% in soil 5, however without a clear trend along the anthropogenic gradient. TGF increased clearly along the anthropogenic gradient. No trace of technic materials was found in soil 1, while the TGF reached 35% in soil 9 for which it was considered a Technosol (IUSS 2015). The TOC varied widely and independently of the anthropogenic gradient (P < 0.05), ranging between 0.19% in soil 8 and 1.71% in soil 7. The TKN ranged between 0.04% in soil 4 and 0.20% in soil 9. The variation between sites was very weak but showed to be significant (P < 0.05) and correlated to the gradient of anthropization. Total and available phosphorus (Olsen P) contents also varied significantly between sites (P < 0.05), ranging from 0.61 mg g−1 in soil 1 to 1.78 mg g−1 in soil 9 and from 0.025 mg g−1 in soil 1 to 0.140 mg g−1 in soil 7, respectively. A general increase of total phosphorus was observed in soils along the anthropogenic gradient.

Table 1 Physicochemical characteristics of the soils recovered from the different sites

Total concentration of TE varied between 45.22 and 126.25 mg kg−1 for Zn, 6.65 and 10.18 mg kg−1 for As, 9.31 and 22.13 mg kg−1 for B, 0.13 and 0.28 mg kg−1 for Cd, 7.49 and 11.89 mg kg−1 for Co, 21.39 and 42.21 mg kg−1 for Cr, 14.16 and 71.69 mg kg−1 for Cu, 12.75 and 20.42 mg kg−1 for Ni, and 10.04 and 73.69 mg kg−1 for Pb (Table 2). Excepting Cd and B, the total concentrations of TE increased with human interference rate. Indeed, the TGF was highly positively correlated to Cu (r = 0.954**), Pb (r = 0.899**), Cr (r = 0.874**), and As (r = 0.718*) (Online resource 1). The water-soluble fractions of most TE were very low and in most cases were below the detection limit.

Table 2 Total concentration and water-soluble fraction (mg kg−1) of trace elements in the soils recovered from the different sites

The calculated average values of Igeo of TE decreased for urban soils with the following trend Pb > Cu > Zn > As > Ni > Cr > Co > B > Cd (Table 3). Pb and Cd had, respectively, the highest and lowest values of Igeo. Based on the Igeo values, the studied urban soils of Marrakech were classified as moderately to heavily contaminated with Pb and moderately contaminated with Cu and Zn. Despite the presence of TGF in the different sites, the Igeo values for As, Ni, Cr, Co, B, and Cd were negative, which might be due to the low background concentrations and to a deficient enrichment of these elements (Charzyński et al. 2017; Ita and Anwana 2017).

Table 3 Geoaccumulation index (Igeo) of trace elements of soils recovered from sites 2 to 9

Total concentrations of ME varied between 13.11 and 16.37 g kg−1 for Al, 22.36 and 94.72 g kg−1 for Ca, 19.32 and 30.43 g kg−1 for Fe, 2.83 and 6.77 g kg−1 for K, 7.03 and 23.28 g kg−1 for Mg, 0.32 and 0.89 g kg−1 for Mn, 0.28 and 1.26 g kg−1 for Na, and between 0.17 and 3.83 g kg−1 for S.

Total concentrations were high in all sites (Table 4), generally following the geochemical background (El Khalil et al. 2013), with an overall increase along the anthropogenic gradient, which was corroborated by the positive correlations found between the TGF and S (r = 0.912**) and Na (r = 0.904**) (Online resource 1).

Table 4 Total concentration and water-soluble fraction of major elements in the soils recovered from the different sites

The water-soluble fractions of ME were higher than those recorded for TE, ranging between < 0.0115 and 0.0147 mg kg−1 for Al, 80.98 and 1965.75 mg kg−1 for Ca, < 0.005 and 0.0238 mg kg−1 for Fe, 43.3 and 399.75 mg kg−1 for K, 15.47 and 113.2 mg kg−1 for Mg, 0.0053 and 0.223 mg kg−1 for Mn, 35.9 and 640.25 mg kg−1 for Na, and between 7.55 and 1350.75 mg kg−1 for S (Table 4).

3.2 Microbial enumeration

Plate counts indicated that the nine topsoils harbored various classes of cultivable microorganisms with a higher relative abundance of bacteria (Table 5). Bacterial numbers increased significantly (P < 0.05) along the gradient of anthropization (47.14 × 103 in site 1 to 162.73 × 103 CFU g−1 in site 9), being positively correlated to TGF (r = 0.699*). Fungi and actinomycete CFUs also varied significantly (P < 0.05) between the different sites, however without a defined trend. They ranged from 6.75 × 102 in site 4 to 69.76 × 102 CFU g−1 in site 8 and from 52.23 × 102 in site 4 to 170.64 × 102 CFU g−1 in site 3, for fungi and actinomycetes, respectively.

Table 5 Bacterial, fungi, and actimomycete CFUs per gram of soil recovered from the different sites

3.3 Soil enzymes

The urban soils collected along the gradient of anthropization exhibited multiple degrees of enzymatic activities (Fig. 3). The DHA activity decreased significantly (P < 0.05) throughout the anthropogenic gradient, especially from site 2 to site 8. The activity of phosphatase also varied significantly (P < 0.05) between sites, however, without a defined trend. The lowest activity was observed in site 5 (3.76 μg PNP g−1 dry soil h−1), while the highest activity was recoded in site 7 (116.93 μg PNP g−1 dry soil h−1). The urease activity varied significantly (P < 0.05) between locations, ranging from 8.66 in site 3 to 45.30 μg NH4-N g−1 dry soil h−1 in site 7.

Fig. 3
figure 3

Enzymatic activities recorded in the nine soils. Dehydrogenase activity (a). Phosphatase activity (b). Urease activity (c). TPF triphenyltetrazolium formazan, PNP p-nitrophenol. Means with different letters are significantly different from each other n = 3, P < 0.05 according to the Tukey test

3.4 Bacterial community structure

Generally, DGGE patterns (Fig. 4) exhibited a different number of bands in each soil. The higher number of bands (22) was found in soil 7, while soil recovered from site 6 showed the lowest number (11), which is corroborated by the Shannon-Wiener index (H′) determined. Overall, H′ revealed a higher bacterial diversity in soils collected close to the city center (more anthropized area: S7, S8, and S9) than in soils from the less anthropized area, with the exception of site 5 that was similar to the abovementioned soils. DGGE profiles revealed differences in bacterial community structure (BCS) among soils collected along the anthropogenic gradient (Fig. 4). Bacterial communities clustered into three main groups (Fig. 4). The first group includes soils collected from the less anthropized area (S2, S3, and S4), the second group comprises soils 5 and 6, while the third group aggregates the highly anthropized soils (sites 8 and 9). Site 1 was related to the first and second groups, while the bacterial communities present in site 7 clearly differed from those of the other sites. CCA ordination is shown in Fig. 5 and explains 46.4% (P < 0.01) of the variation in the first two components. CCA analysis also shows that the structure of bacterial communities is correlated to the anthropogenic gradient. As for the cluster analysis, site 7 stands out from the other sites, while most anthropized sites (S8 and S9) were grouped together, as well as soils from S5 and S6 and soils from less anthropized sites (S2, S3, and S4). In addition, CCA analysis revealed that the total concentration of the TE Zn, As, Ni, Pb, Cr, and Cu, as well as the TGF present in each soil, influenced the BCS in the most anthropized soils (S8 and S9).

Fig. 4
figure 4

Similarity of the bacterial community of soils from different sites based on the UPGMA clustering method. Sites 1–9. H′ Shannon index

Fig. 5
figure 5

Canonical correspondence analysis (CCA) of the DGGE bacterial community from the soils collected in the nine sites. The figure shows the relationship among samples from the DGGE profiles and some physicochemical parameters measured in soils S1 to S9. The first axis accounted for 25.6%, and the second axis accounted for 20.8%, P < 0.01, of the variance for the soil samples, respectively. Vectors from joint biplot represent strength and direction of environmental data of Zn, As, Cu, Cr, Ni, Pb total concentrations in soils and the technogenic fraction (TGF)

4 Discussion

Due to their close proximity with population, urban soils are heavily altered by anthropogenic and technogenic activities as they receive considerable non-natural inputs (e.g., technic materials) from industry, traffic, construction, and refuse (Lorenz et al. 2006; El Khalil et al. 2008b, 2016) leading to soil degradation. In the present work, the physicochemical, biochemical, and microbiological properties of the soils were clearly influenced by the anthropogenic gradient, with an increase in TE and ME concentrations and a concomitant decrease in soil DHA activity throughout the anthropogenic gradient (from site 1 to site 9). In addition, the structure of the bacterial communities seems to be related to the gradient of anthropization and the physicochemical conditions of each site.

In the present work, the increase of the anthropization rate of soils had a strong effect on their morphology and physical characteristics. The strong heterogeneity of soils was confirmed by the high percentages of TGF, especially in sites 8 (12.94%) and 9 (35.02%). Both soils in sites 8 and 9 suffered a technogenic transformation leading to a higher abundance of coarse fractions (natural and technogenic). This pattern was on the opposite of what was observed on non-anthropized soils (site 1) characterized by the abundance of the fine fraction. These morphological changes are the result of transportation, and transformation processes occurring in urban soils, as well as the incorporation of exogenous materials into soils resulting from building activities. Similar results were reported by Jim (1998) and Hulisz et al. (2018).

The pH of soils collected from Marrakech urban and suburban areas was neutral to slightly alkaline, which is common for urban soils. Several studies have shown that acidity decreases with anthropization (Klose and Makeschin 2004; Godefroid et al. 2007; Magiera et al. 2007) under the effect of alkaline materials, such as industrial ash emissions and dust from construction, roadways, and demolition (Klose and Makeschin 2004; Godefroid et al. 2007; Magiera et al. 2007). In this work, TOC did not increase along the anthropogenic gradient, despite its concentration varying significantly between locations. This finding is not in agreement with other authors’ results, who generally reported an increase of TOC due to anthropization and changes according to land use (Pouyat et al. 2009; Raciti et al. 2011; Bae and Ryu 2015). Nannoni et al. (2014) reported TOC percentages between 0.59% and 4.07% in soils of urban zones of Siena municipality (Italy). Similarly, Hafeez et al. (2012) showed TOC values between 7.95% and 15.6% in highly anthropized soils (Technosols). However, in this work, TOC values generally did not exceed 1%, being highly below the values above described, which may be related to the type of technic materials (e.g., cement, brick, glass, bones) present in the nine sites (El Khalil et al. 2008b). In this work, an increase of TE concentrations in the soils along the anthropogenic gradient, with exception for B and Cd, was observed. These results are in agreement with previous works where TE concentrations increased in soils subjected to anthropogenic and technogenic activities (Yuangen et al. 2006; Gülser and Erdoğan 2008; Papa et al. 2010; El Khalil et al. 2008b, 2013). The concentrations of Zn, Cu, Ni, and Cd determined were lower than those measured 10 years prior to this work in the same studied sites of Marrakech (El Khalil et al. 2008b). These differences may be related to the potential leaching of these elements to the deeper layers of soil profiles during the rainy season (Concas et al. 2006; El Khalil et al. 2008a), and also to the constant interference of human activities (Bullock and Gregory 1991; Morel et al. 2005). The water-soluble fractions of TE were very low for Pb, Cu, and Ni and below detection limits for Zn, As, Co, Cr, and Cd, which may be related to the slightly alkaline pH found in the studied soils (Farrell et al. 2010). The total TE contents determined in the nine soils are within the range of those measured in agricultural and garden soils in and around Marrakech city (unpublished data), but they are very low in comparison to mining soil contents in the vicinity of the city (Boularbah et al. 2006; Benidire et al. 2016). Moreover, these levels of TE did not exceed the international limits described in the Canadian guidelines for soil residential/parkland and agricultural use (Kabata-Pendias 2011). Although the concentrations of TE were within international standards, the concentrations determined for As, Cu, Pb, and Zn in the most anthropized soils may be harmful to human health, especially for children (Gevorgyan et al. 2017; Hu et al. 2017). The calculated Igeo showed that Pb was the main inorganic contaminant in the studied urban soils. They were moderately contaminated with Cu and Zn, which was corroborated by several works (Charzyński et al. 2017; Ita and Anwana 2017). These TEs have been reported as major urban contaminants (Yang and Zhang 2015). The main sources of these elements are the vehicle exhaust gases, tire wear, combustion of lubricating oils, corrosion of metal objects, and leaching from building materials (e.g., bricks, lead carbonate paints, concrete, galvanized metals) (Davis et al. 2001; Yesilonis et al. 2008; Rauch and Pacyna 2009), which correspond to the dominant TGF and activities in the area of the studied soils. The enrichment of urban soils with the mentioned elements predisposes the local population, especially children, to serious health risks, such as cancers and genetic deformation (Baldwin and Marshall 1999; Laidlaw and Filippelli 2008). TE contamination can also decrease the ability of urban soils to provide ecosystem services (Morel et al. 2015).

Therefore, the involvement of local authorities in the continuous monitoring of these sites is of highest priority to avoid any excess of toxic elements in soils, thereby ensuring the safety of the population.

Overall, total and extractable concentrations of ME increased along the anthropogenic gradient, which may be explained by the geochemical background of Marrakech soils (El Khalil et al. 2013) as well as by the higher human activities in most anthropized soils. Similarly, other authors reported an increase of ME contents in soils near anthropogenic activities, reaching high concentrations in highly anthropized soils (Lovett et al. 2000; Klose and Makeschin 2004; El Khalil et al. 2013; Alekseenko and Alekseenko 2014; Joimel et al. 2016).

In the present work, the numbers of bacteria determined in the topsoils of the nine sites were very low (0.22 to 1.6 × 105 CFUs g−1) in comparison to the results obtained by Braun et al. (2006) and Margesin et al. (2011) which reported 5.9 and 231 times more bacteria in urban and in metal-contaminated soils, respectively. CFU counts for fungi and actinomycetes were also below the numbers obtained by Oliveira and Pampulha (2006) in metal-contaminated (2.8 × 105 CFU g−1 and 83 × 104 CFU g−1, respectively) soils and by Hayat et al. (2002) in soils receiving treated wastewaters (2.8 × 105 CFU g−1 and 1.7 × 105 CFU g−1, respectively). These outcomes could be due to some of the physicochemical characteristics of our studied soils in particular the low TOC percentage, water content, and TKN, as well as the semi-arid climate of the region. However, bacterial numbers increased along the anthropogenic gradient, and they were positively correlated to some TE and ME, namely total P (r = 0.878**), Fe (r = 0.679*), Zn (r = 0.810**), Cr (r = 0.804**), and Cu (r = 0.828**) (Online resource 1). These results showed a stimulating effect of trace metallic elements on bacterial counts, which is corroborated by Dai et al. (2004) and Stefanowicz et al. (2012). TE can be useful for bacterial metalloenzyme activities, which have a key role in microbial growth and metabolism (Gadd 1992), while ME are nutrients that stimulate microbial concentrations in soils (Lalande et al. 2009).

Dehydrogenase activity constitutes an important indicator of total microbial activity (Gu et al. 2009; Salazar et al. 2011; Wolińska and Stępniewska 2012; Minnikova et al. 2017). In this work, DHA was negatively affected by the anthropization rate, since its activity in general decreased along the anthropogenic gradient and was negatively correlated to TGF (r = − 0.416) and to TE and ME (Online resource 1). This decrease may be related to the constant input of organic (e.g., polycyclic aromatic hydrocarbons) and inorganic (e.g., metals) pollutants, resulting from urban activities (construction of buildings and infrastructures, traffic, and waste management). Indeed, TE may negatively affect soil microbiology and enzymatic activity, since metallic pollutants may interact with the enzyme-substrate complex, denaturing the enzyme protein or interacting with the protein-active groups (Pan and Yu 2011). Similarly, Li et al. (2015) found DHA activity decrease with the increasing traffic pollution in urban areas of Beijing. However, in the present work, bacterial numbers increased along the anthropogenic gradient, suggesting that despite bacteria being present in greater numbers in the most anthropized soils, their metabolic activity is lower. Phosphatase activity also varied between sites, while urease was weakly affected by anthropization. Both soil enzymes are known to be sensitive to TE (Papa et al. 2010; Bielińska et al. 2013; Hagmann et al. 2015; Minnikova et al. 2017) especially in soils with low organic matter (Calvarro et al. 2014). However, Wang et al. (2011) also reported that urease activity was not inhibited by heavy metals in urban soils in Beijing.

The diversity and structure of soil bacterial communities is shaped by many factors, including the physicochemical properties of soils (Wang et al. 2017). The results of the current work indicate that the higher concentration of TE in most anthropized soils was not translated into a bacterial diversity decline. However, according to CCA, the gradient of anthropization seems to influence the structure of the bacterial communities. Moreover, the concentration of TE in most anthropized soils (S8 and S9) is correlated to BCS, despite their concentrations did not exceed the international standards. These outcomes are in agreement with Xu et al. (2014) who reported that urbanization influenced the bacterial community composition of soils collected from urban parks in several cities in China. Wang et al. (2017) also reported a close relationship between microbial communities, urbanization, and soil physicochemical properties.

Urban soils play a key role in providing and regulating ecosystem services in urban environments (Morel et al. 2015). In the current work, the microbial abundance and the bacterial diversity were not affected by the anthropization gradient, indicating that the studied urban soils provide a biodiversity regulating service, which is consistent with their pseudo-natural vegetation cover (mainly palm trees). Despite DHA activity decreased along the anthropogenic gradient, suggesting a reduction in the oxidation of soil organic matter by microorganisms (Bolton et al. 1985; Wolińska and Stępniewska 2012; Utobo and Tewari 2015), the levels of TE and ME found in these soils may be a good source of nutrients for non-food biomass production, which constitute a main ecosystem service that can be provided by urban soils (Morel et al. 2015).

5 Conclusions

In general, the increase of anthropogenic activity caused higher accumulation of technic materials and TE in the urban soils of Marrakech city, with the most are anthropized soils being considered Technosols. Despite TE levels are below the international limits allowed, the increase in anthropogenic and technogenic activities throughout time may lead to the accumulation of high levels of these elements in the soil, constituting a huge threat for human and environmental health. All microbiological and biochemical parameters measured in this work were found to be significantly influenced by the anthropogenic inputs. However, they were not systematically inhibited along the anthropogenic gradient excepting the DHA activity. As such, the soil DHA activity may be used as a reliable parameter to determine the effect of human activities on the biological functioning of urban soils.