I am quite a newbie in using Postgres under Ubuntu.
I have created a PostgreSQL database and now want to install the PostGIS extension for it so that I can import shapefiles and use the PostGIS commands.
PostGIS is installed. I use the bash shell. Can somebody give me advice?
[GIS] How to install PostGIS extension for PostgreSQL database under Ubuntu
postgisUbuntu
Related Question
- PostGIS – Unable to Install Extension to PostgreSQL on Ubuntu 12.04
- [GIS] PostGIS extension not available in Postgresql list
- [GIS] How to install PostGIS correctly with OpenGeo Suite 4.0 community edition on Ubuntu
- [GIS] How to install pgRouting on PostgreSQL 9.2 located at /opt/PostgreSQL/9.2/ on Ubuntu Server 12.10
- [GIS] Install Postgis in Ubuntu 16.04 in with already postgresql 9.3 installed
- arcgis-desktop – Creating a PostGIS Database for ArcGIS Integration
- PostGIS – Cannot Create PostGIS Extension on Ubuntu 18.04
Best Answer
PostGIS is installed as an Extension to each Database.
Once you have created a database,
you can install Extensions.
(or)
Then you can use
ogr2ogr
to push Shapefiles to the database, or run the PostGIS functions in your database.