Primary competition visual

SANSA AWS Informal Settlements in South Africa by #ZindiWeekendz

Helping South Africa
$1 000 USD
Completed (almost 6 years ago)
Classification
Earth Observation
182 joined
77 active
Starti
Jun 12, 20
Closei
Jun 14, 20
Reveali
Jun 14, 20
How to unrar 2017_Gauteng_Informal.rar on EC2
Connect · 12 Jun 2020, 15:13 · 6

I am going to post the code that I used to get this to work. Hope that this saves you some time. Good luck everybody!

===> First install the RAR and UNRAR binaries

wget https://www.rarlab.com/rar/rarlinux-x64-5.5.0.tar.gz

tar -zxvf rarlinux-x64-5.5.0.tar.gz

cd rar

sudo cp -v rar unrar ../../../bin/

===> (Go to the directory where you have copied the *2017_Gauteng_Informal.rar* file.)

unrar e 2017_Gauteng_Informal.rar GP_Informal_settlement2017.shp

Discussion 6 answers

You should probably unrar the entire directory....Don't specify just the SHP file.

unrar e 2017_Gauteng_Informal.rar

12 Jun 2020, 15:16
Upvotes 0

Thank you for sharing! I bet 100+ participants are rejoicing that they don't have to spend time figuring this out - think of the person-hours you've saved :)

12 Jun 2020, 16:09
Upvotes 0

I can't find that winrar file , can you share the command please?

12 Jun 2020, 16:38
Upvotes 0

It is in the root directory (eohackathon-covid19) for the competition.

Use the same command you use to copy the TIF files from AWS s3 to copy the .RAR file (2017_Gauteng_Informal.rar) to your VM.

I hope this answers your question.

That was really helpful. Thanks a lot.

13 Jun 2020, 16:14
Upvotes 0