The TerriaJS Map is a web-based geospatial catalog explorer powered by the TerriaJS library to display and manage 2D/3D/4D geospatial data layers. It supports common geospatial data formats, such as GeoJSON, KML, CSV, GPX, CZML, and shapefile, as well as geospatial web services including WMS, WFS, WMTS, Esri MapServer, ABS ITT, Bing Maps, OpenStreetMap-style raster tiles, and Mapbox. The TerriaJS has been enabled in collaboration with geospatial data platforms of government agencies and organizations, such as Australia’s NationalMap (, National Environmental Information Infrastructure (, State of Environment 2016 (, Group on Earth Observations (GEO) and its Global Agricultural Monitoring (GEOGLAM) Rangeland and Pasture Productivity (, and many other applications.



Import the minted package:

sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install gdal-bin


curl -sL | sudo -E bash -
sudo apt-get install -y nodejs
node --version
npm --version


npm run gulp:

npm install --save-dev -g gulp


Install TerriaJS:

git clone
npm install

Install TerriaJS Map:

git clone
npm install


npm run gulp release


npm start

Deploy and hide the port:

ProxyPass /terria/ http://localhost:3001/
ProxyPassReverse /terria/ http://localhost:3001/


Github connection error while installing with npm:

npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-TerriaJS-pell-git-master-d15617c6: Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-TerriaJS-pell-git-master-d15617c6'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-TerriaJS-pell-git-master-d15617c6: fatal: unable to connect to
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-TerriaJS-pell-git-master-d15617c6:[0:]: errno=Connection timed out
npm ERR! code 128
npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-TerriaJS-pell-git-master-d15617c6
npm ERR! Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-TerriaJS-pell-git-master-d15617c6'...
npm ERR! fatal: unable to connect to
npm ERR![0:]: errno=Connection timed out
npm ERR!
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-06-11T03_58_52_831Z-debug.log


git config --global url. git://


TerriaJS: Getting Started

Apache VirtualHost Proxy with a Subdirectory

NodeSource Node.js Binary Distributions

Fatal: Unable to connect to #6285