From 4837946c430987c51aa5015a7f36232495917657 Mon Sep 17 00:00:00 2001 From: Verwoerd Date: Sun, 3 Nov 2024 12:42:50 +0100 Subject: [PATCH] Fix some coordinates. Export all merged extra info in organisations.json. Duplicate tallinn, since ICPC is not consistent with this one. --- export.sh | 2 +- universities/logos/11048.svg | 19 +++++++++++++++++++ universities/organizations.json | 24 ++++++++++++++++++------ 3 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 universities/logos/11048.svg diff --git a/export.sh b/export.sh index 756eb35..ef33ac5 100755 --- a/export.sh +++ b/export.sh @@ -259,7 +259,7 @@ if [ "$_arg_others" = on ]; then organizations_paths+=( "$OTHERS_PATH/organizations.json" ) fi -jq -s "[.[][] | {\"id\": .id, \"name\": .name, \"formal_name\": .formal_name, \"country\": (.country? + \"\")}]" "${organizations_paths[@]}" > "$_arg_output_directory/organizations.json" +jq -s "[.[][] | {\"id\": .id, \"icpc_id\": (.icpc_id? + \"\"), \"name\": .name, \"formal_name\": .formal_name, \"country\": (.country? + \"\"), \"url\": (.url? + \"\") , \"twitter_hashtag\": (.twitter_hashtag? + \"\"), \"twitter_account\": (.twitter_account? + \"\"), \"location\": (.location? + {})}]" "${organizations_paths[@]}" > "$_arg_output_directory/organizations.json" # Export the svgs if [ "$_arg_universities" = on ]; then diff --git a/universities/logos/11048.svg b/universities/logos/11048.svg new file mode 100644 index 0000000..40aa6a7 --- /dev/null +++ b/universities/logos/11048.svg @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/universities/organizations.json b/universities/organizations.json index a65740e..14fafe9 100644 --- a/universities/organizations.json +++ b/universities/organizations.json @@ -7,8 +7,8 @@ "country": "DNK", "url": "http://www.au.dk", "location": { - "longitude": 56.1667, - "latitude": 10.2000 + "longitude": 10.2000, + "latitude": 56.1667 } }, { @@ -282,8 +282,8 @@ "country": "IRL", "url": "http://www.ucc.ie/", "location": { - "longitude": 51.89797, - "latitude": -8.47061 + "longitude": -8.47061, + "latitude": 51.89797 } }, { @@ -615,8 +615,8 @@ "country": "GBR", "url": "https://www.southampton.ac.uk/", "location": { - "longitude": 50.9346, - "latitude": -1.3960 + "longitude": -1.3960, + "latitude": 50.9346 } }, { @@ -843,6 +843,18 @@ "latitude": 50.8417 } }, + { + "id": "11048", + "icpc_id": "11048", + "name": "TalTech", + "formal_name": "Tallinn University of Technology", + "country": "EST", + "url": "https://taltech.ee/", + "location": { + "longitude": 24.75353, + "latitude": 59.43696 + } + }, { "id": "10500", "icpc_id": "10500",