Import Airports
@if(session('success')) @endif @if($errors->any()) @endif

Import Airports

Upload a version 1 airport catalog ZIP package. Airports are matched by IATA code. Existing records are updated; records absent from the package are not deleted.

@csrf

Maximum upload size: 128 MB. Invalid packages are rejected without partial database changes.

Back to Airports
@if(session('airport_catalog_import_summary')) @php($summary = session('airport_catalog_import_summary'))

Airport Import Summary

Source: {{ $summary['source'] }}

Generated: {{ $summary['generated_at'] }}

@foreach(['created' => 'Created', 'updated' => 'Updated', 'unchanged' => 'Unchanged'] as $key => $label)

{{ $label }}

{{ $summary['airports'][$key] }}

@endforeach

Airport Package Warnings ({{ count($summary['warnings']) }})

@if($summary['warnings'] === [])

The package reported no warnings.

@else
    @foreach($summary['warnings'] as $warning)
  • {{ $warning['type'] }} @if(!empty($warning['code'])) ({{ $warning['code'] }}) @endif — {{ $warning['message'] }}
  • @endforeach
@endif
@endif