Actions

Difference between revisions of "LINZ and GIS"

From zen2

Line 9: Line 9:
 
sudo apt-get install postgresql-9.6
 
sudo apt-get install postgresql-9.6
 
sudo apt-get install postgresql-9.6-postgis-2.3 postgresql-contrib-9.6
 
sudo apt-get install postgresql-9.6-postgis-2.3 postgresql-contrib-9.6
 +
 +
#to get the commandline tools shp2pgsql, raster2pgsql you need to do this
 +
sudo apt-get install postgis
 
</pre>
 
</pre>

Revision as of 02:18, 4 July 2017

LINZ uses PostgreSQL, so create a machine with this on.

http://postgis.net/ PostGIS will help a lot here

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ppa

sudo apt-get install postgresql-9.6
sudo apt-get install postgresql-9.6-postgis-2.3 postgresql-contrib-9.6

#to get the commandline tools shp2pgsql, raster2pgsql you need to do this
sudo apt-get install postgis