Data

PostGIS 2.5.0 is here!

2 min read

The PostGIS development team released version 2.5.0 of PostGIS, a spatial database extender for PostgreSQL, yesterday. PostGIS 2.5.0 explores new features, breaking changes, improvements, and fixes. 

PostGIS is an open source software program which provides support for geographic objects to the PostgreSQL object-relational database. PostGIS comprises simple features for SQL specification from the Open Geospatial Consortium (OGC).

New Features

ST_OrientedEnvelope (Returns a minimum rotated rectangle enclosing a geometry) and ST_QuantizeCoordinates  (Sets least significant bits of coordinates to zero) have been added in PostGIS 2.5.0.

Apart from that, other new features such as ST_FilterByM (Filters vertex points based on their m-value) and ST_ChaikinSmoothing (Returns a “smoothed” version of the given geometry with the help of Chaikin algorithm) have also been added in PostGIS 2.5.0.

Breaking Changes

The Version number has been removed from address_standardize lib file in PostGIS 2.5.0. The raster support functions can be loaded only in the same schema with core PostGIS functions. The dummy pgis_abs type has been removed from aggregate/collect routines. Support has been removed for drop support GEOS < 3.5 and PostgreSQL < 9.4.

Improvements and bug Fixes

  • There’s been performance improvement for sorting POINT geometries in PostGIS 2.5.0.
  • An external raster band index has been added to ST_BandMetaData. Also, there’s an added Raster Tips section in Documentation for information about Raster behavior (e.g. Out-DB performance, maximum open files).
  • The use of GEOS in topology implementation has been reduced in PostGIS 2.5.0.
  • A bug that created MVTs with incorrect property values under parallel plans has been fixed.
  • Geometry in PostGIS 2.5.0 has been simplified using map grid cell size before generating MVT.
  •  BTree sort order has now been defined on collections of EMPTY and same-prefix geometries in PostGIS 2.5.0.
  • Hashable geometry feature enables direct use in CTE signatures in PostGIS 2.5.0.
  • PostGIS 2.5.0 will not be accepting EMPTY points as topology nodes.
  • ST_GeometricMedian now provides support for point weights in PostGIS 2.5.0.
  • Duplicated code in lwgeom_geos has been removed.

For more information on other updates and fixes in PostGIS 2.5.0, check out the official release notes.

Read Next

Writing PostGIS functions in Python language [Tutorial]

Adding PostGIS layers using QGIS [Tutorial]

PostGIS extension: pgRouting for calculating driving distance [Tutorial]

Natasha Mathur

Tech writer at the Packt Hub. Dreamer, book nerd, lover of scented candles, karaoke, and Gilmore Girls.

Share
Published by
Natasha Mathur

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago