Madayipara is located in the Madayi village,about 21 km north of Kannur town, the district headquarters of Kannur district in Kerala. As noted by William Logan (1887) in the Malabar Manual; the river Kuppam "bending slightly and passing under the guns of an old ruined fort of the Kolathiris" on the south eastern edge of Madayipara, suddenly turns due south at Payangadi and takes a course parallel to the sea to meet the larger Valapattanam river at Matakkara, finally discharging into the Lakshadweep Sea at Azhikkal. The available geo-morphological and historical data suggest that, till 1450 A.D. this river was drained into the sea, flowing west from Payangadi instead of turning south.