There are special tiles that link these two together, unfortunatly for water i think you have to use the BW style which is water, which then moves onto a wall then sand then you have to merge the sand with the grass, which is easy to do once you've found the right tiles,