Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Practical GIS

You're reading from  Practical GIS

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787123328
Pages 428 pages
Edition 1st Edition
Languages

Table of Contents (22) Chapters

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
1. Setting Up Your Environment 2. Accessing GIS Data With QGIS 3. Using Vector Data Effectively 4. Creating Digital Maps 5. Exporting Your Data 6. Feeding a PostGIS Database 7. A PostGIS Overview 8. Spatial Analysis in QGIS 9. Spatial Analysis on Steroids - Using PostGIS 10. A Typical GIS Problem 11. Showcasing Your Data 12. Styling Your Data in GeoServer 13. Creating a Web Map 14. Appendix

Customizing the database


Most of the activities in this chapter will take place in the pgAdmin environment. We will learn how to utilize the convenient functionality it offers to create a nice, well-structured database without thinking of long commands. Of course, GUI operations cannot be automated, and using the CLI is generally faster (if we know exactly how to use it); therefore, we will also see those commands, as pgAdmin actually builds them from the options we include, and lets us see the result. First of all, let's see what pgAdmin has to show us if we open our database:

Note

Don't worry if you use pgAdmin 4--it has more items to show. However, the ones we will use are present in both versions.

As shown in the preceding screenshot, we can see the hierarchical structure of PostgreSQL having extensions, schemas which contain tables and functions, and roles.

Securing our database

So far, we used the public schema with the postgres role to create and fill our database. These are the default...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}