![Page 1: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/1.jpg)
![Page 2: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/2.jpg)
![Page 3: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/3.jpg)
WHAT IS QGIS?
Quantum GIS (often abbreviated to QGIS) is a free
software desktop Geographic Information Systems (GIS) application that
provides data viewing, editing, and analysis capabilities.
Gary Sherman began development of Quantum GIS in early 2002, and
it became an incubator project of the Open Source Geospatial
Foundation in 2004. Version 1.0 was released in January 2009.
Quantum GIS is written in C++, and its GUI uses the Qt library.
Quantum GIS allows integration of plug-in developed using either C++
or Python.
![Page 4: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/4.jpg)
WHAT IS QGIS?
Quantum GIS is a multi-platform application and runs on
different operating systems including Mac OS
X, Linux, UNIX, and Microsoft Windows.
Quantum GIS has a small file size compared to
commercial GIS's and requires lessRAM and processing
power; hence it can be used on older hardware or running
simultaneously with other applications where CPU power
may be limited.
![Page 5: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/5.jpg)
WHAT IS QGIS?
Quantum GIS is continually maintained by an active group
of volunteer developers who regularly release updates and
bug fixes. Currently, developers have converted Quantum
GIS into 31 languages and the application is used
internationally in academic and professional environments.
![Page 6: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/6.jpg)
HOW IT WORK WITH POSTGRESQL
AFTER THE INSTALLATION OF BOTH POSTGRESQL
AND QGIS SOFTWARE, WE NEED I=ONE MORE THING
THAT IS POSTGIS FOR POSTGRESQL SPECIFIED
VERSION.
POSTGIS ACTUALLY A PLUG-IN OR WE CAN SAY IT AN
EXTENSION FOR POSTGRE THAT MAKE IT A “SPATIAL
DATABASE”.
![Page 7: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/7.jpg)
HOW IT WORK WITH POSTGRESQL
FOR USING QGIS WITH POSTGRES WE MUST NEED
INSTALLATION OF POSTGIS.
![Page 8: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/8.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGIS
We Simply
Open Our Qgis
Software.
![Page 9: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/9.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGIS
FOR BUILDING A DATA
BASE CONNECTION OR
TO CONNECT WITH
POSTGRESQL/POSTGIS,
WE HAVE TO CLICK “ADD
POSTGIS LAYER” BUTTON
FROM MANAGE LAYER
BUTTON.
![Page 10: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/10.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGISAfter This “Add Postgis
Table” A Dialouge Box Will
Prompt.
We Can Connect To Our
Database By Making a New
Connection, If We Already
Have a Connection Then We
Can Edit or Delete as Well.
![Page 11: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/11.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGIS
For Creating A New
Connection, We Have
To Fill All The Mention
Parameters.
![Page 12: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/12.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGIS
We fill all the
requirement as
shown in the
image.
![Page 13: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/13.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGISAfter making a successful
connection when we connect
or database, we will able to
see our data, if we have
added to that specified
database.
![Page 14: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/14.jpg)
BUILDING A DATA BASE CONNECTION WITH POSTGRE/POSTGIS
Data
Displayed In
Qgis Interface.
This is all for the data retrieval from data base if we have already added some data.
![Page 15: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/15.jpg)
ADDING DATA TO DATABASE
FOR ADDING DATA WE
WILL USE “IMPORT
SHAPEFILES TO
POSTGRESQL” SPIT TOOL
IN PLUGN-IN TOOL BAR.
![Page 16: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/16.jpg)
ADDING DATA TO DATABASE
YOU CAN SIMPLY ADD
THIS TOOL TO PLUGN –N
TOOL BAR BY FOLLOWING
THESE STEPS.
![Page 17: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/17.jpg)
ADDING DATA TO DATABASE
Here We Define Our
Data Cnnection To
Data First, After
Cionnecting To
Database We Simply
Add Our Data From
Our Local Drive, And
Then Press Ok.
![Page 18: Building a Connection In Qgis with Postgres SQL](https://reader034.vdocuments.mx/reader034/viewer/2022051314/5527da2a5503469a588b4579/html5/thumbnails/18.jpg)
THANKS