Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Developing Modern Database Applications with PostgreSQL

You're reading from  Developing Modern Database Applications with PostgreSQL

Product type Book
Published in Aug 2021
Publisher Packt
ISBN-13 9781838648145
Pages 440 pages
Edition 1st Edition
Languages
Authors (2):
Dr. Quan Ha Le Dr. Quan Ha Le
Profile icon Dr. Quan Ha Le
Marcelo Diaz Marcelo Diaz
Profile icon Marcelo Diaz
View More author details

Table of Contents (17) Chapters

Preface 1. Section 1 - Introducing PostgreSQL Development and Administration
2. Introduction to PostgreSQL Development and Administration 3. Section 2 - Development in PostgreSQL
4. Setting Up a PostgreSQL RDS for ATMs 5. Using PostgreSQL and Node.js for Banking Transactions 6. Managing Bank ATM Locations Using PostgreSQL and Django 7. Creating a Geospatial Database Using PostGIS and PostgreSQL 8. Managing Banking Transactions using PostgREST 9. Section 3 - Administration in PostgreSQL
10. PostgreSQL with DevOps for Continuous Delivery 11. PostgreSQL High Availability Clusters 12. High-Performance Team Dashboards Using PostgreSQL and New Relic 13. Testing the Performance of Our Banking App with PGBench and JMeter 14. Test Frameworks for PostgreSQL 15. Other Books You May Enjoy APPENDIX - PostgreSQL among the Other Current Clouds

PostGIS spatial extension

PostGIS is a spatial extender for PostgreSQL. It can be a good OpenGIS Simple Features for SQL-compliant spatial database because it allows you to use location SQL queries for geographic objects while remaining free and open source. Because spatial data is usually related to various types of data, PostGIS allows PostgreSQL developers to encode more complex spatial relationships. The first version (0.1) of PostGIS was released in May 2001 by Refractions Research. The latest released version of PostGIS is PostGIS 3.1.2.

When using PostGIS, we are able to execute our spatial data just like anything else in SQL statements. With the power of SQL, developers can conveniently perform spatial database transactions, backups, integrity checks, less data redundancy, multi-user operations, and security controls. 

The following is a list of advantages of PostGIS:

  • It offers complicated spatial tasks, spatial operators, and spatial functions.
  • It significantly shortens the development time of applications.
  • It allows spatial SQL querying using simple expressions for spatial relationships, such as the distance, adjacency, and containment, and for spatial operations, such as the area, length, intersection, union, and buffer.

In 2006, the Open Geospatial Consortium evaluated that "PostGIS implements the specified standard for simple features for SQL." In fact, PostGIS can be used as a backend for many software systems such as OpenStreetMap, ArcGIS, OpenJUMP, MapGuide, Kosmo, and QGIS. Furthermore, PostGIS also has an open source extension named "pgRouting" that provides geospatial routing functionality with many algorithms, including the all-pairs algorithm, Johnson’s algorithm, the Floyd-Warshall algorithm, A*, the bidirectional Dijkstra and traveling salesperson algorithms, and more.

You have been reading a chapter from
Developing Modern Database Applications with PostgreSQL
Published in: Aug 2021 Publisher: Packt ISBN-13: 9781838648145
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 €14.99/month. Cancel anytime}