pgsql2shp
Geographic objects support for PostgreSQL
Install
- All systems
-
curl cmd.cat/pgsql2shp.sh
- Debian
-
apt-get install postgis
- Ubuntu
-
apt-get install postgis
- Arch Linux
-
pacman -S postgis
- Kali Linux
-
apt-get install postgis
- Fedora
-
dnf install postgis
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install postgis
- OS X
-
brew install postgis
- Raspbian
-
apt-get install postgis
- Dockerfile
- dockerfile.run/pgsql2shp
postgis
Geographic objects support for PostgreSQL
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". This package contains the PostGIS userland binaries for importing and exporting shape and raster files: pgsql2shp, raster2pgsql, and shp2pgsql.