/**
 * This function calculates the total land area of a given region based on the geographical data.
 *
 * @param geographicalData A list of geographical features including the name and area of each feature.
 * @return The total land area of the region.
 */
fun calculateLandArea(geographicalData: List<Map<String, Any>>): Float {

    var landArea = 0f

    for (feature in geographicalData) {
        if (feature["type"] == "land") {
            landArea += feature["area"] as Float
        }
    }

    return landArea
}
/**
 * This function calculates the total land area of a given region based on the geographical data.
 *
 * @param geographicalData A list of geographical features including the name and area of each feature.
 * @return The total land area of the region.
 */
fun calculateLandArea(geographicalData: List<Map<String, Any>>): Float {
/**
 * This function calculates the total land area of a given region based on the geographical data.
 *
 * @param geographicalData A list of geographical features including the name and area of each feature.
 * @return The total land area of the region.
 */
fun calculateLandArea(geographicalData: List<Map<String, Any>>): Float {

    var landArea = 0f

    for (feature in geographicalData) {
        if (feature["type"] == "land") {
            landArea += feature["area"] as Float
        }
    }

    return landArea
}