A model is proposed for the formation and evolution of three-dimensional sedimentary SrmCNres such as longshore sand ridges on the continental shelf in water deeper than that of the shoaling repion. Owing Io the striking similarity between the bar spacing and the length scales in which interactions among the most energetic modes of shallow water waves take place. we argue e a r these ban are formed slowly by flows in the turbulent boundary layer generated by weakly nonlinear, dispersive waves. The model is based on the interaction between surficial or internal, weakly nonlinear shallow water waves, having weak spanwise sparial dependence, and the bottom topography. While such underwater srmclures are not the result of a single formative agent. it is argued that the mechanism proposed in this study does contribute significantly to their generation and evolution.