Actions

Difference between revisions of "LINZ and GIS"

From zen2

Line 3: Line 3:
 
http://postgis.net/ PostGIS will help a lot here
 
http://postgis.net/ PostGIS will help a lot here
  
 +
http://postgis.net/install/
 
http://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository
 
http://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository
 
http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS23UbuntuPGSQL96Apt
 
http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS23UbuntuPGSQL96Apt
Line 16: Line 17:
 
#to get the commandline tools shp2pgsql, raster2pgsql you need to do this
 
#to get the commandline tools shp2pgsql, raster2pgsql you need to do this
 
sudo apt-get install postgis
 
sudo apt-get install postgis
 +
 +
# Install pgRouting 2.3 package
 +
sudo apt-get install postgresql-9.6-pgrouting
 
</pre>
 
</pre>

Revision as of 02:22, 4 July 2017

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

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

http://postgis.net/install/ http://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS23UbuntuPGSQL96Apt


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

# Install pgRouting 2.3 package 
sudo apt-get install postgresql-9.6-pgrouting