 Most of the flatter areas of the municipality have rich sedimentary deposits of topsoil over a bed of limestone, which was former seabed.The limestone and other sedimentary rock erode fairly easily, which has led to the formation of caverns and pit caves (locally called "sótanos") dispersed throughout the municipality.The pit caves generally run from 400 to 600 meters in depth.