Installing PostGIS on Windows v3.2
You must install Advanced Server before installing PostGIS. If you have used the graphical Setup wizard to install EDB Postgres Advanced Server, you can use StackBuilder Plus to add PostGIS to your installation. For details about using the graphical installer to install and configure Advanced Server, see the EDB Postgres Advanced Server Installation Guide for Windows.
Note
To install PostGIS version 3.1 on EDB Postgres Advanced Server version 10 on Windows, you need to upgrade it to the latest EDB Postgres Advanced Server minor version of 10.16.25 (or later), and then proceed with PostGIS 3.1 installation.
Open StackBuilder Plus and select your Advanced Server installation from the drop-down list on the
Welcome
window. ClickNext
to continue to the application selection page.Fig. 1: The StackBuilder Plus Welcome window
Expand the
Spatial Extensions
node, and check the box next to the PostGIS version. ClickNext
to continue.The selected packages and the default download directory are displayed; change the locations if required. Click
Next
.Fig. 2: The Installation Directory window
Once you have downloaded the installation files, a confirmation message is displayed. Click
Next
to start the PostGIS installation.Fig. 3: Installing Postgis
Select an installation language and click
OK
.The PostGIS welcome screen is displayed. Click
Next
.Fig. 4: The Postgis welcome window
Use the
Installation Directory
field to specify the directory you wish to install the PostGIS software. ClickNext
to continue.Use fields on the
EDB Postgres Advanced Server Installation Details
window to provide connection information for the Advanced Server host:Use the
Host
field to identify the system on which Advanced Server resides.Provide the name of the role that PostGIS will use for connections to the server in the
User Name
field.Provide the password associated with the role in the
Password
field.Use the
Port
field to identify the listener port that Advanced Server monitors for client connections.Click
Next
to continue.Fig. 5: The Advanced Server installation details window
The
Ready to Install
window notifies you when the installer has all of the information needed to install PostGIS on your system. ClickNext
.Fig. 6: The ready to install window
Progress bars inform you as the installation progresses. Click
Finish
to exit the installer when the PostGIS installation completes.Fig. 7: The installation is complete
StackBuilder Plus will install PostGIS and create the
template_postgis
database and PostGIS functions.