Index: DamEngine/branches/DamEngine 19.1/src/Deltares.DamEngine.Calculators/General/Geometry2DTo1DConverter.cs =================================================================== diff -u -r2708 -r3364 --- DamEngine/branches/DamEngine 19.1/src/Deltares.DamEngine.Calculators/General/Geometry2DTo1DConverter.cs (.../Geometry2DTo1DConverter.cs) (revision 2708) +++ DamEngine/branches/DamEngine 19.1/src/Deltares.DamEngine.Calculators/General/Geometry2DTo1DConverter.cs (.../Geometry2DTo1DConverter.cs) (revision 3364) @@ -169,9 +169,9 @@ { throw new Geometry2DTo1DConverterException(String.Format("Soil material '{0}' belonging to layer '{1}' not available in soillist", layer.SoilName, layer.Name)); } - if (SoilList.AquiferDictionary.ContainsKey(layer.Soil)) + if (SoilList.AquiferDictionary.ContainsKey(layer.Soil.Name)) { - layer.IsAquifer = SoilList.AquiferDictionary[layer.Soil]; + layer.IsAquifer = SoilList.AquiferDictionary[layer.Soil.Name]; } } var aquifers = soilProfile.GetAquiferLayers();