commit 30d129ab4a8a4e9d4b863930e00f286468d2e322 Author: femtodev Date: Thu Jul 17 10:14:12 2025 -0400 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..292d969 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.txt +*.pdf diff --git a/README.md b/README.md new file mode 100644 index 0000000..c30f4ec --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# ITU Operating Agency Table Parser + +The ITU does not appear to publish a machine-readable list of Operating Agencies (except for the dropdown menus in SpaceCap). + +To assist automatic ingestion of ITU filing data, this PHP script parses a text dump from the ITU-published PDF file +PREFACE_EN.pdf ("PREFACE TO THE BR INTERNATIONAL FREQUENCY INFORMATION CIRCULAR (TERRESTRIAL SERVICES)") +and generates a properly-formatted CSV of every Operating Agency (and its Administration) discovered. + +The script fetch_and_convert.sh will automatically download the latest PREFACE_EN.pdf directly from the ITU website +(this file is updated regularly), then convert it to a CSV. diff --git a/dump.php b/dump.php new file mode 100644 index 0000000..69af1b1 --- /dev/null +++ b/dump.php @@ -0,0 +1,80 @@ +