Working with geospatial data on AWS Ubuntu

I’ve stumbled on different sorts of problems while working with geospatial data on the cloud machine. AWS EC2 and Ubuntu sometimes require different setups. This is a quick note for installing GDAL on Ubuntu and how to transfer data from your local machine to your cloud machine without using S3.

To install GDAL

sudo -i
sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt update
sudo apt upgrade # if you already have gdal 1.11 installed
sudo apt install gdal-bin python-gdal python3-gdal # if you don't have gdal 1.11 already installed

To transfer data (SFTP) from your local machine to AWS EC2, you could use FileZilla.

Another option is using S3 with Cyberduck

To set up the environment, please refer to this post and this video.

If you are interested in learning more about the tools, we have:

  • Geolambda that you can run few docker containers that provided to run geospatial analysis on the cloud;
  • If you are interested in applying machine learning to satellite imagery, we have a few tools: 1) Label Maker for training dataset generation; 2) looking-glass for building footprint segmentation; and 3) Pixel-Decoder for road network detection and segmentation.