public function fillMledozeFields($fields)
    {
        $fields['name_nev'] = $fields['name'];

        $fields['name'] = [
            'common' => $fields['name'],
            'official' => $fields['formal_en'],
        ];

        $fields['cca2'] = $fields['iso_a2'] == '-99' ? $fields['adm0_a3'] : $fields['iso_a2'];
        $fields['ccn3'] = $fields['iso_n3'] == '-99' ? $fields['adm0_a3'] : $fields['iso_a2'];
        $fields['cca3'] = $fields['iso_a3'] == '-99' ? $fields['adm0_a3'] : $fields['iso_a2'];

        $fields['region'] = $fields['region_un'];

        $fields['borders'] = [];

        $fields['curencies'] = [];

        $fields['notes'] = ['Incomplete record due to missing mledoze country.'];

        return $fields;
    }
public function fillMledozeFields($fields)
    {
        $fields['name_nev'] = $fields['name'];

        $fields['name'] = [
            'common' => $fields['name'],
            'official' => $fields['formal_en'],
        ];

        $fields['cca2'] = $fields['iso_a2'] == '-99' ? $fields['adm0_a3'] : $fields['iso_a2'];
        $fields['ccn3'] = $fields['iso_n3'] == '-99' ? $fields['adm0_a3'] : $fields['iso_a2'];
        $fields['cca3'] = $fields['iso_a3'] == '-99' ? $fields['adm0_a3'] : $fields['iso_a2'];

        $fields['region'] = $fields['region_un'];

        $fields['borders'] = [];

        $fields['curencies'] = [];

        $fields['notes'] = ['Incomplete record due to missing mledoze country.'];

        return $fields;
    }
public function fillMledozeFields ( $ fields ) { $ fields [ 'name_nev' ] = $ fields [ 'name' ] ; $ fields [ 'name' ] = [ 'common' => $ fields [ 'name' ] , 'official' => $ fields [ 'formal_en' ] , ] ; $ fields [ 'cca2' ] = $ fields [ 'iso_a2' ] == '-99' ? $ fields [ 'adm0_a3' ] : $ fields [ 'iso_a2' ] ; $ fields [ 'ccn3' ] = $ fields [ 'iso_n3' ] == '-99' ? $ fields [ 'adm0_a3' ] : $ fields [ 'iso_a2' ] ; $ fields [ 'cca3' ] = $ fields [ 'iso_a3' ] == '-99' ? $ fields [ 'adm0_a3' ] : $ fields [ 'iso_a2' ] ; $ fields [ 'region' ] = $ fields [ 'region_un' ] ; $ fields [ 'borders' ] = [ ] ; $ fields [ 'curencies' ] = [ ] ; $ fields [ 'notes' ] = [ 'Incomplete record due to missing mledoze country.' ] ; return $ fields ; }
Fill mledoze fields with natural earth vector data.

@param $fields
@return mixed
Fill mledoze fields with natural earth vector data .