特殊:Badtitle/NS100:BuildingQuantumGisPoint7FromSource
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BuildingQuantumGisPoint7FromSource }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/af | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Afrikaans| [[::BuildingQuantumGisPoint7FromSource/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ar | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|العربية| [[::BuildingQuantumGisPoint7FromSource/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/az | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|azərbaycanca| [[::BuildingQuantumGisPoint7FromSource/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/bcc | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|جهلسری بلوچی| [[::BuildingQuantumGisPoint7FromSource/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/bg | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|български| [[::BuildingQuantumGisPoint7FromSource/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/br | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|brezhoneg| [[::BuildingQuantumGisPoint7FromSource/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ca | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|català| [[::BuildingQuantumGisPoint7FromSource/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/cs | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|čeština| [[::BuildingQuantumGisPoint7FromSource/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/de | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Deutsch| [[::BuildingQuantumGisPoint7FromSource/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/el | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Ελληνικά| [[::BuildingQuantumGisPoint7FromSource/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/es | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|español| [[::BuildingQuantumGisPoint7FromSource/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/fa | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|فارسی| [[::BuildingQuantumGisPoint7FromSource/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/fi | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|suomi| [[::BuildingQuantumGisPoint7FromSource/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/fr | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|français| [[::BuildingQuantumGisPoint7FromSource/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/gu | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|ગુજરાતી| [[::BuildingQuantumGisPoint7FromSource/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/he | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|עברית| [[::BuildingQuantumGisPoint7FromSource/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/hu | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|magyar| [[::BuildingQuantumGisPoint7FromSource/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/id | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Bahasa Indonesia| [[::BuildingQuantumGisPoint7FromSource/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/it | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|italiano| [[::BuildingQuantumGisPoint7FromSource/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ja | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|日本語| [[::BuildingQuantumGisPoint7FromSource/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ko | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|한국어| [[::BuildingQuantumGisPoint7FromSource/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ksh | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Ripoarisch| [[::BuildingQuantumGisPoint7FromSource/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/mr | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|मराठी| [[::BuildingQuantumGisPoint7FromSource/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ms | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Bahasa Melayu| [[::BuildingQuantumGisPoint7FromSource/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/nl | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Nederlands| [[::BuildingQuantumGisPoint7FromSource/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/no | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|norsk| [[::BuildingQuantumGisPoint7FromSource/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/oc | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|occitan| [[::BuildingQuantumGisPoint7FromSource/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/pl | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|polski| [[::BuildingQuantumGisPoint7FromSource/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/pt | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|português| [[::BuildingQuantumGisPoint7FromSource/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ro | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|română| [[::BuildingQuantumGisPoint7FromSource/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/ru | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|русский| [[::BuildingQuantumGisPoint7FromSource/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/si | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|සිංහල| [[::BuildingQuantumGisPoint7FromSource/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/sq | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|shqip| [[::BuildingQuantumGisPoint7FromSource/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/sr | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|српски / srpski| [[::BuildingQuantumGisPoint7FromSource/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/sv | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|svenska| [[::BuildingQuantumGisPoint7FromSource/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/th | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|ไทย| [[::BuildingQuantumGisPoint7FromSource/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/tr | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Türkçe| [[::BuildingQuantumGisPoint7FromSource/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/vi | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|Tiếng Việt| [[::BuildingQuantumGisPoint7FromSource/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/yue | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|粵語| [[::BuildingQuantumGisPoint7FromSource/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/zh | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|中文| [[::BuildingQuantumGisPoint7FromSource/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/zh-hans | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|中文(简体)| [[::BuildingQuantumGisPoint7FromSource/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource | UbuntuHelp:BuildingQuantumGisPoint7FromSource | {{#if: | :}}BuildingQuantumGisPoint7FromSource}}/zh-hant | • {{#if: UbuntuHelp:BuildingQuantumGisPoint7FromSource|中文(繁體)| [[::BuildingQuantumGisPoint7FromSource/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BuildingQuantumGisPoint7FromSource|:BuildingQuantumGisPoint7FromSource|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BuildingQuantumGisPoint7FromSource/zh | | {{#ifexist: BuildingQuantumGisPoint7FromSource/zh | | {{#ifeq: {{#titleparts:BuildingQuantumGisPoint7FromSource|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BuildingQuantumGisPoint7FromSource|1|-1|}} | zh | | }}
Introduction
These instructions are specific to QGIS 7.x and below. Developers and users who wish to compile newer versions of QGIS please go to the front page at BuildingQuantumGisFromSource .
QGIS Specific Requirements
Need to be running breezy... The packages qgis depends on to build are available in the "universe" component of Ubuntu. This is not activated by default, so you need to activate it:
- Edit your /etc/apt/sources.list file.
- Uncomment the all the lines starting with "deb"
Now update your local sources database:
sudo apt-get update
Install package dependencies.
Even if you dont plan to code using kdevelop, its worth installing first because it will make sure you have the dependencies for a useable c++ compilation environment. Not all these packages are strictly needed for QGIS to build, but I find them convenient to have. If you are short on disk space or bandwidth, you may wish to be a little more selective. If you are unsure, just install them all, they cant cause any harm.
sudo apt-get install kdevelop3 autoconf2.13 autobook autoconf-archive gnu-standards libqt3-mt-dev qt3-doc kdbg libarts1-dev kdelibs4-doc htdig doxygen kdoc sgmltools-lite linuxdoc-tools a2ps gv qt3-designer qt3-dev-tools kbabel graphviz c-cpp-reference g++ libtool flex bison automake1.8 checkinstall ccache libtool proj sqlite3 libsqlite3-dev libsqlite3-0 gsl-bin libgsl0 libgsl0-dev cvs
/!\ Note: This will prompt to install a whole heap of additional packages....go ahead its ok. Now you can install all the packages qgis requires to build:
sudo apt-get build-dep qgis
Setup ccache (optional)
You should also setup ccache to speed up compile times:
cd /usr/local/bin sudo ln -s /usr/bin/ccache gcc sudo ln -s /usr/bin/ccache g++
Make sure the correct version of automake is being used
/!\ NOTE: If you installed kdevelop using the step above, ubuntu will have installed automake-1.4. This causes a problem when running the autogen.sh command below as it picks up the wrong copy of aclocal and automake. To circumvent this while still keeping both installed on your system do the following:
sudo update-alternatives --config automake
Which will present you with something like:
There are 4 alternatives which provide `automake'. Selection Alternative ----------------------------------------------- 1 /usr/bin/automake-1.6 2 /usr/bin/automake-1.8 *+ 3 /usr/bin/automake-1.4 4 /usr/bin/automake-1.9 Press enter to keep the default[*], or type selection number: 2 Using `/usr/bin/automake-1.8' to provide `automake'.
GRASS Specific Steps
Install GRASS
/!\ If you don't need to build with GRASS support, you can skip this section. Now you can install grass from breezy:
sudo apt-get install grass libgrass-dev
Install GRASS raster driver for gdal
The apt package for this is currently not in ubuntu repositories. Here is one way to install it :
cd /tmp wget http://ftp.uk.debian.org/debian/pool/main/libg/libgdal-grass/libgdal1-grass_1.2.6-1+b1_i386.deb sudo dpkg -i libgdal1-grass_1.2.6-1+b1_i386.deb
Starting the compile
The qt files are not in the expected place, so you need to tell configure where to look for them. Or you can export QTDIR=/usr/share/qt3
.
Now you can proceed to the initial configure step:
./autogen.sh --enable-debug --prefix=/usr --with-qtdir=/usr/share/qt3 --with-grass=/usr/lib/grass
At the end of the autogen / configure process above you should see output like below, indicating that qgis is going to be built with all its bells & whistles...
========================================== qgis 0.6.0devel22 ------------------------------------------ GDAL/OGR : yes (Version 1.2.6) GEOS : yes (Version 2.0.1) PostgreSQL : yes (Version 7.4.7) GRASS : yes <-- may be no if you skipped grass step above! SPIT : yes Georeferencer : yes GPS/GPX : yes PROJ4 : yes SQLITE3 : yes Debug : yes Plugin dir : ${exec_prefix}/lib/qgis The binary will be installed in /usr/bin The build is using Qt in /usr/share/qt3 ------------------------------------------ Configure finished, type 'make' to build.
Now we go on to the compilation step. I like to time the build so I can get an idea of how long it takes in general. THe first time you build will take substantially longer as ccache will not receive many hits. Subsequent builds should be much faster!
echo `date` > /tmp/qgis_compile.txt ; make ; echo `date` >> /tmp/qgis_compile.txt
Now install as a package for easy removal later:
sudo ./doCheckInstall.sh
Using doCheckinstall.sh will do the equivalent of make install, but it will also make a debian package of QGIS, making it easy to compile on one machine and install on many...
Installing PostGIS to set up a GeoDatabase
/!\ Note this is not the most efficient way, just the way that I ended up doing it:
sudo apt-get update sudo apt-get install postgresql-8.0
Add the following two lines to your /etc/apt/sources.list:
deb http://www.orcaware.com/packages/ubuntu/ breezy/ deb-src http://www.orcaware.com/packages/ubuntu/ breezy/
Now install the postgis packages:
sudo apt-get update sudo apt-get install postgresql-postgis-8.1 libpostgis1-pg8.1 libpostgis-common libpostgis-doc libpostgis-java libpostgis-utils-pg8.1 libpostgis1-examples libgeos2c2a
Setting up a simple GeoDatabase
/!\ Disclaimer: These instructions are not to be considered a full security solution. They are probably ok for a desktop user who runs their own pc behind a firewall, but they are no substitute for a proper secure multiuser deployment of QGIS!!! Use at your own risk! /!\ Note: There are many ways to set up a database, this is not neccessarily the best, but it works for me. /!\ Note: These notes rely on features found in PostgreSQL 8.1. Using an older version will require modification of this procedure.
sudo su - postgres createuser -s -d -r -l -i -P -E
You will be prompted to answer some simple questions:
Enter name of role to add: foouser <-- use your normal user acct name here! Enter password for new role: Enter it again: CREATE ROLE
Now exit the postgres user (you should never need to use that account again as your new account has full admin rights over the database).
exit
Now you should be back at your normal user account and you can create your first database:
createdb -E UNICODE gis
You can verify your new database exists by using psql -l e.g.:
psql -l List of databases Name | Owner | Encoding -----------+----------+---------- gis | foouser | UTF8 <-- thats our new db we just created postgres | postgres | LATIN1 template0 | postgres | LATIN1 template1 | postgres | LATIN1 (4 rows)
Now we need to install the PostGIS functions and so on into our new database: /!\ To be added