{%extends "base.html" %} {%block title%}Extension howto docs{%endblock%} {%block maincontent%}

PostGIS

Website

https://www.postgis.net/

Description

PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS "Simple Features Specification for SQL" and has been certified as compliant with the "Types and Functions" profile.

Package naming convention

PostGIS uses two digit version numbers like 3.4, 3.5, etc. Traditionally there is a new major release every year along with (but not strictly tied to) the PostgreSQL major release.
The PostgreSQL RPM repository uses both PostGIS and PostgreSQL version numbers in the RPM packages. For example PostGIS 3.5 for PostgreSQL 17 is named as postgis35_17. Similarly PostGIS 3.2 for PostgreSQL 15 is named as postgis32_14.

Subpackages

PostGIS provides the following subpackages:

Package specifications and repository requirements

PostgreSQL PGDG RPM repository

Install PGDG repository from: https://zypp.postgresql.org/repopackages/

SuSE Enterprise Linux 15

Enable two repositories for dependencies:

Installation

OS Command
SuSE Enterprise Linux 15 zypper install postgis35_17 (or change the version as described above)
zypper install postgis35_17-gui (or change "gui" for any subpackage described above)

Post-installation

Connect to the database that you want to create the extension as superuser and run:

Available packages

PostGIS version PostgreSQL version(s) OS version Arch Status
3.5 17,16,15,14,13 SuSE Enterprise Linux 15 - x86_64 x86_64 Available
3.4 17,16,15,14,13 SuSE Enterprise Linux 15 - x86_64 x86_64 Available
3.3 17,16,15,14,13 SuSE Enterprise Linux 15 - x86_64 x86_64 Available
3.2 15,14,13 SuSE Enterprise Linux 15 - x86_64 x86_64 Available
3.1 14,13 SuSE Enterprise Linux 15 - x86_64 x86_64 Available
3.0 13 SuSE Enterprise Linux 15 - x86_64 x86_64 Available
{%endblock%}