Your map_regions is 508*359, that should be the entry in the (not provided) descr_terrain file.
climates = OK
features = OK
fog = OK
ground_types = OK
heights = OK
regions = OK
roughness = OK
trade_routes = OK
Check if the entry in descr_terrain is correct.