PostGIS 2.1.5 bundle includes
For raster support, please note that out_db and gdal drivers are disabled by default, the installer has prompts to reenable. If you want to change later please refer to: Installation for details
If you want to use the zip, setup, and setup source files directly they are available:
Zip and Installer files The .zip files are just the binaries you can copy into your PostgreSQL installation and then enable in each database as usual. The exe are standard windows setup for both 32-bit and 64-bit PostgreSQL.
Source Setup files The source setup files are useful if you want to build your own NSIS installer or create a single setup for your own project that also installs PostGIS. The Binary zip files should contain all the binary files you need to customize your own setup minus the documentation. You can also just extract the .exe setup file to get the binaries, but the extract sometimes gets mangled leaving out some of the postgis-gui subfolders.
If you are more adventurous, and risk-seeking you can partake in our experimental windows binaries of PostGIS built automatically by Winnie whenever there is a change in any of the PostGIS 2.0, 2.1 Stable or 2.2 development branches. These are especially useful for testing out new features or if you are badly in need of a bug fix that has not been released yet.
If you don’t want to risk messing up an existing windows install or aren’t allowed to write to the registry , we’d suggest using the companion PostgreSQL EDB binaries-only binaries which don’t require installation. Setup is detailed in Starting PostgreSQL in windows without install.
PostgreSQL EDB 9.4 will not work with Windows XP, so if you have Windows XP, use PostgreSQL 9.3
for PostgreSQL 9.4 32-bit, 64-bit compiled against PostgreSQL 9.4beta3 for PostGIS 2.2 (built with SFCGAL support) (also pgrouting 2.0)
for PostgreSQL 9.3 32-bit, 64-bit compiled against PostgreSQL 9.3 (also pgrouting 2.0) (2.1, 2.2 with SFCGAL support)
(in extras folder:
for PostgreSQL 9.2 32-bit, 64-bit (also pgrouting 2.0 will work for PostGIS 2.0, 2.1, 2.2)
pgRouting Package 2.0.0dev
Only for PostgreSQL 9.1 (64-bit), 9.2 (32-bit /64-bit), 9.3beta1 (32-bit / 64-bit) refer to getting started guide for more details
Will work with PostGIS 2.0 or 2.1
PostGIS is an optional extension that must be enabled in EVERY database you want to use it in. If you are running PostgreSQL 9.1+ you can use. packaged with PostGIS 2.1+:
CREATE EXTENSION postgis; CREATE EXTENSION address_standardizer; CREATE EXTENSION fuzzystrmatch; CREATE EXTENSION postgis_topology; CREATE EXTENSION postgis_tiger_geocoder;
postgis_tiger_geocoder and address_standardizer extension file option only available for PostGIS 2.1+ and PostgreSQL 9.1+.
If you are running PostgreSQL 9.2 or higher and have installed PostGIS 2.0 or 2.1 (you can download and extract into your PostgreSQL install folder the pgRouting 2.0dev package and do)
CREATE EXTENSION pgrouting;
For loading OpenStreetMap data (OSM) into pgrouting format, you can use osm2po or osm2pgrouting. Windows binaries for osm2pgrouting can be found in the 9.4 extras folder and should work fine with 9.3 or 9.4 installs. Make sure to use the 32-bit with 32-bit PostgreSQL install and 64-bit for PostgreSQL 64-bit install (copying the .dlls into your respective PostgreSQL/bin folder). Instructions for install and loading data are provided in the included readme.
If you are running PostgreSQL 9.3 (x64,x32) or 9.4 (x32, x64) and have installed PostGIS 2.2.0dev (you have the sfcgal extension for advanced 3D support)
CREATE EXTENSION postgis_sfcgal; ALTER DATABASE your_db_here SET postgis.backend = sfcgal;
See the install section for more guidance.