The coastal erosion: a connection between natural processes and environmental planning