public static function checkTextDataFields($textData)
 {
     $i = 0;
     $field_names = array();
     foreach ($textData as $data) {
         if ($i == 0) {
             $field_names = SpatialFileMethods::checkTextDataFieldNames($data);
         } else {
             $field_names = SpatialFileMethods::checkTextDataEachRowType($data, $field_names);
         }
         $i = $i + 1;
     }
     return $field_names;
 }