Appendix A. Appendix

Appendix A. Appendix

Release Notes

Table of Contents
A.1. Release 3.1.11
A.2. Release 3.1.10
A.3. Release 3.1.9
A.4. Release 3.1.8
A.5. Release 3.1.7
A.6. Release 3.1.6
A.7. Release 3.1.5
A.8. Release 3.1.4
A.9. Release 3.1.3
A.10. Release 3.1.2
A.11. Release 3.1.2
A.12. Release 3.1.1
A.13. Release 3.1.0beta1
A.14. Release 3.1.0alpha3
A.15. Release 3.1.0alpha2
A.16. Release 3.1.0alpha1
A.17. Release 3.0.0
A.18. Release 3.0.0rc2
A.19. Release 3.0.0rc1
A.20. Release 3.0.0beta1
A.21. Release 3.0.0alpha4
A.22. Release 3.0.0alpha3
A.23. Release 3.0.0alpha2
A.24. Release 3.0.0alpha1
A.25. Release 2.5.0
A.26. Release 2.4.5
A.27. Release 2.4.4
A.28. Release 2.4.3
A.29. Release 2.4.2
A.30. Release 2.4.1
A.31. Release 2.4.0
A.32. Release 2.3.3
A.33. Release 2.3.2
A.34. Release 2.3.1
A.35. Release 2.3.0
A.36. Release 2.2.2
A.37. Release 2.2.1
A.38. Release 2.2.0
A.39. Release 2.1.8
A.40. Release 2.1.7
A.41. Release 2.1.6
A.42. Release 2.1.5
A.43. Release 2.1.4
A.44. Release 2.1.3
A.45. Release 2.1.2
A.46. Release 2.1.1
A.47. Release 2.1.0
A.48. Release 2.0.5
A.49. Release 2.0.4
A.50. Release 2.0.3
A.51. Release 2.0.2
A.52. Release 2.0.1
A.53. Release 2.0.0
A.54. Release 1.5.4
A.55. Release 1.5.3
A.56. Release 1.5.2
A.57. Release 1.5.1
A.58. Release 1.5.0
A.59. Release 1.4.0
A.60. Release 1.3.6
A.61. Release 1.3.5
A.62. Release 1.3.4
A.63. Release 1.3.3
A.64. Release 1.3.2
A.65. Release 1.3.1
A.66. Release 1.3.0
A.67. Release 1.2.1
A.68. Release 1.2.0
A.69. Release 1.1.6
A.70. Release 1.1.5
A.71. Release 1.1.4
A.72. Release 1.1.3
A.73. Release 1.1.2
A.74. Release 1.1.1
A.75. Release 1.1.0
A.76. Release 1.0.6
A.77. Release 1.0.5
A.78. Release 1.0.4
A.79. Release 1.0.3
A.80. Release 1.0.2
A.81. Release 1.0.1
A.82. Release 1.0.0
A.83. Release 1.0.0RC6
A.84. Release 1.0.0RC5
A.85. Release 1.0.0RC4
A.86. Release 1.0.0RC3
A.87. Release 1.0.0RC2
A.88. Release 1.0.0RC1

A.1. Release 3.1.11

This release works with PostgreSQL 9.6-14.

Bug Fixes

Release date: 2024/02/06

5610 , Allow Nan and infinity again in ST_SetPoint (Regina Obe)

5627 , Handling of EMPTY components in PiP check (Paul Ramsey)

5604 , Handle distance between collections with empty elements (Paul Ramsey)

5635 , Handle NaN points in ST_Split (Regina Obe)

Logic error in ST_Covers(geography) (Paul Ramsey)

5646 , Crash on collections with empty members (Paul Ramsey)

5580 , Handle empty collection components in 3d distance (Paul Ramsey)

5639 , ST_DFullyWithin line/poly error case (Paul Ramsey)

5662 , Change XML parsers to SAX2 (Paul Ramsey)

A.2. Release 3.1.10

This release works with PostgreSQL 9.6-14.

Bug Fixes

Release date: 2023/11/19

5568 , Improve robustness of topology face split handling (Sandro Santilli)

5494 , Fix double-upgrade with view using st_dwithin(text, ...) (Sandro Santilli)

5450 , Fix macro expansion recursion on powerpc architectures (Bas Couwenberg)

5385 , Postgres malloc assertion fail when using pg_cancel_backend with ST_AsMVT (Regina Obe, Paul Ramsey)

Fix JsonB casting issue (Paul Ramsey)

5616 , Fix to find docbook on newer docbook installs (Regina Obe)

A.3. Release 3.1.9

This release works with PostgreSQL 9.6-14.

Bug Fixes

Release date: 2023/05/29

5384 , Fix crash in ST_AsGML when given id is longer than given prefix (Sandro Santilli)

5380 , Fix 2.5 upgrades with views using geography based ST_Distance (Sandro Santilli)

5338 , Dump/Restore of raster table fails on enforce_coverage_tile_rast constraint (Regina Obe)

5315 , #5318, #5319, #5320, #5342 crashes on infinite coordinates (Regina Obe, Paul Ramsey)

5344 , Include topology id sequence state in dumps (Sandro Santilli)

5288 , ST_LineCrossingDirection multi-cross error (Paul Ramsey)

5347 , _ST_BestSRID crashes on ARM with infinite geometries (Regina Obe)

5331 , [postgis_tiger_geocoder] reverse_geocode, prefer addressable ranges (Regina Obe, Locance

A.4. Release 3.1.8

This release works with PostgreSQL 9.6-14.

Bug and Security Fixes

Release date: 2022/11/12

[security] Add schema qual to upgrade util (Regina Obe)

5240 , ST_DumpPoints crash with empty polygon (Regina Obe)

4648 , [security] Check function ownership at extension packaging time (Sandro Santilli) Thanks to Sven Klemm (Timescale) for the report

5241 , Crash on ST_SnapToGrid with empty multis (Regina Obe)

5234 , Fix 2.5d topology building regression (Sandro Santilli)

5280 , Handle load of dbase character fields with no width specified (Regina Obe)

5084 , Bad rasterization of linestring (Gilles Vuidel)

A.5. Release 3.1.7

This release works with PostgreSQL 9.6-14.

Bug Fixes

Release date: 2022/08/18

5191 , Use integer instead of int4 (Regina Obe)

5139 , PostGIS causes to_jsonb to no longer be parallel safe, ST_AsGeoJSON and ST_AsGML are also parallel unsafe (Regina Obe, Paul Ramsey)

5202 , Guard against downgrades (Sandro Santilli)

5209 , 5210 , Fix upgrades with CVE-2022-2625 PostgreSQL fix

5032 , Correctly read extent off multi-key GIST indexes (Paul Ramsey)

5181 , Reset proj error state after failed parse (Paul Ramsey)

5171 , Short circuit geodesic distance when inputs equal (Paul Ramsey)

Fix potential buffer overflow in long transaction locks (Paul Ramsey)

A.6. Release 3.1.6

This release works with PostgreSQL 9.6-14.

Bug Fixes

Release date: 2022/07/20

4835 , Occasional distance errors in polar area (Paul Ramsey)

5152 , Fix infinite loop with ST_Split (Sandro Santilli)

5120 , Fix not-null result from ST_EstimatedExtent against truncated tables with spatial index (Sandro Santilli)

5076 , Avoid log storm installed with pgaudit enabled (Paul Ramsey)

5100 , Stop using pg_atoi, removed in PG 15 (Laurenz Albe)

5115 , Allow dropping topologies with pending constraints (Sandro Santilli)

5151 , ST_SetPoint with empty geometries (Regina Obe)

5150 , Change signature of AddToSearchPath (Regina Obe)

5125 , Fix search path function (Sandro Santilli)

5155 , More schema qual fixes (Regina Obe)

5114 , Crash with long column names in pgsql2shp (Paul Ramsey)

4541 , ST_ConcaveHull returns a "geometrycollection" type instead of the expected "polygon" (Regina Obe)

5154 , raster ST_Value is undercosted (Regina Obe)

A.7. Release 3.1.5

Bug Fixes

Release date: 2022/02/01

#4994, Random missing INSERT in shp2pgsql (Sandro Santilli)

#5016, loader (shp2pgsq): Respect LDFLAGS (Greg Troxel)

#5018, pgsql2shp basic support for WITH CTE clause (Regina Obe)

#5026, fix DropTopology in presence of UPDATE triggers on topology layers (Sandro Santilli)

#5033, #5035, allow upgrades in presence of views using deprecated functions (Sandro Santilli)

#5046, Fix upgrades in absence of old library (Sandro Santilli)

#5069, search_path vulnerabilty during install/upgrade (Regina Obe)

#5041, postgis_tiger_geocoder: loader_generate_script generates script with invalid syntax (Regna Obe)

A.8. Release 3.1.4

Bug Fixes

Release date: 2021/09/04

#4782, Have postgis_restore.pl use backup postgis schema by default (Sandro Santilli)

#4854, Fix type of TopoGeometry receiving different-type TopoGeometry components (Sandro Santilli)

#4918, Fix rare crash in st_minpossiblevalue (Paul Ramsey)

#4941, Fix loose mbr in topology.face on update (Sandro Santilli)

#4949, Swapped coordinates for N/E planar systems (Paul Ramsey)

#GI617, Fix typo in setting of INVMINDIST (Charles Karney)

#4326, Fix CircularPolygon area calculation (Paul Ramsey)

#4917, Fix crasher with '-' regclass (Paul Ramsey)

#4919, Rare crash in selectivity calculation (Paul Ramsey)

#4926, Preserve SRID on unions of empty geometry (Paul Ramsey)

#4910, Allow repeated points in GML input poslists (Paul Ramsey)

#4958, TIGER2020 fix faces and add Tabblock20 (Regina Obe)

#4959, Drop Colorado state files also drops national county tables (Regina Obe)

#4916, #4770, #4724, #4916, Crashes in aggregate functions (Paul Ramsey)

#4982, Problem when calling the buffer function from MobilityDB (Esteban Zimanyi, MobilityDB)

A.9. Release 3.1.3

Release date: 2021/07/02

Bug Fixes

#4929, Fix missing error from GetRingEdges when invoked with unexistent topology or edge (Sandro Santilli)

#4927, Fix PostgreSQL 14 compile FuncnameGetCandidates changes (Regina Obe, Julien Rouhaud)

A.10. Release 3.1.2

Release date: 2021/05/21

Bug Fixes

#4871, TopoGeometry::geometry cast returns NULL for empty TopoGeometry objects (Sandro Santilli)

#4826, postgis_tiger_geocoder Better answers when no zip is provided (Regina Obe)

#4817, handle more complex compound coordinate dystems (Paul Ramsey)

#4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey) - Support recent Proj versions that have removed pj_get_release (Paul Ramsey)

#4835, Adjust tolerance for geodetic calculations (Paul Ramsey)

#4840, Improper conversion of negative geographic azimuth to positive (Paul Ramsey)

#4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)

#4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)

#4876, Fix raster issues related to PostgreSQL 14 tablefunc changes (Paul Ramsey, Regina Obe)

#4877, mingw64 PostGIS / PostgreSQL 14 compile (Regina Obe, Tom Lane)

#4838, Update to support Tiger 2020 (Regina Obe)

#4890, Change Proj cache lifetime to last as long as connection (Paul Ramsey)

#4845, Add Pg14 build support (Paul Ramsey)

A.11. Release 3.1.2

Release date: 2021/05/21

Bug Fixes

#4871, TopoGeometry::geometry cast returns NULL for empty TopoGeometry objects (Sandro Santilli)

#4826, postgis_tiger_geocoder Better answers when no zip is provided (Regina Obe)

#4817, handle more complex compound coordinate dystems (Paul Ramsey)

#4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey)

Support recent Proj versions that have removed pj_get_release (Paul Ramsey)

#4835, Adjust tolerance for geodetic calculations (Paul Ramsey)

#4840, Improper conversion of negative geographic azimuth to positive (Paul Ramsey)

#4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)

#4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)

#4876, Fix raster issues related to PostgreSQL 14 tablefunc changes (Paul Ramsey, Regina Obe)

#4877, mingw64 PostGIS / PostgreSQL 14 compile (Regina Obe, Tom Lane)

#4838, Update to support Tiger 2020 (Regina Obe)

#4890, Change Proj cache lifetime to last as long as connection (Paul Ramsey)

#4845, Add Pg14 build support (Paul Ramsey)

A.12. Release 3.1.1

Release date: 2021/01/28

Bug Fixes

#4814, Crash passing collection with only empty components to ST_MakeValid (Sandro Santilli)

#4818, Make the VSICURL synthetic driver work as documented

#4825, Unstable results from ST_MakeValid (Sandro Santilli)

#4823, Avoid listing the same geometry in different collections

A.13. Release 3.1.0beta1

Release date: 2020/12/09

Only changes since 3.1.0alpha2 are listed. This version requires PostgreSQL 9.6-13 and GEOS >= 3.6+ Additional features and enhancements enabled if you are running Proj6+, PostgreSQL 12+, and GEOS 3.9.0dev

Breaking changes

4214, Deprecated ST_Count(tablename,...), ST_ApproxCount(tablename, ...) ST_SummaryStats(tablename, ..), ST_Histogram(tablename, ...), ST_ApproxHistogram(tablename, ...), ST_Quantile(tablename, ...), ST_ApproxQuantile(tablename, ...) removed. (Darafei Praliaskouski)

Enhancements

4801, ST_ClusterKMeans supports weights in POINT[Z]M geometries (Darafei Praliaskouski)

4804, ST_ReducePrecision (GEOS 3.9+) allows valid precision reduction (Paul Ramsey)

4805, _ST_SortableHash exposed to work around parallel soring performance issue in Postgres. If your table is huge, use ORDER BY _ST_SortableHash(geom) instead of ORDER BY geom to make parallel sort faster (Darafei Praliaskouski)

4625, Correlation statistics now calculated. Run ANALYZE for BRIN indexes to start kicking in. (Darafei Praliaskouski)

Fix axis order issue with urn:ogc:def:crs:EPSG in ST_GeomFromGML() (Even Roualt)

A.14. Release 3.1.0alpha3

Release date: 2020/11/19

Only changes since 3.1.0alpah2 are listed. This version requires PostgreSQL 9.6-13 and GEOS >= 3.6+ Additional features and enhancements enabled if you are running Proj6+, PostgreSQL 12+, and GEOS 3.9.0dev

Breaking changes

4737, Bump minimum protobuf-c requirement to 1.1.0 (Raúl Marín) The configure step will now fail if the requirement isn't met or explicitly disabled (--without-protobuf)

4258, Untangle postgis_sfcgal from postgis into its own lib file (Regina Obe)

New features

4698, Add a precision parameter to ST_AsEWKT (Raúl Marín)

Add a gridSize optional parameter to ST_Union, ST_UnaryUnion, ST_Difference, ST_Intersection, ST_SymDifference, ST_Subdivide Requires GEOS 3.9 (Sandro Santilli)

Enhancements

4789, Speed up TopoJSON output for areal TopoGeometry with many holes (Sandro Santilli)

4758, Improve topology noding robustness (Sandro Santilli)

Make ST_Subdivide interruptable (Sandro Santilli)

4660, Changes in double / coordinate printing (Raúl Marín) - Use the shortest representation (enough to guarantee roundtrip). - Uses scientific notation for absolute numbers smaller than 1e-8. The previous behaviour was to output 0 for absolute values smaller than 1e-12 and fixed notation for anything bigger than that. - Uses scientific notation for absolute numbers greater than 1e+15 (same behaviour). - The precision parameter now also affects the scientific notation (before it was fixed [5-8]). - All output functions now respect the requested precision (without any limits). - The default precision is the same (9 for GeoJSON, 15 for everything else).

4729, WKT/KML: Print doubles directly into stringbuffers (Raúl Marín)

4533, Use the standard coordinate printing system for box types (Raúl Marín)

4686, Avoid decompressing geographies when possible (Raúl Marín) Affects ANALYZE, _ST_PointOutside, postgis_geobbox, ST_CombineBbox(box2d, geometry), ST_ClipByBox2D when the geometry is fully inside or outside the bbox and ST_BoundingDiagonal.

4741, Don't use ST_PointInsideCircle if you need indexes, use ST_DWithin instead. Documentation adjusted (Darafei Praliaskouski)

4737, Improve performance and reduce memory usage in ST_AsMVT, especially in queries involving parallelism (Raúl Marín)

4746, Micro optimizations to the serialization process (Raúl Marín)

4719, Fail fast when srids don't match ST_Intersection(geometry,raster) Also schema qualify calls in function. (Regina Obe)

4784, Add ST_CollectionExtract(geometry) with default behaviour of extracting the components of highest coordinate dimension. (Paul Ramsey)

Bug Fixes

4691, Fix segfault during gist index creation with empty geometries (Raúl Marín)

Fix handling of bad WKB inputs (Oracle types) and unit tests for malformed WKB. Remove memory leaks in malformed WKB cases. (Paul Ramsey)

4740, Round values in geography_distance_tree as we do on geography_distance (Raúl Marín, Paul Ramsey, Regina Obe)

4739, Ensure all functions using postgis_oid initialize the internal cache (Raúl Marín)

4767, #4768, #4771, #4772, Fix segfault when parsing invalid WKB (Raúl Marín)

4769, Fix segfault in st_addband (Raúl Marín)

4790, Fix ST_3dintersects calculations with identical vertices (Nicklas Avén)

4742, tiger geocoder reverted to 2018 version on tiger upgrade (Regina Obe)

3372, TopoElementArray cannot be null - change domain constraint (Regina Obe)

A.15. Release 3.1.0alpha2

Release date: 2020/07/18

Only changes since 3.1.0alpah1 are listed. This version requires PostgreSQL 9.6-13 and GEOS >= 3.6+ Additional features and enhancements enabled if you are running Proj6+, PostgreSQL 12+, and GEOS 3.9.0dev

New Features

4656, Cast a geojson_text::geometry for implicit GeoJSON ingestion (Raúl Marín)

4687, Expose GEOS MaximumInscribedCircle (Paul Ramsey)

4710, ST_ClusterKMeans now works with 3D geometries (Darafei Praliaskouski)

Enhancements

4675, topology.GetRingEdges now implemented in C (Sandro Santilli)

4681, ST_GetFaceGeometry: print corruption information (Sandro Santilli)

4651, ST_Simplify: Don't copy if nothing is removed (Raúl Marín)

4657, Avoid De-TOASTing where possible (Paul Ramsey)

4490, Tweak function costs (Raúl Marín)

4672, Cache getSRSbySRID and getSRIDbySRS (Raúl Marín)

4676, Avoid decompressing toasted geometries to read only the header (Raúl Marín) Optimize cast to Postgresql point type (Raúl Marín)

4620, Update internal wagyu to 0.5.0 (Raúl Marín)

4623, Optimize varlena returning functions (Raúl Marín)

4677, Share gserialized objects between different cache types (Raúl Marín)

Fix compilation with MSVC compiler / Standardize shebangs (Loïc Bartoletti)

Bug fixes

4652, Fix several memory related bugs in ST_GeomFromGML (Raúl Marín)

4661, Fix access to spatial_ref_sys with a non default schema (Raúl Marín)

4670, ST_AddPoint: Fix bug when a positive position is requested (Raúl Marín)

4699, crash on null input to ST_Union(raster, otherarg) (Jaime Casanova, 2ndQuadrant)

4716, Fix several issues with pkg-config in the configure script (Raúl Marín)

A.16. Release 3.1.0alpha1

Release date: 2020/02/01

This version requires PostgreSQL 9.6+-13 and GEOS >= 3.6+ Additional features and enhancements enabled if you are running Proj6+, PostgreSQL 12+, and GEOS 3.8.0

Breaking Changes

svn number replaced by git hash in version output (Sandro Santilli, Raúl Marín)

4577, Drop support for PostgreSQL 9.5 (Raúl Marín)

4579, Drop postgis_proc_set_search_path.pl (Raúl Marín)

4601, ST_TileEnvelope signature changed.

3057, ST_Force3D, ST_Force3DZ, ST_Force3DM and ST_Force4D signatures changed.

New features

4601, Add ST_TileEnvelope margin argument (Yuri Astrakhan)

2972, Add quiet mode (-q) to pgsql2shp (Kristian Thy)

4617, Add configure switch `--without-phony-revision` (Raúl Marín)

3057, Optional value params for Force3D*, Force4D functions (Kristian Thy)

4624, ST_HexagonGrid and ST_SquareGrid, set returning functions to generate tilings of the plane (Paul Ramsey)

Enhancements

4539, Unify libm includes (Raúl Marín)

4569, Allow unknown SRID geometry insertion into typmod SRID column (Paul Ramsey)

4149, ST_Simplify(geom, 0) is now O(N). ST_Affine (ST_Translate, ST_TransScale, ST_Rotate) optimized. ST_SnapToGrid optimized. (Darafei Praliaskouski)

4574, Link Time Optimizations enabled (Darafei Praliaskouski)

4578, Add parallellism and cost properties to brin functions (Raúl Marín)

4473, Silence yacc warnings (Raúl Marín)

4589, Disable C asserts when building without "--enable-debug" (Raúl Marín)

4543, Introduce ryu to print doubles (Raúl Marín)

4626, Support pkg-config for libxml2 (Bas Couwenberg)

4615, Speed up geojson output (Raúl Marín)

A.17. Release 3.0.0

Release date: 2019/10/20

This version requires PostgreSQL 9.5+-12 and GEOS >= 3.6+ Additional features and enhancements enabled if you are running Proj6+, PostgreSQL 12, and GEOS 3.8.0

New Features

2902, postgis_geos_noop (Sandro Santilli)

4128, ST_AsMVT support for Feature ID (Stepan Kuzmin)

4230, SP-GiST and GiST support for ND box operators overlaps, contains, within, equals (Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB), Darafei Praliaskouski)

4171, ST_3DLineInterpolatePoint (Julien Cabieces, Vincent Mora)

4311, Introduce WAGYU to validate MVT polygons. This option requires a C++11 compiler and will use CXXFLAGS (not CFLAGS). Add `--without-wagyu` to disable this option and keep the behaviour from 2.5 (Raúl Marín)

1833, ST_AsGeoJSON(row) generates full GeoJSON Features (Joe Conway)

3687, Casts json(geometry) and jsonb(geometry) for implicit GeoJSON generation (Paul Ramsey)

4198, Add ST_ConstrainedDelaunayTriangles SFCGAL function (Darafei Praliaskouski)

Breaking Changes

4267, Bump minimum GEOS version to 3.6 (Regina Obe, Darafei Praliaskouski)

3888, Raster support now available as a separate extension (Sandro Santilli)

3807, Extension library files no longer include the minor version. Use New configure switch --with-library-minor-version if you need the old behavior (Regina Obe)

4230, ND box operators (overlaps, contains, within, equals) now don't look on dimensions that aren't present in both operands. Please REINDEX your ND indexes after upgrade. (Darafei Praliaskouski)

4229, Dropped support for PostgreSQL < 9.5. (Darafei Praliaskouski)

4260, liblwgeom headers are not installed anymore. If your project depends on them available, please use librttopo instead. (Darafei Praliaskouski)

4258, Remove SFCGAL support for ST_Area, ST_Distance, ST_Intersection, ST_Difference, ST_Union, ST_Intersects, ST_3DIntersects, ST_3DDistance and postgis.backend switch (Darafei Praliaskouski)

4267, Enable Proj 6 deprecated APIs (Darafei Praliaskouski, Raúl Marín)

4268, Bump minimum SFCGAL version to 1.3.1 (Darafei Praliaskouski)

4331, ST_3DMakeBox now returns error instead of a miniscule box (Regina Obe)

4342, Removed "versioned" variants of ST_AsGeoJSON and ST_AsKML (Paul Ramsey)

4356, ST_Accum removed. Use array_agg instead. (Darafei Praliaskouski)

4414, Include version number in address_standardizer lib (Raúl Marín)

4334, Fix upgrade issues related to renamed function parameters (Raúl Marín)

4442, raster2pgsql now skips NODATA tiles. Use -k option if you still want them in database for some reason. (Darafei Praliaskouski)

4433, 32-bit hash fix (requires reindexing hash(geometry) indexes) (Raúl Marín)

3383, Sorting now uses Hilbert curve and Postgres Abbreviated Compare. You need to REINDEX your btree indexes if you had them. (Darafei Praliaskouski)

Enhancements

4341, Using "support function" API in PgSQL 12+ to replace SQL inlining as the mechanism for providing index support under ST_Intersects, et al

4330, postgis_restore OOM when output piped to an intermediate process (Hugh Ranalli)

4322, Support for Proj 6+ API, bringing more accurate datum transforms and support for WKT projections

4153, ST_Segmentize now splits segments proportionally (Darafei Praliaskouski).

4162, ST_DWithin documentation examples for storing geometry and radius in table (Darafei Praliaskouski, github user Boscop).

4161 and #4294, ST_AsMVTGeom: Shortcut geometries smaller than the resolution (Raúl Marín)

4176, ST_Intersects supports GEOMETRYCOLLECTION (Darafei Praliaskouski)

4181, ST_AsMVTGeom: Avoid type changes due to validation (Raúl Marín)

4183, ST_AsMVTGeom: Drop invalid geometries after simplification (Raúl Marín)

4196, Have postgis_extensions_upgrade() package unpackaged extensions (Sandro Santilli)

4215, Use floating point compare in ST_DumpAsPolygons (Darafei Praliaskouski)

4155, Support for GEOMETRYCOLLECTION, POLYGON, TIN, TRIANGLE in ST_LocateBetween and ST_LocateBetweenElevations (Darafei Praliaskouski)

2767, Documentation for AddRasterConstraint optional parameters (Sunveer Singh)

4244, Avoid unaligned memory access in BOX2D_out (Raúl Marín)

4139, Make mixed-dimension ND index build tree correctly (Darafei Praliaskouski, Arthur Lesuisse, Andrew Gierth, Raúl Marín)

4262, Document MULTISURFACE compatibility of ST_LineToCurve (Steven Ottens)

4276, ST_AsGeoJSON documentation refresh (Darafei Praliaskouski)

4292, ST_AsMVT: parse JSON numeric values with decimals as doubles (Raúl Marín)

4300, ST_AsMVTGeom: Always return the simplest geometry (Raúl Marín)

4301, ST_Subdivide: fix endless loop on coordinates near coincident to bounds (Darafei Praliaskouski)

4289, ST_AsMVTGeom: Transform coordinates space before clipping (Raúl Marín)

4272, Improve notice message when unable to compute stats (Raúl Marín)

4313, #4307, PostgreSQL 12 compatibility (Laurenz Albe, Raúl Marín)

4299, #4304, ST_GeneratePoints is now VOLATILE. IMMUTABLE version with seed parameter added. (Mike Taves)

4278, ST_3DDistance and ST_3DIntersects now support Solid TIN and Solid POLYHEDRALSURFACE (Darafei Praliaskouski)

4348, ST_AsMVTGeom (GEOS): Enforce validation at all times (Raúl Marín)

4295, Allow GEOMETRYCOLLECTION in ST_Overlaps, ST_Contains, ST_ContainsProperly, ST_Covers, ST_CoveredBy, ST_Crosses, ST_Touches, ST_Disjoint, ST_Relate, ST_Equals (Esteban Zimányi)

4340, ST_Union aggregate now can handle more than 1 GB of geometries (Darafei Praliaskouski)

4378, Allow passing TINs as input to GEOS-backed functions (Darafei Praliaskouski)

4368, Reorder LWGEOM struct members to minimize extra padding (Raúl Marín)

4141, Use uint64 to handle row counts in the topology extension (Raúl Marín)

4412, Support ingesting rasters with NODATA=NaN (Darafei Praliaskouski)

4413, Raster tile size follows GeoTIFF block size on raster2pgsql -t auto (Darafei Praliaskouski)

4422, Modernize Python 2 code to get ready for Python 3 (Christian Clauss)

4352, Use CREATE OR REPLACE AGGREGATE for PG12+ (Raúl Marín)

4394, Allow FULL OUTER JOIN on geometry equality operator (Darafei Praliaskouski)

4441, Make GiST penalty friendly to multi-column indexes and build single-column ones faster. (Darafei Praliaskouski)

4403, Support for shp2pgsql ability to reproject with copy mode (-D) (Regina Obe)

4410, More descriptive error messages about SRID mismatch (Darafei Praliaskouski)

4399, TIN and Triangle output support in all output functions (Darafei Praliaskouski)

3719, Impose minimum number of segments per arc during linearization (Dan Baston / City of Helsinki, Raúl Marín)

4277, ST_GeomFromGeoJSON now marks SRID=4326 by default as per RFC7946, ST_AsGeoJSON sets SRID in JSON output if it differs from 4326. (Darafei Praliaskouski)

3979, postgis_sfcgal_noop() round trip function (Lucas C. Villa Real)

4328, ST_3DIntersects for 2D TINs. (Darafei Praliaskouski)

4509, Update geocoder for tiger 2019 (Regina Obe)

A.18. Release 3.0.0rc2

Release date: 2019/10/13

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6. Additional features enabled if you running Proj6+ and/or PostgreSQL 12. Performance enhancements if running GEOS 3.8+

Major highlights

4534, Fix leak in lwcurvepoly_from_wkb_state (Raúl Marín)

4536, Fix leak in lwcollection_from_wkb_state (Raúl Marín)

4537, Fix leak in WKT collection parser (Raúl Marín)

4535, WKB: Avoid buffer overflow (Raúl Marín)

A.19. Release 3.0.0rc1

Release date: 2019/10/08

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6. Additional features enabled if you running Proj6+ and/or PostgreSQL 12. Performance enhancements if running GEOS 3.8+

Major highlights

4519, Fix getSRIDbySRS crash (Raúl Marín)

4520, Use a clean environment when detecting C++ libraries (Raúl Marín)

Restore ST_Union() aggregate signature so drop agg not required and re-work performance/size enhancement to continue to avoid using Array type during ST_Union(), hopefully avoiding Array size limitations. (Paul Ramsey)

A.20. Release 3.0.0beta1

Release date: 2019/09/28

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6. Additional features enabled if you running Proj6+ and/or PostgreSQL 12. Performance enhancements if running GEOS 3.8+

Major highlights

4492, Fix ST_Simplify ignoring the value of the 3rd parameter (Raúl Marín)

4494, Fix ST_Simplify output having an outdated bbox (Raúl Marín)

4493, Fix ST_RemoveRepeatedPoints output having an outdated bbox (Raúl Marín)

4495, Fix ST_SnapToGrid output having an outdated bbox (Raúl Marín)

4496, Make ST_Simplify(TRIANGLE) collapse if requested (Raúl Marín)

4501, Allow postgis_tiger_geocoder to be installable by non-super users (Regina Obe)

4503, Speed up the calculation of cartesian bbox (Raúl Marín)

4504, shp2pgsql -D not working with schema qualified tables (Regina Obe)

4505, Speed up conversion of geometries to/from GEOS (Dan Baston)

4507, Use GEOSMakeValid and GEOSBuildArea for GEOS 3.8+ (Dan Baston)

4491, Speed up ST_RemoveRepeatedPoints (Raúl Marín)

4509, Update geocoder for tiger 2019 (Regina Obe)

4338, Census block level data (tabblock table) not loading (Regina Obe)

A.21. Release 3.0.0alpha4

Release date: 2019/08/11

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6. Additional features enabled if you running Proj6+ and/or PostgreSQL 12

Major highlights

4433, 32-bit hash fix (requires reindexing hash(geometry) indexes) (Raúl Marín)

4445, Fix a bug in geometry_le (Raúl Marín)

4451, Fix the calculation of gserialized_max_header_size (Raúl Marín)

4450, Speed up ST_GeometryType (Raúl Marín)

4452, Add ST_TileEnvelope() (Paul Ramsey)

4403, Support for shp2pgsql ability to reproject with copy mode (-D) (Regina Obe)

4417, Update spatial_ref_sys with new entries (Paul Ramsey)

4449, Speed up ST_X, ST_Y, ST_Z and ST_M (Raúl Marín)

4454, Speed up _ST_OrderingEquals (Raúl Marín)

4453, Speed up ST_IsEmpty (Raúl Marín)

4271, postgis_extensions_upgrade() also updates after pg_upgrade (Raúl Marín)

4466, Fix undefined behaviour in _postgis_gserialized_stats (Raúl Marín)

4209, Handle NULL geometry values in pgsql2shp (Paul Ramsey)

4419, Use protobuf version to enable/disable mvt/geobuf (Paul Ramsey)

4437, Handle POINT EMPTY in shape loader/dumper (Paul Ramsey)

4456, add Rasbery Pi 32-bit jenkins bot for testing (Bruce Rindahl,Regina Obe)

4420, update path does not exists for address_standardizer extension (Regina Obe)

A.22. Release 3.0.0alpha3

Release date: 2019/07/01

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6

Major highlights

4414, Include version number in address_standardizer lib (Raúl Marín)

4352, Use CREATE OR REPLACE AGGREGATE for PG12+ (Raúl Marín)

4334, Fix upgrade issues related to renamed parameters (Raúl Marín)

4388, AddRasterConstraints: Ignore NULLs when generating constraints (Raúl Marín)

4327, Avoid pfree'ing the result of getenv (Raúl Marín)

4406, Throw on invalid characters when decoding geohash (Raúl Marín)

4429, Avoid resource leaks with PROJ6 (Raúl Marín)

4372, PROJ6: Speed improvements (Raúl Marín)

3437, Speed up ST_Intersects with Points (Raúl Marín)

4438, Update serialization to support extended flags area (Paul Ramsey)

4443, Fix wagyu configure dropping CPPFLAGS (Raúl Marín)

4440, Type lookups in FDW fail (Paul Ramsey)

4442, raster2pgsql now skips NODATA tiles. Use -k option if you still want them in database for some reason. (Darafei Praliaskouski)

4441, Make GiST penalty friendly to multi-column indexes and build single-column ones faster. (Darafei Praliaskouski)

A.23. Release 3.0.0alpha2

Release date: 2019/06/02

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6

Major highlights

#4404, Fix selectivity issue with support functions (Paul Ramsey)

#4311, Make wagyu the default option to validate polygons. This option requires a C++11 compiler and will use CXXFLAGS (not CFLAGS). It is only enabled if built with MVT support (protobuf) Add `--without-wagyu` to disable this option and keep the behaviour from 2.5 (Raúl Marín)

#4198, Add ST_ConstrainedDelaunayTriangles SFCGAL function (Darafei Praliaskouski)

A.24. Release 3.0.0alpha1

Release date: 2019/05/26

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.5 - PostgreSQL 12 GEOS >= 3.6

New Features

additional features enabled if you are running Proj6+

Read the NEWS file in the included tarball for more details

A.25. Release 2.5.0

Release date: 2018/09/23

If compiling with PostgreSQL+JIT, LLVM >= 6 is required

Supported PostgreSQL versions for this release are: PostgreSQL 9.4 - PostgreSQL 12 (in development) GEOS >= 3.5

New Features

#1847, spgist 2d and 3d support for PG 11+ (Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB), Darafei Praliaskouski)

#4056, ST_FilterByM (Nicklas Avén)

#4050, ST_ChaikinSmoothing (Nicklas Avén)

#3989, ST_Buffer single sided option (Stephen Knox)

#3876, ST_Angle function (Rémi Cura)

#3564, ST_LineInterpolatePoints (Dan Baston)

#3896, PostGIS_Extensions_Upgrade() (Regina Obe)

#3913, Upgrade when creating extension from unpackaged (Sandro Santilli)

#2256, _postgis_index_extent() for extent from index (Paul Ramsey)

#3176, Add ST_OrientedEnvelope (Dan Baston)

#4029, Add ST_QuantizeCoordinates (Dan Baston)

#4063, Optional false origin point for ST_Scale (Paul Ramsey)

#4082, Add ST_BandFileSize and ST_BandFileTimestamp, extend ST_BandMetadata (Even Rouault)

#2597, Add ST_Grayscale (Bborie Park)

#4007, Add ST_SetBandPath (Bborie Park)

#4008, Add ST_SetBandIndex (Bborie Park)

Breaking Changes

Upgrade scripts from multiple old versions are now all symlinks to a single upgrade script (Sandro Santilli)

#3944, Update to EPSG register v9.2 (Even Rouault)

#3927, Parallel implementation of ST_AsMVT

#3925, Simplify geometry using map grid cell size before generating MVT

#3899, BTree sort order is now defined on collections of EMPTY and same-prefix geometries (Darafei Praliaskouski)

#3864, Performance improvement for sorting POINT geometries (Darafei Praliaskouski)

#3900, GCC warnings fixed, make -j is now working (Darafei Praliaskouski) - TopoGeo_addLinestring robustness improvements (Sandro Santilli) #1855, #1946, #3718, #3838

#3234, Do not accept EMPTY points as topology nodes (Sandro Santilli)

#1014, Hashable geometry, allowing direct use in CTE signatures (Paul Ramsey)

#3097, Really allow MULTILINESTRING blades in ST_Split() (Paul Ramsey)

#3942, geojson: Do not include private header for json-c >= 0.13 (Björn Esser)

#3954, ST_GeometricMedian now supports point weights (Darafei Praliaskouski)

#3965, #3971, #3977, #4071 ST_ClusterKMeans rewritten: better initialization, faster convergence, K=2 even faster (Darafei Praliaskouski)

#3982, ST_AsEncodedPolyline supports LINESTRING EMPTY and MULTIPOINT EMPTY (Darafei Praliaskouski)

#3986, ST_AsText now has second argument to limit decimal digits (Marc Ducobu, Darafei Praliaskouski)

#4020, Casting from box3d to geometry now returns correctly connected PolyhedralSurface (Matthias Bay)

#2508, ST_OffsetCurve now works with collections (Darafei Praliaskouski)

#4006, ST_GeomFromGeoJSON support for json and jsonb as input (Paul Ramsey, Regina Obe)

#4038, ST_Subdivide now selects pivot for geometry split that reuses input vertices. (Darafei Praliaskouski)

#4025, #4032 Fixed precision issue in ST_ClosestPointOfApproach, ST_DistanceCPA, and ST_CPAWithin (Paul Ramsey, Darafei Praliaskouski)

#4076, Reduce use of GEOS in topology implementation (Björn Harrtell)

#4080, Add external raster band index to ST_BandMetaData - Add Raster Tips section to Documentation for information about Raster behavior (e.g. Out-DB performance, maximum open files)

#4084: Fixed wrong code-comment regarding front/back of BOX3D (Matthias Bay)

#4060, #4094, PostgreSQL JIT support (Raúl Marín, Laurenz Albe)

#3960, ST_Centroid now uses lwgeom_centroid (Darafei Praliaskouski)

#4027, Remove duplicated code in lwgeom_geos (Darafei Praliaskouski, Daniel Baston)

#4115, Fix a bug that created MVTs with incorrect property values under parallel plans (Raúl Marín).

#4120, ST_AsMVTGeom: Clip using tile coordinates (Raúl Marín).

#4132, ST_Intersection on Raster now works without throwing TopologyException (Vinícius A.B. Schmidt, Darafei Praliaskouski)

#4177, #4180 Support for PostgreSQL 12 dev branch (Laurenz Albe, Raúl Marín)

#4156, ST_ChaikinSmoothing: also smooth start/end point of polygon by default (Darafei Praliaskouski)

A.26. Release 2.4.5

Release date: 2018/09/12

This is a bug fix and performance improvement release.

Bug Fixes

#4031, Survive to big MaxError tolerances passed to ST_CurveToLine (Sandro Santilli)

#4058, Fix infinite loop in linearization of a big radius small arc (Sandro Santilli)

#4071, ST_ClusterKMeans crash on NULL/EMPTY fixed (Darafei Praliaskouski)

#4079, ensure St_AsMVTGeom outputs CW oriented polygons (Paul Ramsey)

#4070, use standard interruption error code on GEOS interruptions (Paul Ramsey)

#3980, delay freeing input until processing complete (lucasvr)

#4090, PG 11 support (Paul Ramsey, Raúl Marín)

#4077, Serialization failure for particular empty geometry cases (Paul Ramsey)

#3997, fix bug in lwgeom_median and avoid division by zero (Raúl Marín)

#4093, Inconsistent results from qsort callback (yugr)

#4081, Geography DWithin() issues for certain cases (Paul Ramsey)

#4105, Parallel build of tarball (Bas Couwenberg)

#4163, MVT: Fix resource leak when the first geometry is NULL (Raúl Marín)

A.27. Release 2.4.4

Release date: 2018/04/08

This is a bug fix and performance improvement release.

Bug Fixes

#3055, [raster] ST_Clip() on a raster without band crashes the server (Regina Obe)

#3942, geojson: Do not include private header for json-c >= 0.13 (Björn Esser)

#3952, ST_Transform fails in parallel mode (Paul Ramsey)

#3978, Fix KNN when upgrading from 2.1 or older (Sandro Santilli)

#4003, lwpoly_construct_circle: Avoid division by zero (Raúl Marín Rodríguez)

#4004, Avoid memory exhaustion when building a btree index (Edmund Horner)

#4016, proj 5.0.0 support (Raúl Marín Rodríguez)

#4017, lwgeom lexer memory corruption (Peter E)

#4020, Casting from box3d to geometry now returns correctly connected PolyhedralSurface (Matthias Bay)

#4025, #4032 Incorrect answers for temporally "almost overlapping" ranges (Paul Ramsey, Darafei Praliaskouski)

#4052, schema qualify several functions in geography (Regina Obe)

#4055, ST_ClusterIntersecting drops SRID (Daniel Baston)

Enhancements

#3946, Compile support for PgSQL 11 (Paul Ramsey)

#3992, Use PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config (Bas Couwenberg)

#4044, Upgrade support for PgSQL 11 (Regina Obe)

A.28. Release 2.4.3

Release date: 2018/01/17

This is a bug fix and performance improvement release.

Bug Fixes and Enhancements

#3713, Support encodings that happen to output a '\' character

#3827, Set configure default to not do interrupt testing, was causing false negatives for many people. (Regina Obe) revised to be standards compliant in #3988 (Greg Troxel)

#3930, Minimum bounding circle issues on 32-bit platforms

#3965, ST_ClusterKMeans used to lose some clusters on initialization (Darafei Praliaskouski)

#3956, Brin opclass object does not upgrade properly (Sandro Santilli)

#3982, ST_AsEncodedPolyline supports LINESTRING EMPTY and MULTIPOINT EMPTY (Darafei Praliaskouski)

#3975, ST_Transform runs query on spatial_ref_sys without schema qualification. Was causing restore issues. (Paul Ramsey)

A.29. Release 2.4.2

Release date: 2017/11/15

This is a bug fix and performance improvement release.

Bug Fixes and Enhancements

#3917, Fix zcta5 load

#3667, Fix for bug in geography ST_Segmentize

#3926, Add missing 2.2.6 and 2.3.4 upgrade paths (Muhammad Usama)

A.30. Release 2.4.1

Release date: 2017/10/18

This is a bug fix and performance improvement release.

Bug Fixes and Enhancements

#3864, Fix memory leaks in BTREE operators

#3869, Fix build with "gold" linker

#3845, Gracefully handle short-measure issue

#3871, Performance tweak for geometry cmp function

#3879, Division by zero in some arc cases

#3878, Single defn of signum in header

#3880, Undefined behaviour in TYPMOD_GET_SRID

#3875, Fix undefined behaviour in shift operation

#3864, Performance improvements for b-tree geometry sorts

#3874, lw_dist2d_pt_arc division by zero

#3882, undefined behaviour in zigzag with negative inputs

#3891, undefined behaviour in pointarray_to_encoded_polyline

#3895, throw error on malformed WKB input

#3886, fix rare missing boxes in geometry subdivision

#3907, Allocate enough space for all possible GBOX string outputs (Raúl Marín Rodríguez)

A.31. Release 2.4.0

Release date: 2017/09/30

New Features

#3822, Have postgis_full_version() also show and check version of PostgreSQL the scripts were built against (Sandro Santilli)

#2411, curves support in ST_Reverse (Sandro Santilli)

#2951, ST_Centroid for geography (Danny Götte)

#3788, Allow postgis_restore.pl to work on directory-style (-Fd) dumps (Roger Crew)

#3772, Direction agnostic ST_CurveToLine output (Sandro Santilli / KKGeo)

#2464, ST_CurveToLine with MaxError tolerance (Sandro Santilli / KKGeo)

#3599, Geobuf output support via ST_AsGeobuf (Björn Harrtell)

#3661, Mapbox vector tile output support via ST_AsMVT (Björn Harrtell / CartoDB)

#3689, Add orientation checking and forcing functions (Dan Baston)

#3753, Gist penalty speed improvements for 2D and ND points (Darafei Praliaskouski, Andrey Borodin)

#3677, ST_FrechetDistance (Shinichi Sugiyama)

Most aggregates (raster and geometry), and all stable / immutable (raster and geometry) marked as parallel safe

#2249, ST_MakeEmptyCoverage for raster (David Zwarg, ainomieli)

#3709, Allow signed distance for ST_Project (Darafei Praliaskouski)

#524, Covers support for polygon on polygon, line on line, point on line for geography (Danny Götte)

Enhancements and Fixes

Many corrections to docs and several translations almost complete. Andreas Schild who provided many corrections to core docs. PostGIS Japanese translation team first to reach completion of translation.

Support for PostgreSQL 10

Preliminary support for PostgreSQL 11

#3645, Avoid loading logically deleted records from shapefiles

#3747, Add zip4 and address_alphanumeric as attributes to norm_addy tiger_geocoder type.

#3748, address_standardizer lookup tables update so pagc_normalize_address better standardizes abbreviations

#3647, better handling of noding in ST_Node using GEOSNode (Wouter Geraedts)

#3684, Update to EPSG register v9 (Even Rouault)

#3830, Fix initialization of incompatible type (>=9.6) address_standardizer

#3662, Make shp2pgsql work in debug mode by sending debug to stderr

#3405, Fixed memory leak in lwgeom_to_points

#3832, Support wide integer fields as int8 in shp2pgsql

#3841, Deterministic sorting support for empty geometries in btree geography

#3844, Make = operator a strict equality test, and < > to rough "spatial sorting"

#3855, ST_AsTWKB memory and speed improvements

Breaking Changes

Dropped support for PostgreSQL 9.2.

#3810, GEOS 3.4.0 or above minimum required to compile

Most aggregates now marked as parallel safe, which means most aggs have to be dropped / recreated. If you have views that utilize PostGIS aggs, you'll need to drop before upgrade and recreate after upgrade

#3578, ST_NumInteriorRings(POLYGON EMPTY) now returns 0 instead of NULL

_ST_DumpPoints removed, was no longer needed after PostGIS 2.1.0 when ST_DumpPoints got reimplemented in C

B-Tree index operators < = > changed to provide better spatial locality on sorting and have expected behavior on GROUP BY. If you have btree index for geometry or geography, you need to REINDEX it, or review if it was created by accident and needs to be replaced with GiST index. If your code relies on old left-to-right box compare ordering, update it to use << >> operators.

A.32. Release 2.3.3

Release date: 2017/07/01

This is a bug fix and performance improvement release.

Bug Fixes and Enhancements

#3777, GROUP BY anomaly with empty geometries

#3711, Azimuth error upon adding 2.5D edges to topology

#3726, PDF manual from dblatex renders fancy quotes for programlisting (Mike Toews)

#3738, raster: Using -s without -Y in raster2pgsql transforms raster data instead of setting srid

#3744, ST_Subdivide loses subparts of inverted geometries (Darafei Praliaskouski Komzpa)

#3750, @ and ~ operator not always schema qualified in geometry and raster functions. Causes restore issues. (Shane StClair of Axiom Data Science)

#3682, Strange fieldlength for boolean in result of pgsql2shp

#3701, Escape double quotes issue in pgsql2shp

#3704, ST_AsX3D crashes on empty geometry

#3730, Change ST_Clip from Error to Notice when ST_Clip can't compute a band

A.33. Release 2.3.2

Release date: 2017/01/31

This is a bug fix and performance improvement release.

Bug Fixes and Enhancements

#3418, KNN recheck in 9.5+ fails with index returned tuples in wrong order

#3675, Relationship functions not using an index in some cases

#3680, PostGIS upgrade scripts missing GRANT for views

#3683, Unable to update postgis after postgres pg_upgrade going from < 9.5 to pg > 9.4

#3688, ST_AsLatLonText: round minutes

A.34. Release 2.3.1

Release date: 2016/11/28

This is a bug fix and performance improvement release.

Bug Fixes and Enhancements

#1973, st_concavehull() returns sometimes empty geometry collection Fix from gde

#3501, add raster constraint max extent exceeds array size limit for large tables

#3643, PostGIS not building on latest OSX XCode

#3644, Deadlock on interrupt

#3650, Mark ST_Extent, ST_3DExtent and ST_Mem* agg functions as parallel safe so they can be parallelized

#3652, Crash on Collection(MultiCurve())

#3656, Fix upgrade of aggregates from 2.2 or lower version

#3659, Crash caused by raster GUC define after CREATE EXTENSION using wrong memory context. (manaeem)

#3665, Index corruption and memory leak in BRIN indexes patch from Julien Rouhaud (Dalibo)

#3667, geography ST_Segmentize bug patch from Hugo Mercier (Oslandia)

A.35. Release 2.3.0

Release date: 2016/09/26

This is a new feature release, with new functions, improved performance, all relevant bug fixes from PostGIS 2.2.3,and other goodies.

Important / Breaking Changes

#3466, Casting from box3d to geometry now returns a 3D geometry (Julien Rouhaud of Dalibo)

#3396, ST_EstimatedExtent, throw WARNING instead of ERROR (Regina Obe)

New Features

Add support for custom TOC in postgis_restore.pl (Christoph Moench-Tegeder)

Add support for negative indexing in ST_PointN and ST_SetPoint (Rémi Cura)

Add parameters for geography ST_Buffer (Thomas Bonfort)

TopoGeom_addElement, TopoGeom_remElement (Sandro Santilli)

populate_topology_layer (Sandro Santilli)

#454, ST_WrapX and lwgeom_wrapx (Sandro Santilli)

#1758, ST_Normalize (Sandro Santilli)

#2236, shp2pgsql -d now emits "DROP TABLE IF EXISTS"

#2259, ST_VoronoiPolygons and ST_VoronoiLines (Dan Baston)

#2841 and #2996, ST_MinimumBoundingRadius and new ST_MinimumBoundingCircle implementation using Welzl's algorithm (Dan Baston)

#2991, Enable ST_Transform to use PROJ.4 text (Mike Toews)

#3059, Allow passing per-dimension parameters in ST_Expand (Dan Baston)

#3339, ST_GeneratePoints (Paul Ramsey)

#3362, ST_ClusterDBSCAN (Dan Baston)

#3364, ST_GeometricMedian (Dan Baston)

#3391, Add table inheritance support in ST_EstimatedExtent (Alessandro Pasotti)

#3424, ST_MinimumClearance (Dan Baston)

#3428, ST_Points (Dan Baston)

#3465, ST_ClusterKMeans (Paul Ramsey)

#3469, ST_MakeLine with MULTIPOINTs (Paul Norman)

#3549, Support PgSQL 9.6 parallel query mode, as far as possible (Paul Ramsey, Regina Obe)

#3557, Geometry function costs based on query stats (Paul Norman)

#3591, Add support for BRIN indexes. PostgreSQL 9.4+ required. (Giuseppe Broccolo of 2nd Quadrant, Julien Rouhaud and Ronan Dunklau of Dalibo)

#3496, Make postgis non-relocateable for extension install, schema qualify calls in functions (Regina Obe) Should resolve once and for all for extensions #3494, #3486, #3076

#3547, Update tiger geocoder to support TIGER 2016 and to support both http and ftp.

#3613, Segmentize geography using equal length segments (Hugo Mercier of Oslandia)

Bug Fixes

All relevant bug fixes from PostGIS 2.2.3

#2841, ST_MinimumBoundingCircle not covering original

#3604, pgcommon/Makefile.in orders CFLAGS incorrectly leading to wrong liblwgeom.h (Greg Troxel)

Performance Enhancements

#75, Enhancement to PIP short circuit (Dan Baston)

#3383, Avoid deserializing small geometries during index operations (Dan Baston)

#3400, Minor optimization of PIP routines (Dan Baston)

Make adding a line to topology interruptible (Sandro Santilli)

Documentation updates from Mike Toews

A.36. Release 2.2.2

Release date: 2016/03/22

This is a bug fix and performance improvement release.

New Features

#3463, Fix crash on face-collapsing edge change

#3422, Improve ST_Split robustness on standard precision double systems (arm64, ppc64el, s390c, powerpc, ...)

#3427, Update spatial_ref_sys to EPSG version 8.8

#3433, ST_ClusterIntersecting incorrect for MultiPoints

#3435, ST_AsX3D fix rendering of concave geometries

#3436, memory handling mistake in ptarray_clone_deep

#3437, ST_Intersects incorrect for MultiPoints

#3461, ST_GeomFromKML crashes Postgres when there are innerBoundaryIs and no outerBoundaryIs

#3429, upgrading to 2.3 or from 2.1 can cause loop/hang on some platforms

#3460, ST_ClusterWithin 'Tolerance not defined' error after upgrade

#3490, Raster data restore issues, materialized views. Scripts postgis_proc_set_search_path.sql, rtpostgis_proc_set_search_path.sql refer to http://postgis.net/docs/manual-2.2/RT_FAQ.html#faq_raster_data_not_restore

#3426, failing POINT EMPTY tests on fun architectures

A.37. Release 2.2.1

Release date: 2016/01/06

This is a bug fix and performance improvement release.

New Features

#2232, avoid accumulated error in SVG rounding

#3321, Fix performance regression in topology loading

#3329, Fix robustness regression in TopoGeo_addPoint

#3349, Fix installation path of postgis_topology scripts

#3351, set endnodes isolation on ST_RemoveIsoEdge (and lwt_RemIsoEdge)

#3355, geography ST_Segmentize has geometry bbox

#3359, Fix toTopoGeom loss of low-id primitives from TopoGeometry definition

#3360, _raster_constraint_info_scale invalid input syntax

#3375, crash in repeated point removal for collection(point)

#3378, Fix handling of hierarchical TopoGeometries in presence of multiple topologies

#3380, #3402, Decimate lines on topology load

#3388, #3410, Fix missing end-points in ST_Removepoints

#3389, Buffer overflow in lwgeom_to_geojson

#3390, Compilation under Alpine Linux 3.2 gives an error when compiling the postgis and postgis_topology extension

#3393, ST_Area NaN for some polygons

#3401, Improve ST_Split robustness on 32bit systems

#3404, ST_ClusterWithin crashes backend

#3407, Fix crash on splitting a face or an edge defining multiple TopoGeometry objects

#3411, Clustering functions not using spatial index

#3412, Improve robustness of snapping step in TopoGeo_addLinestring

#3415, Fix OSX 10.9 build under pkgsrc

Fix memory leak in lwt_ChangeEdgeGeom [liblwgeom]

A.38. Release 2.2.0

Release date: 2015/10/07

This is a new feature release, with new functions, improved performance, and other goodies.

New Features

Topology API in liblwgeom (Sandro Santilli / Regione Toscana - SITA)

New lwgeom_unaryunion method in liblwgeom

New lwgeom_linemerge method in liblwgeom

New lwgeom_is_simple method in liblwgeom

#3169 , Add SFCGAL 1.1 support: add ST_3DDifference, ST_3DUnion, ST_Volume, ST_MakeSolid, ST_IsSolid (Vincent Mora / Oslandia)

#3169 , ST_ApproximateMedialAxis (Sandro Santilli)

ST_CPAWithin (Sandro Santilli / Boundless)

Add |=| operator with CPA semantic and KNN support with PgSQL 9.5+ (Sandro Santilli / Boundless)

#3131 , KNN support for the geography type (Paul Ramsey / CartoDB)

#3023 , ST_ClusterIntersecting / ST_ClusterWithin (Dan Baston)

#2703 , Exact KNN results for all geometry types, aka "KNN re-check" (Paul Ramsey / CartoDB)

#1137 , Allow a tolerance value in ST_RemoveRepeatedPoints (Paul Ramsey / CartoDB)

#3062 , Allow passing M factor to ST_Scale (Sandro Santilli / Boundless)

#3139 , ST_BoundingDiagonal (Sandro Santilli / Boundless)

#3129 , ST_IsValidTrajectory (Sandro Santilli / Boundless)

#3128 , ST_ClosestPointOfApproach (Sandro Santilli / Boundless)

#3152 , ST_DistanceCPA (Sandro Santilli / Boundless)

Canonical output for index key types

ST_SwapOrdinates (Sandro Santilli / Boundless)

#2918 , Use GeographicLib functions for geodetics (Mike Toews)

#3074 , ST_Subdivide to break up large geometry (Paul Ramsey / CartoDB)

#3040 , KNN GiST index based centroid (<<->>) n-D distance operators (Sandro Santilli / Boundless)

Interruptibility API for liblwgeom (Sandro Santilli / CartoDB)

#2939 , ST_ClipByBox2D (Sandro Santilli / CartoDB)

#2247 , ST_Retile and ST_CreateOverview: in-db raster overviews creation (Sandro Santilli / Vizzuality)

#899 , -m shp2pgsql attribute names mapping -m switch (Regina Obe / Sandro Santilli)

#1678 , Added GUC postgis.gdal_datapath to specify GDAL config variable GDAL_DATA

#2843 , Support reprojection on raster import (Sandro Santilli / Vizzuality)

#2349 , Support for encoded_polyline input/output (Kashif Rasul)

#2159 , report libjson version from postgis_full_version()

#2770 , ST_MemSize(raster)

Add postgis_noop(raster)

Added missing variants of ST_TPI(), ST_TRI() and ST_Roughness()

Added GUC postgis.gdal_enabled_drivers to specify GDAL config variable GDAL_SKIP

Added GUC postgis.enable_outdb_rasters to enable access to rasters with out-db bands

#2387 , address_standardizer extension as part of PostGIS (Stephen Woodbridge / imaptools.com, Walter Sinclair, Regina Obe)

#2816 , address_standardizer_data_us extension provides reference lex,gaz,rules for address_standardizer (Stephen Woodbridge / imaptools.com, Walter Sinclair, Regina Obe)

#2341 , New mask parameter for ST_MapAlgebra

#2397 , read encoding info automatically in shapefile loader

#2430 , ST_ForceCurve

#2565 , ST_SummaryStatsAgg()

#2567 , ST_CountAgg()

#2632 , ST_AsGML() support for curved features

#2652 , Add --upgrade-path switch to run_test.pl

#2754 , sfcgal wrapped as an extension

#2227 , Simplification with Visvalingam-Whyatt algorithm ST_SimplifyVW, ST_SetEffectiveArea (Nicklas Avén)

Functions to encode and decode TWKB ST_AsTWKB, ST_GeomFromTWKB (Paul Ramsey / Nicklas Avén / CartoDB)

Enhancements

#3223 , Add memcmp short-circuit to ST_Equals (Daniel Baston)

#3227 , Tiger geocoder upgraded to support Tiger 2015 census

#2278 , Make liblwgeom compatible between minor releases

#897 , ST_AsX3D support for GeoCoordinates and systems "GD" "WE" ability to flip x/y axis (use option = 2, 3)

ST_Split: allow splitting lines by multilines, multipoints and (multi)polygon boundaries

#3070 , Simplify geometry type constraint

#2839 , Implement selectivity estimator for functional indexes, speeding up spatial queries on raster tables. (Sandro Santilli / Vizzuality)

#2361 , Added spatial_index column to raster_columns view

#2390 , Testsuite for pgsql2shp

#2527 , Added -k flag to raster2pgsql to skip checking that band is NODATA

#2616 , Reduce text casts during topology building and export

#2717 , support startpoint, endpoint, pointn, numpoints for compoundcurve

#2747 , Add support for GDAL 2.0

#2754 , SFCGAL can now be installed with CREATE EXTENSION (Vincent Mora @ Oslandia)

#2828 , Convert ST_Envelope(raster) from SQL to C

#2829 , Shortcut ST_Clip(raster) if geometry fully contains the raster and no NODATA specified

#2906 , Update tiger geocoder to handle tiger 2014 data

#3048 , Speed up geometry simplification (J.Santana @ CartoDB)

#3092 , Slow performance of geometry_columns with many tables

A.39. Release 2.1.8

Release date: 2015-07-07

This is a critical bug fix release.

Bug Fixes

#3159, do not force a bbox cache on ST_Affine

#3018, GROUP BY geography sometimes returns duplicate rows

#3084, shp2pgsql - illegal number format when specific system locale set

#3094, Malformed GeoJSON inputs crash backend

#3104, st_asgml introduces random characters in ID field

#3155, Remove liblwgeom.h on make uninstall

#3177, gserialized_is_empty cannot handle nested empty cases

Fix crash in ST_LineLocatePoint

A.40. Release 2.1.7

Release date: 2015-03-30

This is a critical bug fix release.

Bug Fixes

#3086, ST_DumpValues() crashes backend on cleanup with invalid band indexes

#3088, Do not (re)define strcasestr in a liblwgeom.h

#3094, Malformed GeoJSON inputs crash backend

A.41. Release 2.1.6

Release date: 2015-03-20

This is a bug fix and performance improvement release.

Enhancements

#3000, Ensure edge splitting and healing algorithms use indexes

#3048, Speed up geometry simplification (J.Santana @ CartoDB)

#3050, Speed up geometry type reading (J.Santana @ CartoDB)

Bug Fixes

#2941, allow geography columns with SRID other than 4326

#3069, small objects getting inappropriately fluffed up w/ boxes

#3068, Have postgis_typmod_dims return NULL for unconstrained dims

#3061, Allow duplicate points in JSON, GML, GML ST_GeomFrom* functions

#3058, Fix ND-GiST picksplit method to split on the best plane

#3052, Make operators <-> and <#> available for PostgreSQL < 9.1

#3045, Fix dimensionality confusion in &&& operator

#3016, Allow unregistering layers of corrupted topologies

#3015, Avoid exceptions from TopologySummary

#3020, ST_AddBand out-db bug where height using width value

#3031, Allow restore of Geometry(Point) tables dumped with empties in them

A.42. Release 2.1.5

Release date: 2014-12-18

This is a bug fix and performance improvement release.

Enhancements

#2933 , Speedup construction of large multi-geometry objects

Bug Fixes

#2947 , Fix memory leak in lwgeom_make_valid for single-component collection input

#2949 , Fix memory leak in lwgeom_mindistance2d for curve input

#2931 , BOX representation is case sensitive

#2942 , PostgreSQL 9.5 support

#2953 , 2D stats not generated when Z/M values are extreme

#3009 , Geography cast may effect underlying tuple

A.43. Release 2.1.4

Release date: 2014-09-10

This is a bug fix and performance improvement release.

Enhancements

#2745 , Speedup ST_Simplify calls against points

#2747 , Support for GDAL 2.0

#2749 , Make rtpostgis_upgrade_20_21.sql ACID

#2811 , Do not specify index names when loading shapefiles/rasters

#2829 , Shortcut ST_Clip(raster) if geometry fully contains the raster and no NODATA specified

#2895 , Raise cost of ST_ConvexHull(raster) to 300 for better query plans

Bug Fixes

#2605 , armel: _ST_Covers() returns true for point in hole

#2911 , Fix output scale on ST_Rescale/ST_Resample/ST_Resize of rasters with scale 1/-1 and offset 0/0.

Fix crash in ST_Union(raster)

#2704 , ST_GeomFromGML() does not work properly with array of gml:pos (Even Roualt)

#2708 , updategeometrysrid doesn't update srid check when schema not specified. Patch from Marc Jansen

#2720 , lwpoly_add_ring should update maxrings after realloc

#2759 , Fix postgis_restore.pl handling of multiline object comments embedding sql comments

#2774 , fix undefined behavior in ptarray_calculate_gbox_geodetic

Fix potential memory fault in ST_MakeValid

#2784 , Fix handling of bogus argument to --with-sfcgal

#2772 , Premature memory free in RASTER_getBandPath (ST_BandPath)

#2755 , Fix regressions tests against all versions of SFCGAL

#2775 , lwline_from_lwmpoint leaks memory

#2802 , ST_MapAlgebra checks for valid callback function return value

#2803 , ST_MapAlgebra handles no userarg and STRICT callback function

#2834 , ST_Estimated_Extent and mixedCase table names (regression bug)

#2845 , Bad geometry created from ST_AddPoint

#2870 , Binary insert into geography column results geometry being inserted

#2872 , make install builds documentation (Greg Troxell)

#2819 , find isfinite or replacement on Centos5 / Solaris

#2899 , geocode limit 1 not returning best answer (tiger geocoder)

#2903 , Unable to compile on FreeBSD

#2927 reverse_geocode not filling in direction prefix (tiger geocoder) get rid of deprecated ST_Line_Locate_Point called

A.44. Release 2.1.3

Release date: 2014/05/13

This is a bug fix and security release.

Important changes

Starting with this version offline raster access and use of GDAL drivers are disabled by default.

An environment variable is introduced to allow for enabling specific GDAL drivers: POSTGIS_GDAL_ENABLED_DRIVERS. By default, all GDAL drivers are disabled

An environment variable is introduced to allow for enabling out-db raster bands: POSTGIS_ENABLE_OUTDB_RASTERS. By default, out-db raster bands are disabled

The environment variables must be set for the PostgreSQL process, and determines the behavior of the whole cluster.

Bug Fixes

#2697 , invalid GeoJSON Polygon input crashes server process

#2700 , Fix dumping of higher-dimension datasets with null rows

#2706 , ST_DumpPoints of EMPTY geometries crashes server

A.45. Release 2.1.2

Release date: 2014/03/31

This is a bug fix release, addressing issues that have been filed since the 2.1.1 release.

Bug Fixes

#2666 , Error out at configure time if no SQL preprocessor can be found

#2534 , st_distance returning incorrect results for large geographies

#2539 , Check for json-c/json.h presence/usability before json/json.h

#2543 , invalid join selectivity error from simple query

#2546 , GeoJSON with string coordinates parses incorrectly

#2547 , Fix ST_Simplify(TopoGeometry) for hierarchical topogeoms

#2552 , Fix NULL raster handling in ST_AsPNG, ST_AsTIFF and ST_AsJPEG

#2555 , Fix parsing issue of range arguments of ST_Reclass

#2556 , geography ST_Intersects results depending on insert order

#2580 , Do not allow installing postgis twice in the same database

#2589 , Remove use of unnecessary void pointers

#2607 , Cannot open more than 1024 out-db files in one process

#2610 , Ensure face splitting algorithm uses the edge index

#2615 , EstimatedExtent (and hence, underlying stats) gathering wrong bbox

#2619 , Empty rings array in GeoJSON polygon causes crash

#2634 , regression in sphere distance code

#2638 , Geography distance on M geometries sometimes wrong

#2648 , #2653 , Fix topology functions when "topology" is not in search_path

#2654 , Drop deprecated calls from topology

#2655 , Let users without topology privileges call postgis_full_version()

#2674 , Fix missing operator = and hash_raster_ops opclass on raster

#2675 , #2534 , #2636 , #2634 , #2638 , Geography distance issues with tree optimization

Enhancements

#2494 , avoid memcopy in GiST index (hayamiz)

#2560 , soft upgrade: avoid drop/recreate of aggregates that hadn't changed

A.46. Release 2.1.1

Release date: 2013/11/06

This is a bug fix release, addressing issues that have been filed since the 2.1.0 release.

Important Changes

#2514 , Change raster license from GPL v3+ to v2+, allowing distribution of PostGIS Extension as GPLv2.

Bug Fixes

#2396 , Make regression tests more endian-agnostic

#2434 , Fix ST_Intersection(geog,geog) regression in rare cases

#2454 , Fix behavior of ST_PixelAsXXX functions regarding exclude_nodata_value parameter

#2489 , Fix upgrades from 2.0 leaving stale function signatures

#2525 , Fix handling of SRID in nested collections

#2449 , Fix potential infinite loop in index building

#2493 , Fix behavior of ST_DumpValues when passed an empty raster

#2502 , Fix postgis_topology_scripts_installed() install schema

#2504 , Fix segfault on bogus pgsql2shp call

#2512 , Support for foreign tables and materialized views in raster_columns and raster_overviews

Enhancements

#2478 , support for tiger 2013

#2463 , support for exact length calculations on arc geometries

A.47. Release 2.1.0

Release date: 2013/08/17

This is a minor release addressing both bug fixes and performance and functionality enhancements addressing issues since 2.0.3 release. If you are upgrading from 2.0+, only a soft upgrade is required. If you are upgrading from 1.5 or earlier, a hard upgrade is required.

Important / Breaking Changes

#1653 , Removed srid parameter from ST_Resample(raster) and variants with reference raster no longer apply reference raster's SRID.

#1962 ST_Segmentize - As a result of the introduction of geography support, The construct: SELECT ST_Segmentize('LINESTRING(1 2, 3 4)',0.5); will result in ambiguous function error

#2026 , ST_Union(raster) now unions all bands of all rasters

#2089 , liblwgeom: lwgeom_set_handlers replaces lwgeom_init_allocators.

#2150 , regular_blocking is no longer a constraint. column of same name in raster_columns now checks for existance of spatially_unique and coverage_tile constraints

ST_Intersects(raster, geometry) behaves in the same manner as ST_Intersects(geometry, raster).

point variant of ST_SetValue(raster) previously did not check SRID of input geometry and raster.

ST_Hillshade parameters azimuth and altitude are now in degrees instead of radians.

ST_Slope and ST_Aspect return pixel values in degrees instead of radians.

#2104 , ST_World2RasterCoord, ST_World2RasterCoordX and ST_World2RasterCoordY renamed to ST_WorldToRasterCoord, ST_WorldToRasterCoordX and ST_WorldToRasterCoordY. ST_Raster2WorldCoord, ST_Raster2WorldCoordX and ST_Raster2WorldCoordY renamed to ST_RasterToWorldCoord, ST_RasterToWorldCoordX and ST_RasterToWorldCoordY

ST_Estimated_Extent renamed to ST_EstimatedExtent

ST_Line_Interpolate_Point renamed to ST_LineInterpolatePoint

ST_Line_Substring renamed to ST_LineSubstring

ST_Line_Locate_Point renamed to ST_LineLocatePoint

ST_Force_XXX renamed to ST_ForceXXX

ST_MapAlgebraFctNgb and 1 and 2 raster variants of ST_MapAlgebraFct. Use ST_MapAlgebra instead

1 and 2 raster variants of ST_MapAlgebraExpr. Use expression variants of ST_MapAlgebra instead

New Features

- Refer to http://postgis.net/docs/manual-2.1/PostGIS_Special_Functions_Index.html#NewFunctions_2_1 for complete list of new functions

#310 , ST_DumpPoints converted to a C function (Nathan Wagner) and much faster

#739 , UpdateRasterSRID()

#945 , improved join selectivity, N-D selectivity calculations, user accessible selectivity and stats reader functions for testing (Paul Ramsey / OpenGeo)

toTopoGeom with TopoGeometry sink (Sandro Santilli / Vizzuality)

clearTopoGeom (Sandro Santilli / Vizzuality)

ST_Segmentize(geography) (Paul Ramsey / OpenGeo)

ST_DelaunayTriangles (Sandro Santilli / Vizzuality)

ST_NearestValue, ST_Neighborhood (Bborie Park / UC Davis)

ST_PixelAsPoint, ST_PixelAsPoints (Bborie Park / UC Davis)

ST_PixelAsCentroid, ST_PixelAsCentroids (Bborie Park / UC Davis)

ST_Raster2WorldCoord, ST_World2RasterCoord (Bborie Park / UC Davis)

Additional raster/raster spatial relationship functions (ST_Contains, ST_ContainsProperly, ST_Covers, ST_CoveredBy, ST_Disjoint, ST_Overlaps, ST_Touches, ST_Within, ST_DWithin, ST_DFullyWithin) (Bborie Park / UC Davis)

Added array variants of ST_SetValues() to set many pixel values of a band in one call (Bborie Park / UC Davis)

#1293 , ST_Resize(raster) to resize rasters based upon width/height

#1627 , package tiger_geocoder as a PostgreSQL extension

#1643 , #2076 , Upgrade tiger geocoder to support loading tiger 2011 and 2012 (Regina Obe / Paragon Corporation) Funded by Hunter Systems Group

GEOMETRYCOLLECTION support for ST_MakeValid (Sandro Santilli / Vizzuality)

#1709 , ST_NotSameAlignmentReason(raster, raster)

#1818 , ST_GeomFromGeoHash and friends (Jason Smith (darkpanda))

#1856 , reverse geocoder rating setting for prefer numbered highway name

ST_PixelOfValue (Bborie Park / UC Davis)

Casts to/from PostgreSQL geotypes (point/path/polygon).

Added geomval array variant of ST_SetValues() to set many pixel values of a band using a set of geometries and corresponding values in one call (Bborie Park / UC Davis)

ST_Tile(raster) to break up a raster into tiles (Bborie Park / UC Davis)

#1895 , new r-tree node splitting algorithm (Alex Korotkov)

#2011 , ST_DumpValues to output raster as array (Bborie Park / UC Davis)

#2018 , ST_Distance support for CircularString, CurvePolygon, MultiCurve, MultiSurface, CompoundCurve

#2030 , n-raster (and n-band) ST_MapAlgebra (Bborie Park / UC Davis)

#2193 , Utilize PAGC parser as drop in replacement for tiger normalizer (Steve Woodbridge, Regina Obe)

#2210 , ST_MinConvexHull(raster)

lwgeom_from_geojson in liblwgeom (Sandro Santilli / Vizzuality)

#1687 , ST_Simplify for TopoGeometry (Sandro Santilli / Vizzuality)

#2228 , TopoJSON output for TopoGeometry (Sandro Santilli / Vizzuality)

#2123 , ST_FromGDALRaster

#613 , ST_SetGeoReference with numerical parameters instead of text

#2276 , ST_AddBand(raster) variant for out-db bands

#2280 , ST_Summary(raster)

#2163 , ST_TPI for raster (Nathaniel Clay)

#2164 , ST_TRI for raster (Nathaniel Clay)

#2302 , ST_Roughness for raster (Nathaniel Clay)

#2290 , ST_ColorMap(raster) to generate RGBA bands

#2254 , Add SFCGAL backend support. (Backend selection throught postgis.backend var) Functions available both throught GEOS or SFCGAL: ST_Intersects, ST_3DIntersects, ST_Intersection, ST_Area, ST_Distance, ST_3DDistance New functions available only with SFCGAL backend: ST_3DIntersection, ST_Tesselate, ST_3DArea, ST_Extrude, ST_ForceLHR ST_Orientation, ST_Minkowski, ST_StraightSkeleton postgis_sfcgal_version New function available in PostGIS: ST_ForceSFS (Olivier Courtin and Hugo Mercier / Oslandia)

Enhancements

For detail of new functions and function improvements, please refer to Section 9.12.8, “PostGIS Functions new or enhanced in 2.1” .

Much faster raster ST_Union, ST_Clip and many more function additions operations

For geometry/geography better planner selectivity and a lot more functions.

#823 , tiger geocoder: Make loader_generate_script download portion less greedy

#826 , raster2pgsql no longer defaults to padding tiles. Flag -P can be used to pad tiles

#1363 , ST_AddBand(raster, ...) array version rewritten in C

#1364 , ST_Union(raster, ...) aggregate function rewritten in C

#1655 , Additional default values for parameters of ST_Slope

#1661 , Add aggregate variant of ST_SameAlignment

#1719 , Add support for Point and GeometryCollection ST_MakeValid inputs

#1780 , support ST_GeoHash for geography

#1796 , Big performance boost for distance calculations in geography

#1802 , improved function interruptibility.

#1823 , add parameter in ST_AsGML to use id column for GML 3 output (become mandatory since GML 3.2.1)

#1856 , tiger geocoder: reverse geocoder rating setting for prefer numbered highway name

#1938 , Refactor basic ST_AddBand to add multiple new bands in one call

#1978 , wrong answer when calculating length of a closed circular arc (circle)

#1989 , Preprocess input geometry to just intersection with raster to be clipped

#2021 , Added multi-band support to ST_Union(raster, ...) aggregate function

#2006 , better support of ST_Area(geography) over poles and dateline

#2065 , ST_Clip(raster, ...) now a C function

#2069 , Added parameters to ST_Tile(raster) to control padding of tiles

#2078 , New variants of ST_Slope, ST_Aspect and ST_HillShade to provide solution to handling tiles in a coverage

#2097 , Added RANGE uniontype option for ST_Union(raster)

#2105 , Added ST_Transform(raster) variant for aligning output to reference raster

#2119 , Rasters passed to ST_Resample(), ST_Rescale(), ST_Reskew(), and ST_SnapToGrid() no longer require an SRID

#2141 , More verbose output when constraints fail to be added to a raster column

#2143 , Changed blocksize constraint of raster to allow multiple values

#2148 , Addition of coverage_tile constraint for raster

#2149 , Addition of spatially_unique constraint for raster

TopologySummary output now includes unregistered layers and a count of missing TopoGeometry objects from their natural layer.

ST_HillShade(), ST_Aspect() and ST_Slope() have one new optional parameter to interpolate NODATA pixels before running the operation.

Point variant of ST_SetValue(raster) is now a wrapper around geomval variant of ST_SetValues(rast).

Proper support for raster band's isnodata flag in core API and loader.

Additional default values for parameters of ST_Aspect and ST_HillShade

#2178 , ST_Summary now advertises presence of known srid with an [S] flag

#2202 , Make libjson-c optional (--without-json configure switch)

#2213 , Add support libjson-c 0.10+

#2231 , raster2pgsql supports user naming of filename column with -n

#2200 , ST_Union(raster, uniontype) unions all bands of all rasters

#2264 , postgis_restore.pl support for restoring into databases with postgis in a custom schema

#2244 , emit warning when changing raster's georeference if raster has out-db bands

#2222 , add parameter OutAsIn to flag whether ST_AsBinary should return out-db bands as in-db bands

Fixes

#1839 , handling of subdatasets in GeoTIFF in raster2pgsql.

#1840 , fix logic of when to compute # of tiles in raster2pgsql.

#1870 , align the docs and actual behavior of raster's ST_Intersects

#1872 , fix ST_ApproxSummarystats to prevent division by zero

#1875 , ST_SummaryStats returns NULL for all parameters except count when count is zero

#1932 , fix raster2pgsql of syntax for index tablespaces

#1936 , ST_GeomFromGML on CurvePolygon causes server crash

#1939 , remove custom data types: summarystats, histogram, quantile, valuecount

#1951 , remove crash on zero-length linestrings

#1957 , ST_Distance to a one-point LineString returns NULL

#1976 , Geography point-in-ring code overhauled for more reliability

#1981 , cleanup of unused variables causing warnings with gcc 4.6+

#1996 , support POINT EMPTY in GeoJSON output

#2062 , improve performance of distance calculations

#2057 , Fixed linking issue for raster2psql to libpq

#2077 , Fixed incorrect values returning from ST_Hillshade()

#2019 , ST_FlipCoordinates does not update bbox

#2100 , ST_AsRaster may not return raster with specified pixel type

#2126 , Better handling of empty rasters from ST_ConvexHull()

#2165 , ST_NumPoints regression failure with CircularString

#2168 , ST_Distance is not always commutative

#2182 , Fix issue with outdb rasters with no SRID and ST_Resize

#2188 , Fix function parameter value overflow that caused problems when copying data from a GDAL dataset

#2198 , Fix incorrect dimensions used when generating bands of out-db rasters in ST_Tile()

#2201 , ST_GeoHash wrong on boundaries

#2203 , Changed how rasters with unknown SRID and default geotransform are handled when passing to GDAL Warp API

#2215 , Fixed raster exclusion constraint for conflicting name of implicit index

#2251 , Fix bad dimensions when rescaling rasters with default geotransform matrix

#2133 , Fix performance regression in expression variant of ST_MapAlgebra

#2257 , GBOX variables not initialized when testing with empty geometries

#2271 , Prevent parallel make of raster

#2282 , Fix call to undefined function nd_stats_to_grid() in debug mode

#2307 , ST_MakeValid outputs invalid geometries

#2309 , Remove confusing INFO message when trying to get SRS info

#2336 , FIPS 20 (KS) causes wildcard expansion to wget all files

#2348 , Provide raster upgrade path for 2.0 to 2.1

#2351 , st_distance between geographies wrong

#2359 , Fix handling of schema name when adding overview constraints

#2371 , Support GEOS versions with more than 1 digit in micro

#2383 , Remove unsafe use of \' from raster warning message

#2384 , Incorrect variable datatypes for ST_Neighborhood

Known Issues

#2111 , Raster bands can only reference the first 256 bands of out-db rasters

A.48. Release 2.0.5

Release date: 2014/03/31

This is a bug fix release, addressing issues that have been filed since the 2.0.4 release. If you are using PostGIS 2.0+ a soft upgrade is required. For users of PostGIS 1.5 or below, a hard upgrade is required.

Bug Fixes

#2494 , avoid memcpy in GIST index

#2502 , Fix postgis_topology_scripts_installed() install schema

#2504 , Fix segfault on bogus pgsql2shp call

#2528 , Fix memory leak in ST_Split / lwline_split_by_line

#2532 , Add missing raster/geometry commutator operators

#2533 , Remove duplicated signatures

#2552 , Fix NULL raster handling in ST_AsPNG, ST_AsTIFF and ST_AsJPEG

#2555 , Fix parsing issue of range arguments of ST_Reclass

#2589 , Remove use of unnecessary void pointers

#2607 , Cannot open more than 1024 out-db files in process

#2610 , Ensure face splitting algorithm uses the edge index

#2619 , Empty ring array in GeoJSON polygon causes crash

#2638 , Geography distance on M geometries sometimes wrong

Important Changes

# #2514 , Change raster license from GPL v3+ to v2+, allowing distribution of PostGIS Extension as GPLv2.

A.49. Release 2.0.4

Release date: 2013/09/06

This is a bug fix release, addressing issues that have been filed since the 2.0.3 release. If you are using PostGIS 2.0+ a soft upgrade is required. For users of PostGIS 1.5 or below, a hard upgrade is required.

Bug Fixes

#2110 , Equality operator between EMPTY and point on origin

Allow adding points at precision distance with TopoGeo_addPoint

#1968 , Fix missing edge from toTopoGeom return

#2165 , ST_NumPoints regression failure with CircularString

#2168 , ST_Distance is not always commutative

#2186 , gui progress bar updates too frequent

#2201 , ST_GeoHash wrong on boundaries

#2257 , GBOX variables not initialized when testing with empty geometries

#2271 , Prevent parallel make of raster

#2267 , Server crash from analyze table

#2277 , potential segfault removed

#2307 , ST_MakeValid outputs invalid geometries

#2351 , st_distance between geographies wrong

#2359 , Incorrect handling of schema for overview constraints

#2371 , Support GEOS versions with more than 1 digit in micro

#2372 , Cannot parse space-padded KML coordinates

Fix build with systemwide liblwgeom installed

#2383 , Fix unsafe use of \' in warning message

#2410 , Fix segmentize of collinear curve

#2412 , ST_LineToCurve support for lines with less than 4 vertices

#2415 , ST_Multi support for COMPOUNDCURVE and CURVEPOLYGON

#2420 , ST_LineToCurve: require at least 8 edges to define a full circle

#2423 , ST_LineToCurve: require all arc edges to form the same angle

#2424 , ST_CurveToLine: add support for COMPOUNDCURVE in MULTICURVE

#2427 , Make sure to retain first point of curves on ST_CurveToLine

Enhancements

#2269 , Avoid uselessly detoasting full geometries on ANALYZE

Known Issues

#2111 , Raster bands can only reference the first 256 bands of out-db rasters

A.50. Release 2.0.3

Release date: 2013/03/01

This is a bug fix release, addressing issues that have been filed since the 2.0.2 release. If you are using PostGIS 2.0+ a soft upgrade is required. For users of PostGIS 1.5 or below, a hard upgrade is required.

Bug Fixes

#2126 , Better handling of empty rasters from ST_ConvexHull()

#2134 , Make sure to process SRS before passing it off to GDAL functions

Fix various memory leaks in liblwgeom

#2173 , Fix robustness issue in splitting a line with own vertex also affecting topology building ( #2172 )

#2174 , Fix usage of wrong function lwpoly_free()

#2176 , Fix robustness issue with ST_ChangeEdgeGeom

#2184 , Properly copy topologies with Z value

postgis_restore.pl support for mixed case geometry column name in dumps

#2188 , Fix function parameter value overflow that caused problems when copying data from a GDAL dataset

#2216 , More memory errors in MultiPolygon GeoJSON parsing (with holes)

Fix Memory leak in GeoJSON parser

Enhancements

#2141 , More verbose output when constraints fail to be added to a raster column

Speedup ST_ChangeEdgeGeom

A.51. Release 2.0.2

Release date: 2012/12/03

This is a bug fix release, addressing issues that have been filed since the 2.0.1 release.

Bug Fixes

#1287 , Drop of "gist_geometry_ops" broke a few clients package of legacy_gist.sql for these cases

#1391 , Errors during upgrade from 1.5

#1828 , Poor selectivity estimate on ST_DWithin

#1838 , error importing tiger/line data

#1869 , ST_AsBinary is not unique added to legacy_minor/legacy.sql scripts

#1885 , Missing field from tabblock table in tiger2010 census_loader.sql

#1891 , Use LDFLAGS environment when building liblwgeom

#1900 , Fix pgsql2shp for big-endian systems

#1932 , Fix raster2pgsql for invalid syntax for setting index tablespace

#1936 , ST_GeomFromGML on CurvePolygon causes server crash

#1955 , ST_ModEdgeHeal and ST_NewEdgeHeal for doubly connected edges

#1957 , ST_Distance to a one-point LineString returns NULL

#1976 , Geography point-in-ring code overhauled for more reliability

#1978 , wrong answer calculating length of closed circular arc (circle)

#1981 , Remove unused but set variables as found with gcc 4.6+

#1987 , Restore 1.5.x behaviour of ST_Simplify

#1989 , Preprocess input geometry to just intersection with raster to be clipped

#1991 , geocode really slow on PostgreSQL 9.2

#1996 , support POINT EMPTY in GeoJSON output

#1998 , Fix ST_{Mod,New}EdgeHeal joining edges sharing both endpoints

#2001 , ST_CurveToLine has no effect if the geometry doesn't actually contain an arc

#2015 , ST_IsEmpty('POLYGON(EMPTY)') returns False

#2019 , ST_FlipCoordinates does not update bbox

#2025 , Fix side location conflict at TopoGeo_AddLineString

#2026 , improve performance of distance calculations

#2033 , Fix adding a splitting point into a 2.5d topology

#2051 , Fix excess of precision in ST_AsGeoJSON output

#2052 , Fix buffer overflow in lwgeom_to_geojson

#2056 , Fixed lack of SRID check of raster and geometry in ST_SetValue()

#2057 , Fixed linking issue for raster2psql to libpq

#2060 , Fix "dimension" check violation by GetTopoGeomElementArray

#2072 , Removed outdated checks preventing ST_Intersects(raster) from working on out-db bands

#2077 , Fixed incorrect answers from ST_Hillshade(raster)

#2092 , Namespace issue with ST_GeomFromKML,ST_GeomFromGML for libxml 2.8+

#2099 , Fix double free on exception in ST_OffsetCurve

#2100 , ST_AsRaster() may not return raster with specified pixel type

#2108 , Ensure ST_Line_Interpolate_Point always returns POINT

#2109 , Ensure ST_Centroid always returns POINT

#2117 , Ensure ST_PointOnSurface always returns POINT

#2129 , Fix SRID in ST_Homogenize output with collection input

#2130 , Fix memory error in MultiPolygon GeoJson parsing

Update URL of Maven jar

Enhancements

#1581 , ST_Clip(raster, ...) no longer imposes NODATA on a band if the corresponding band from the source raster did not have NODATA

#1928 , Accept array properties in GML input multi-geom input (Kashif Rasul and Shoaib Burq / SpacialDB)

#2082 , Add indices on start_node and end_node of topology edge tables

#2087 , Speedup topology.GetRingEdges using a recursive CTE

A.52. Release 2.0.1

Release date: 2012/06/22

This is a bug fix release, addressing issues that have been filed since the 2.0.0 release.

Bug Fixes

#1264 , fix st_dwithin(geog, geog, 0).

#1468 shp2pgsql-gui table column schema get shifted

#1694 , fix building with clang. (vince)

#1708 , improve restore of pre-PostGIS 2.0 backups.

#1714 , more robust handling of high topology tolerance.

#1755 , ST_GeographyFromText support for higher dimensions.

#1759 , loading transformed shapefiles in raster enabled db.

#1761 , handling of subdatasets in NetCDF, HDF4 and HDF5 in raster2pgsql.

#1763 , topology.toTopoGeom use with custom search_path.

#1766 , don't let ST_RemEdge* destroy peripheral TopoGeometry objects.

#1774 , Clearer error on setting an edge geometry to an invalid one.

#1775 , ST_ChangeEdgeGeom collision detection with 2-vertex target.

#1776 , fix ST_SymDifference(empty, geom) to return geom.

#1779 , install SQL comment files.

#1782 , fix spatial reference string handling in raster.

#1789 , fix false edge-node crossing report in ValidateTopology.

#1790 , fix toTopoGeom handling of duplicated primitives.

#1791 , fix ST_Azimuth with very close but distinct points.

#1797 , fix (ValidateTopology(xxx)).* syntax calls.

#1805 , put back the 900913 SRID entry.

#1813 , Only show readable relations in metadata tables.

#1819 , fix floating point issues with ST_World2RasterCoord and ST_Raster2WorldCoord variants.

#1820 compilation on 9.2beta1.

#1822 , topology load on PostgreSQL 9.2beta1.

#1825 , fix prepared geometry cache lookup

#1829 , fix uninitialized read in GeoJSON parser

#1834 , revise postgis extension to only backup user specified spatial_ref_sys

#1839 , handling of subdatasets in GeoTIFF in raster2pgsql.

#1840 , fix logic of when to compute # of tiles in raster2pgsql.

#1851 , fix spatial_ref_system parameters for EPSG:3844

#1857 , fix failure to detect endpoint mismatch in ST_AddEdge*Face*

#1865 , data loss in postgis_restore.pl when data rows have leading dashes.

#1867 , catch invalid topology name passed to topogeo_add*

#1872 , fix ST_ApproxSummarystats to prevent division by zero

#1873 , fix ptarray_locate_point to return interpolated Z/M values for on-the-line case

#1875 , ST_SummaryStats returns NULL for all parameters except count when count is zero

#1881 , shp2pgsql-gui -- editing a field sometimes triggers removing row

#1883 , Geocoder install fails trying to run create_census_base_tables() (Brian Panulla)

Enhancements

More detailed exception message from topology editing functions.

#1786 , improved build dependencies

#1806 , speedup of ST_BuildArea, ST_MakeValid and ST_GetFaceGeometry.

#1812 , Add lwgeom_normalize in LIBLWGEOM for more stable testing.

A.53. Release 2.0.0

Release date: 2012/04/03

This is a major release. A hard upgrade is required. Yes this means a full dump reload and some special preparations if you are using obsolete functions. Refer to Section 3.4.2, “Hard upgrade” for details on upgrading. Refer to Section 9.12.10, “PostGIS Functions new, behavior changed, or enhanced in 2.0” for more details and changed/new functions.

Testers - Our unsung heroes

We are most indebted to the numerous members in the PostGIS community who were brave enough to test out the new features in this release. No major release can be successful without these folk.

Below are those who have been most valiant, provided very detailed and thorough bug reports, and detailed analysis.

Andrea Peri - Lots of testing on topology, checking for correctness
Andreas Forø Tollefsen - raster testing
Chris English - topology stress testing loader functions
Salvatore Larosa - topology robustness testing
Brian Hamlin - Benchmarking (also experimental experimental branches before they are folded into core) , general testing of various pieces including Tiger and Topology. Testing on various server VMs
Mike Pease - Tiger geocoder testing - very detailed reports of issues
Tom van Tilburg - raster testing

Important / Breaking Changes

#722 , #302 , Most deprecated functions removed (over 250 functions) (Regina Obe, Paul Ramsey)

Unknown SRID changed from -1 to 0. (Paul Ramsey)

-- (most deprecated in 1.2) removed non-ST variants buffer, length, intersects (and internal functions renamed) etc.

-- If you have been using deprecated functions CHANGE your apps or suffer the consequences. If you don't see a function documented -- it ain't supported or it is an internal function. Some constraints in older tables were built with deprecated functions. If you restore you may need to rebuild table constraints with populate_geometry_columns(). If you have applications or tools that rely on deprecated functions, please refer to Q: 7.2 for more details.

#944 geometry_columns is now a view instead of a table (Paul Ramsey, Regina Obe) for tables created the old way reads (srid, type, dims) constraints for geometry columns created with type modifiers reads rom column definition

#1081 , #1082 , #1084 , #1088 - Mangement functions support typmod geometry column creation functions now default to typmod creation (Regina Obe)

#1083 probe_geometry_columns(), rename_geometry_table_constraints(), fix_geometry_columns(); removed - now obsolete with geometry_column view (Regina Obe)

#817 Renaming old 3D functions to the convention ST_3D (Nicklas Avén)

#548 (sorta), ST_NumGeometries,ST_GeometryN now returns 1 (or the geometry) instead of null for single geometries (Sandro Santilli, Maxime van Noppen)

New Features

KNN Gist index based centroid (<->) and box (<#>) distance operators (Paul Ramsey / funded by Vizzuality)

Support for TIN and PolyHedralSurface and enhancement of many functions to support 3D (Olivier Courtin / Oslandia)

Raster support integrated and documented (Pierre Racine, Jorge Arévalo, Mateusz Loskot, Sandro Santilli, David Zwarg, Regina Obe, Bborie Park) (Company developer and funding: University Laval, Deimos Space, CadCorp, Michigan Tech Research Institute, Azavea, Paragon Corporation, UC Davis Center for Vectorborne Diseases)

Making spatial indexes 3D aware - in progress (Paul Ramsey, Mark Cave-Ayland)

Topology support improved (more functions), documented, testing (Sandro Santilli / Faunalia for RT-SIGTA), Andrea Peri, Regina Obe, Jose Carlos Martinez Llari

3D relationship and measurement support functions (Nicklas Avén)

ST_3DDistance, ST_3DClosestPoint, ST_3DIntersects, ST_3DShortestLine and more...

N-Dimensional spatial indexes (Paul Ramsey / OpenGeo)

ST_Split (Sandro Santilli / Faunalia for RT-SIGTA)

ST_IsValidDetail (Sandro Santilli / Faunalia for RT-SIGTA)

ST_MakeValid (Sandro Santilli / Faunalia for RT-SIGTA)

ST_RemoveRepeatedPoints (Sandro Santilli / Faunalia for RT-SIGTA)

ST_GeometryN and ST_NumGeometries support for non-collections (Sandro Santilli)

ST_IsCollection (Sandro Santilli, Maxime van Noppen)

ST_SharedPaths (Sandro Santilli / Faunalia for RT-SIGTA)

ST_Snap (Sandro Santilli)

ST_RelateMatch (Sandro Santilli / Faunalia for RT-SIGTA)

ST_ConcaveHull (Regina Obe and Leo Hsu / Paragon Corporation)

ST_UnaryUnion (Sandro Santilli / Faunalia for RT-SIGTA)

ST_AsX3D (Regina Obe / Arrival 3D funding)

ST_OffsetCurve (Sandro Santilli, Rafal Magda)

ST_GeomFromGeoJSON (Kashif Rasul, Paul Ramsey / Vizzuality funding)

Enhancements

Made shape file loader tolerant of truncated multibyte values found in some free worldwide shapefiles (Sandro Santilli)

Lots of bug fixes and enhancements to shp2pgsql Beefing up regression tests for loaders Reproject support for both geometry and geography during import (Jeff Adams / Azavea, Mark Cave-Ayland)

pgsql2shp conversion from predefined list (Loic Dachary / Mark Cave-Ayland)

Shp-pgsql GUI loader - support loading multiple files at a time. (Mark Leslie)

Extras - upgraded tiger_geocoder from using old TIGER format to use new TIGER shp and file structure format (Stephen Frost)

Extras - revised tiger_geocoder to work with TIGER census 2010 data, addition of reverse geocoder function, various bug fixes, accuracy enhancements, limit max result return, speed improvements, loading routines. (Regina Obe, Leo Hsu / Paragon Corporation / funding provided by Hunter Systems Group)

Overall Documentation proofreading and corrections. (Kasif Rasul)

Cleanup PostGIS JDBC classes, revise to use Maven build. (Maria Arias de Reyna, Sandro Santilli)

Bug Fixes

#1335 ST_AddPoint returns incorrect result on Linux (Even Rouault)

Release specific credits

We thank U.S Department of State Human Information Unit (HIU) and Vizzuality for general monetary support to get PostGIS 2.0 out the door.

A.54. Release 1.5.4

Release date: 2012/05/07

This is a bug fix release, addressing issues that have been filed since the 1.5.3 release.

Bug Fixes

#547 , ST_Contains memory problems (Sandro Santilli)

#621 , Problem finding intersections with geography (Paul Ramsey)

#627 , PostGIS/PostgreSQL process die on invalid geometry (Paul Ramsey)

#810 , Increase accuracy of area calculation (Paul Ramsey)

#852 , improve spatial predicates robustness (Sandro Santilli, Nicklas Avén)

#877 , ST_Estimated_Extent returns NULL on empty tables (Sandro Santilli)

#1028 , ST_AsSVG kills whole postgres server when fails (Paul Ramsey)

#1056 , Fix boxes of arcs and circle stroking code (Paul Ramsey)

#1121 , populate_geometry_columns using deprecated functions (Regin Obe, Paul Ramsey)

#1135 , improve testsuite predictability (Andreas 'ads' Scherbaum)

#1146 , images generator crashes (bronaugh)

#1170 , North Pole intersection fails (Paul Ramsey)

#1179 , ST_AsText crash with bad value (kjurka)

#1184 , honour DESTDIR in documentation Makefile (Bryce L Nordgren)

#1227 , server crash on invalid GML

#1252 , SRID appearing in WKT (Paul Ramsey)

#1264 , st_dwithin(g, g, 0) doesn't work (Paul Ramsey)

#1344 , allow exporting tables with invalid geometries (Sandro Santilli)

#1389 , wrong proj4text for SRID 31300 and 31370 (Paul Ramsey)

#1406 , shp2pgsql crashes when loading into geography (Sandro Santilli)

#1595 , fixed SRID redundancy in ST_Line_SubString (Sandro Santilli)

#1596 , check SRID in UpdateGeometrySRID (Mike Toews, Sandro Santilli)

#1602 , fix ST_Polygonize to retain Z (Sandro Santilli)

#1697 , fix crash with EMPTY entries in GiST index (Paul Ramsey)

#1772 , fix ST_Line_Locate_Point with collapsed input (Sandro Santilli)

#1799 , Protect ST_Segmentize from max_length=0 (Sandro Santilli)

Alter parameter order in 900913 (Paul Ramsey)

Support builds with "gmake" (Greg Troxel)

A.55. Release 1.5.3

Release date: 2011/06/25

This is a bug fix release, addressing issues that have been filed since the 1.5.2 release. If you are running PostGIS 1.3+, a soft upgrade is sufficient otherwise a hard upgrade is recommended.

Bug Fixes

#1056 , produce correct bboxes for arc geometries, fixes index errors (Paul Ramsey)

#1007 , ST_IsValid crash fix requires GEOS 3.3.0+ or 3.2.3+ (Sandro Santilli, reported by Birgit Laggner)

#940 , support for PostgreSQL 9.1 beta 1 (Regina Obe, Paul Ramsey, patch submitted by stl)

#845 , ST_Intersects precision error (Sandro Santilli, Nicklas Avén) Reported by cdestigter

#884 , Unstable results with ST_Within, ST_Intersects (Chris Hodgson)

#779 , shp2pgsql -S option seems to fail on points (Jeff Adams)

#666 , ST_DumpPoints is not null safe (Regina Obe)

#631 , Update NZ projections for grid transformation support (jpalmer)

#630 , Peculiar Null treatment in arrays in ST_Collect (Chris Hodgson) Reported by David Bitner

#624 , Memory leak in ST_GeogFromText (ryang, Paul Ramsey)

#609 , Bad source code in manual section 5.2 Java Clients (simoc, Regina Obe)

#604 , shp2pgsql usage touchups (Mike Toews, Paul Ramsey)

#573 ST_Union fails on a group of linestrings Not a PostGIS bug, fixed in GEOS 3.3.0

#457 ST_CollectionExtract returns non-requested type (Nicklas Avén, Paul Ramsey)

#441 ST_AsGeoJson Bbox on GeometryCollection error (Olivier Courtin)

#411 Ability to backup invalid geometries (Sando Santilli) Reported by Regione Toscana

#409 ST_AsSVG - degraded (Olivier Courtin) Reported by Sdikiy

#373 Documentation syntax error in hard upgrade (Paul Ramsey) Reported by psvensso

A.56. Release 1.5.2

Release date: 2010/09/27

This is a bug fix release, addressing issues that have been filed since the 1.5.1 release. If you are running PostGIS 1.3+, a soft upgrade is sufficient otherwise a hard upgrade is recommended.

Bug Fixes

Loader: fix handling of empty (0-verticed) geometries in shapefiles. (Sandro Santilli)

#536 , Geography ST_Intersects, ST_Covers, ST_CoveredBy and Geometry ST_Equals not using spatial index (Regina Obe, Nicklas Aven)

#573 , Improvement to ST_Contains geography (Paul Ramsey)

Loader: Add support for command-q shutdown in Mac GTK build (Paul Ramsey)

#393 , Loader: Add temporary patch for large DBF files (Maxime Guillaud, Paul Ramsey)

#507 , Fix wrong OGC URN in GeoJSON and GML output (Olivier Courtin)

spatial_ref_sys.sql Add datum conversion for projection SRID 3021 (Paul Ramsey)

Geography - remove crash for case when all geographies are out of the estimate (Paul Ramsey)

#469 , Fix for array_aggregation error (Greg Stark, Paul Ramsey)

#532 , Temporary geography tables showing up in other user sessions (Paul Ramsey)

#562 , ST_Dwithin errors for large geographies (Paul Ramsey)

#513 , shape loading GUI tries to make spatial index when loading DBF only mode (Paul Ramsey)

#527 , shape loading GUI should always append log messages (Mark Cave-Ayland)

#504 , shp2pgsql should rename xmin/xmax fields (Sandro Santilli)

#458 , postgis_comments being installed in contrib instead of version folder (Mark Cave-Ayland)

#474 , Analyzing a table with geography column crashes server (Paul Ramsey)

#581 , LWGEOM-expand produces inconsistent results (Mark Cave-Ayland)

#513 , Add dbf filter to shp2pgsql-gui and allow uploading dbf only (Paul Ramsey)

Fix further build issues against PostgreSQL 9.0 (Mark Cave-Ayland)

#572 , Password whitespace for Shape File (Mark Cave-Ayland)

#603 , shp2pgsql: "-w" produces invalid WKT for MULTI* objects. (Mark Cave-Ayland)

A.57. Release 1.5.1

Release date: 2010/03/11

This is a bug fix release, addressing issues that have been filed since the 1.4.1 release. If you are running PostGIS 1.3+, a soft upgrade is sufficient otherwise a hard upgrade is recommended.

Bug Fixes

#410 , update embedded bbox when applying ST_SetPoint, ST_AddPoint ST_RemovePoint to a linestring (Paul Ramsey)

#411 , allow dumping tables with invalid geometries (Sandro Santilli, for Regione Toscana-SIGTA)

#414 , include geography_columns view when running upgrade scripts (Paul Ramsey)

#419 , allow support for multilinestring in ST_Line_Substring (Paul Ramsey, for Lidwala Consulting Engineers)

#421 , fix computed string length in ST_AsGML() (Olivier Courtin)

#441 , fix GML generation with heterogeneous collections (Olivier Courtin)

#443 , incorrect coordinate reversal in GML 3 generation (Olivier Courtin)

#450 , #451 , wrong area calculation for geography features that cross the date line (Paul Ramsey)

Ensure support for upcoming 9.0 PgSQL release (Paul Ramsey)

A.58. Release 1.5.0

Release date: 2010/02/04

This release provides support for geographic coordinates (lat/lon) via a new GEOGRAPHY type. Also performance enhancements, new input format support (GML,KML) and general upkeep.

API Stability

The public API of PostGIS will not change during minor (0.0.X) releases.

The definition of the =~ operator has changed from an exact geometric equality check to a bounding box equality check.

Compatibility

GEOS, Proj4, and LibXML2 are now mandatory dependencies

The library versions below are the minimum requirements for PostGIS 1.5

PostgreSQL 8.3 and higher on all platforms

GEOS 3.1 and higher only (GEOS 3.2+ to take advantage of all features)

LibXML2 2.5+ related to new ST_GeomFromGML/KML functionality

Proj4 4.5 and higher only

New Features

Section 9.12.12, “PostGIS Functions new, behavior changed, or enhanced in 1.5”

Added Hausdorff distance calculations ( #209 ) (Vincent Picavet)

Added parameters argument to ST_Buffer operation to support one-sided buffering and other buffering styles (Sandro Santilli)

Addition of other Distance related visualization and analysis functions (Nicklas Aven)

  • ST_ClosestPoint

  • ST_DFullyWithin

  • ST_LongestLine

  • ST_MaxDistance

  • ST_ShortestLine

ST_DumpPoints (Maxime van Noppen)

KML, GML input via ST_GeomFromGML and ST_GeomFromKML (Olivier Courtin)

Extract homogeneous collection with ST_CollectionExtract (Paul Ramsey)

Add measure values to an existing linestring with ST_AddMeasure (Paul Ramsey)

History table implementation in utils (George Silva)

Geography type and supporting functions

  • Spherical algorithms (Dave Skea)

  • Object/index implementation (Paul Ramsey)

  • Selectivity implementation (Mark Cave-Ayland)

  • Serializations to KML, GML and JSON (Olivier Courtin)

  • ST_Area, ST_Distance, ST_DWithin, ST_GeogFromText, ST_GeogFromWKB, ST_Intersects, ST_Covers, ST_Buffer (Paul Ramsey)

Enhancements

Performance improvements to ST_Distance (Nicklas Aven)

Documentation updates and improvements (Regina Obe, Kevin Neufeld)

Testing and quality control (Regina Obe)

PostGIS 1.5 support PostgreSQL 8.5 trunk (Guillaume Lelarge)

Win32 support and improvement of core shp2pgsql-gui (Mark Cave-Ayland)

In place 'make check' support (Paul Ramsey)

A.59. Release 1.4.0

Release date: 2009/07/24

This release provides performance enhancements, improved internal structures and testing, new features, and upgraded documentation. If you are running PostGIS 1.1+, a soft upgrade is sufficient otherwise a hard upgrade is recommended.

API Stability

As of the 1.4 release series, the public API of PostGIS will not change during minor releases.

Compatibility

The versions below are the *minimum* requirements for PostGIS 1.4

PostgreSQL 8.2 and higher on all platforms

GEOS 3.0 and higher only

PROJ4 4.5 and higher only

New Features

ST_Union() uses high-speed cascaded union when compiled against GEOS 3.1+ (Paul Ramsey)

ST_ContainsProperly() requires GEOS 3.1+

ST_Intersects(), ST_Contains(), ST_Within() use high-speed cached prepared geometry against GEOS 3.1+ (Paul Ramsey / funded by Zonar Systems)

Vastly improved documentation and reference manual (Regina Obe & Kevin Neufeld)

Figures and diagram examples in the reference manual (Kevin Neufeld)

ST_IsValidReason() returns readable explanations for validity failures (Paul Ramsey)

ST_GeoHash() returns a geohash.org signature for geometries (Paul Ramsey)

GTK+ multi-platform GUI for shape file loading (Paul Ramsey)

ST_LineCrossingDirection() returns crossing directions (Paul Ramsey)

ST_LocateBetweenElevations() returns sub-string based on Z-ordinate. (Paul Ramsey)

Geometry parser returns explicit error message about location of syntax errors (Mark Cave-Ayland)

ST_AsGeoJSON() return JSON formatted geometry (Olivier Courtin)

Populate_Geometry_Columns() -- automatically add records to geometry_columns for TABLES and VIEWS (Kevin Neufeld)

ST_MinimumBoundingCircle() -- returns the smallest circle polygon that can encompass a geometry (Bruce Rindahl)

Enhancements

Core geometry system moved into independent library, liblwgeom. (Mark Cave-Ayland)

New build system uses PostgreSQL "pgxs" build bootstrapper. (Mark Cave-Ayland)

Debugging framework formalized and simplified. (Mark Cave-Ayland)

All build-time #defines generated at configure time and placed in headers for easier cross-platform support (Mark Cave-Ayland)

Logging framework formalized and simplified (Mark Cave-Ayland)

Expanded and more stable support for CIRCULARSTRING, COMPOUNDCURVE and CURVEPOLYGON, better parsing, wider support in functions (Mark Leslie & Mark Cave-Ayland)

Improved support for OpenSolaris builds (Paul Ramsey)

Improved support for MSVC builds (Mateusz Loskot)

Updated KML support (Olivier Courtin)

Unit testing framework for liblwgeom (Paul Ramsey)

New testing framework to comprehensively exercise every PostGIS function (Regine Obe)

Performance improvements to all geometry aggregate functions (Paul Ramsey)

Support for the upcoming PostgreSQL 8.4 (Mark Cave-Ayland, Talha Bin Rizwan)

Shp2pgsql and pgsql2shp re-worked to depend on the common parsing/unparsing code in liblwgeom (Mark Cave-Ayland)

Use of PDF DbLatex to build PDF docs and preliminary instructions for build (Jean David Techer)

Automated User documentation build (PDF and HTML) and Developer Doxygen Documentation (Kevin Neufeld)

Automated build of document images using ImageMagick from WKT geometry text files (Kevin Neufeld)

More attractive CSS for HTML documentation (Dane Springmeyer)

A.60. Release 1.3.6

Release date: 2009/05/04

If you are running PostGIS 1.1+, a soft upgrade is sufficient otherwise a hard upgrade is recommended. This release adds support for PostgreSQL 8.4, exporting prj files from the database with shape data, some crash fixes for shp2pgsql, and several small bug fixes in the handling of "curve" types, logical error importing dbf only files, improved error handling of AddGeometryColumns.

A.61. Release 1.3.5

Release date: 2008/12/15

If you are running PostGIS 1.1+, a soft upgrade is sufficient otherwise a hard upgrade is recommended. This release is a bug fix release to address a failure in ST_Force_Collection and related functions that critically affects using MapServer with LINE layers.

A.62. Release 1.3.4

Release date: 2008/11/24

This release adds support for GeoJSON output, building with PostgreSQL 8.4, improves documentation quality and output aesthetics, adds function-level SQL documentation, and improves performance for some spatial predicates (point-in-polygon tests).

Bug fixes include removal of crashers in handling circular strings for many functions, some memory leaks removed, a linear referencing failure for measures on vertices, and more. See the NEWS file for details.

A.63. Release 1.3.3

Release date: 2008/04/12

This release fixes bugs shp2pgsql, adds enhancements to SVG and KML support, adds a ST_SimplifyPreserveTopology function, makes the build more sensitive to GEOS versions, and fixes a handful of severe but rare failure cases.

A.64. Release 1.3.2

Release date: 2007/12/01

This release fixes bugs in ST_EndPoint() and ST_Envelope, improves support for JDBC building and OS/X, and adds better support for GML output with ST_AsGML(), including GML3 output.

A.65. Release 1.3.1

Release date: 2007/08/13

This release fixes some oversights in the previous release around version numbering, documentation, and tagging.

A.66. Release 1.3.0

Release date: 2007/08/09

This release provides performance enhancements to the relational functions, adds new relational functions and begins the migration of our function names to the SQL-MM convention, using the spatial type (SP) prefix.

Added Functionality

JDBC: Added Hibernate Dialect (thanks to Norman Barker)

Added ST_Covers and ST_CoveredBy relational functions. Description and justification of these functions can be found at http://lin-ear-th-inking.blogspot.com/2007/06/subtleties-of-ogc-covers-spatial.html

Added ST_DWithin relational function.

Performance Enhancements

Added cached and indexed point-in-polygon short-circuits for the functions ST_Contains, ST_Intersects, ST_Within and ST_Disjoint

Added inline index support for relational functions (except ST_Disjoint)

Other Changes

Extended curved geometry support into the geometry accessor and some processing functions

Began migration of functions to the SQL-MM naming convention; using a spatial type (ST) prefix.

Added initial support for PostgreSQL 8.3

A.67. Release 1.2.1

Release date: 2007/01/11

This release provides bug fixes in PostgreSQL 8.2 support and some small performance enhancements.

Changes

Fixed point-in-polygon shortcut bug in Within().

Fixed PostgreSQL 8.2 NULL handling for indexes.

Updated RPM spec files.

Added short-circuit for Transform() in no-op case.

JDBC: Fixed JTS handling for multi-dimensional geometries (thanks to Thomas Marti for hint and partial patch). Additionally, now JavaDoc is compiled and packaged. Fixed classpath problems with GCJ. Fixed pgjdbc 8.2 compatibility, losing support for jdk 1.3 and older.

A.68. Release 1.2.0

Release date: 2006/12/08

This release provides type definitions along with serialization/deserialization capabilities for SQL-MM defined curved geometries, as well as performance enhancements.

Changes

Added curved geometry type support for serialization/deserialization

Added point-in-polygon shortcircuit to the Contains and Within functions to improve performance for these cases.

A.69. Release 1.1.6

Release date: 2006/11/02

This is a bugfix release, in particular fixing a critical error with GEOS interface in 64bit systems. Includes an updated of the SRS parameters and an improvement in reprojections (take Z in consideration). Upgrade is encouraged .

Upgrading

If you are upgrading from release 1.0.3 or later follow the soft upgrade procedure.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

fixed CAPI change that broke 64-bit platforms

loader/dumper: fixed regression tests and usage output

Fixed setSRID() bug in JDBC, thanks to Thomas Marti

Other changes

use Z ordinate in reprojections

spatial_ref_sys.sql updated to EPSG 6.11.1

Simplified Version.config infrastructure to use a single pack of version variables for everything.

Include the Version.config in loader/dumper USAGE messages

Replace hand-made, fragile JDBC version parser with Properties

A.70. Release 1.1.5

Release date: 2006/10/13

This is an bugfix release, including a critical segfault on win32. Upgrade is encouraged .

Upgrading

If you are upgrading from release 1.0.3 or later follow the soft upgrade procedure.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

Fixed MingW link error that was causing pgsql2shp to segfault on Win32 when compiled for PostgreSQL 8.2

fixed nullpointer Exception in Geometry.equals() method in Java

Added EJB3Spatial.odt to fulfill the GPL requirement of distributing the "preferred form of modification"

Removed obsolete synchronization from JDBC Jts code.

Updated heavily outdated README files for shp2pgsql/pgsql2shp by merging them with the manpages.

Fixed version tag in jdbc code that still said "1.1.3" in the "1.1.4" release.

New Features

Added -S option for non-multi geometries to shp2pgsql

A.71. Release 1.1.4

Release date: 2006/09/27

This is an bugfix release including some improvements in the Java interface. Upgrade is encouraged .

Upgrading

If you are upgrading from release 1.0.3 or later follow the soft upgrade procedure.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

Fixed support for PostgreSQL 8.2

Fixed bug in collect() function discarding SRID of input

Added SRID match check in MakeBox2d and MakeBox3d

Fixed regress tests to pass with GEOS-3.0.0

Improved pgsql2shp run concurrency.

Java changes

reworked JTS support to reflect new upstream JTS developers' attitude to SRID handling. Simplifies code and drops build depend on GNU trove.

Added EJB2 support generously donated by the "Geodetix s.r.l. Company"

Added EJB3 tutorial / examples donated by Norman Barker <nbarker@ittvis.com>

Reorganized java directory layout a little.

A.72. Release 1.1.3

Release date: 2006/06/30

This is an bugfix release including also some new functionalities (most notably long transaction support) and portability enhancements. Upgrade is encouraged .

Upgrading

If you are upgrading from release 1.0.3 or later follow the soft upgrade procedure.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes / correctness

BUGFIX in distance(poly,poly) giving wrong results.

BUGFIX in pgsql2shp successful return code.

BUGFIX in shp2pgsql handling of MultiLine WKT.

BUGFIX in affine() failing to update bounding box.

WKT parser: forbidden construction of multigeometries with EMPTY elements (still supported for GEOMETRYCOLLECTION).

New functionalities

NEW Long Transactions support.

NEW DumpRings() function.

NEW AsHEXEWKB(geom, XDR|NDR) function.

JDBC changes

Improved regression tests: MultiPoint and scientific ordinates

Fixed some minor bugs in jdbc code

Added proper accessor functions for all fields in preparation of making those fields private later

Other changes

NEW regress test support for loader/dumper.

Added --with-proj-libdir and --with-geos-libdir configure switches.

Support for build Tru64 build.

Use Jade for generating documentation.

Don't link pgsql2shp to more libs then required.

Initial support for PostgreSQL 8.2.

A.73. Release 1.1.2

Release date: 2006/03/30

This is an bugfix release including some new functions and portability enhancements. Upgrade is encouraged .

Upgrading

If you are upgrading from release 1.0.3 or later follow the soft upgrade procedure.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

BUGFIX in SnapToGrid() computation of output bounding box

BUGFIX in EnforceRHR()

jdbc2 SRID handling fixes in JTS code

Fixed support for 64bit archs

New functionalities

Regress tests can now be run *before* postgis installation

New affine() matrix transformation functions

New rotate{,X,Y,Z}() function

Old translating and scaling functions now use affine() internally

Embedded access control in estimated_extent() for builds against pgsql >= 8.0.0

Other changes

More portable ./configure script

Changed ./run_test script to have more sane default behaviour

A.74. Release 1.1.1

Release date: 2006/01/23

This is an important Bugfix release, upgrade is highly recommended . Previous version contained a bug in postgis_restore.pl preventing hard upgrade procedure to complete and a bug in GEOS-2.2+ connector preventing GeometryCollection objects to be used in topological operations.

Upgrading

If you are upgrading from release 1.0.3 or later follow the soft upgrade procedure.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

Fixed a premature exit in postgis_restore.pl

BUGFIX in geometrycollection handling of GEOS-CAPI connector

Solaris 2.7 and MingW support improvements

BUGFIX in line_locate_point()

Fixed handling of postgresql paths

BUGFIX in line_substring()

Added support for localized cluster in regress tester

New functionalities

New Z and M interpolation in line_substring()

New Z and M interpolation in line_interpolate_point()

added NumInteriorRing() alias due to OpenGIS ambiguity

A.75. Release 1.1.0

Release date: 2005/12/21

This is a Minor release, containing many improvements and new things. Most notably: build procedure greatly simplified; transform() performance drastically improved; more stable GEOS connectivity (CAPI support); lots of new functions; draft topology support.

It is highly recommended that you upgrade to GEOS-2.2.x before installing PostGIS, this will ensure future GEOS upgrades won't require a rebuild of the PostGIS library.

Credits

This release includes code from Mark Cave Ayland for caching of proj4 objects. Markus Schaber added many improvements in his JDBC2 code. Alex Bodnaru helped with PostgreSQL source dependency relief and provided Debian specfiles. Michael Fuhr tested new things on Solaris arch. David Techer and Gerald Fenoy helped testing GEOS C-API connector. Hartmut Tschauner provided code for the azimuth() function. Devrim GUNDUZ provided RPM specfiles. Carl Anderson helped with the new area building functions. See the credits section for more names.

Upgrading

If you are upgrading from release 1.0.3 or later you DO NOT need a dump/reload. Simply sourcing the new lwpostgis_upgrade.sql script in all your existing databases will work. See the soft upgrade chapter for more information.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

New functions

scale() and transscale() companion methods to translate()

line_substring()

line_locate_point()

M(point)

LineMerge(geometry)

shift_longitude(geometry)

azimuth(geometry)

locate_along_measure(geometry, float8)

locate_between_measures(geometry, float8, float8)

SnapToGrid by point offset (up to 4d support)

BuildArea(any_geometry)

OGC BdPolyFromText(linestring_wkt, srid)

OGC BdMPolyFromText(linestring_wkt, srid)

RemovePoint(linestring, offset)

ReplacePoint(linestring, offset, point)

Bug fixes

Fixed memory leak in polygonize()

Fixed bug in lwgeom_as_anytype cast functions

Fixed USE_GEOS, USE_PROJ and USE_STATS elements of postgis_version() output to always reflect library state.

Function semantic changes

SnapToGrid doesn't discard higher dimensions

Changed Z() function to return NULL if requested dimension is not available

Performance improvements

Much faster transform() function, caching proj4 objects

Removed automatic call to fix_geometry_columns() in AddGeometryColumns() and update_geometry_stats()

JDBC2 works

Makefile improvements

JTS support improvements

Improved regression test system

Basic consistency check method for geometry collections

Support for (Hex)(E)wkb

Autoprobing DriverWrapper for HexWKB / EWKT switching

fix compile problems in ValueSetter for ancient jdk releases.

fix EWKT constructors to accept SRID=4711; representation

added preliminary read-only support for java2d geometries

Other new things

Full autoconf-based configuration, with PostgreSQL source dependency relief

GEOS C-API support (2.2.0 and higher)

Initial support for topology modelling

Debian and RPM specfiles

New lwpostgis_upgrade.sql script

Other changes

JTS support improvements

Stricter mapping between DBF and SQL integer and string attributes

Wider and cleaner regression test suite

old jdbc code removed from release

obsoleted direct use of postgis_proc_upgrade.pl

scripts version unified with release version

A.76. Release 1.0.6

Release date: 2005/12/06

Contains a few bug fixes and improvements.

Upgrading

If you are upgrading from release 1.0.3 or later you DO NOT need a dump/reload.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

Fixed palloc(0) call in collection deserializer (only gives problem with --enable-cassert)

Fixed bbox cache handling bugs

Fixed geom_accum(NULL, NULL) segfault

Fixed segfault in addPoint()

Fixed short-allocation in lwcollection_clone()

Fixed bug in segmentize()

Fixed bbox computation of SnapToGrid output

Improvements

Initial support for postgresql 8.2

Added missing SRID mismatch checks in GEOS ops

A.77. Release 1.0.5

Release date: 2005/11/25

Contains memory-alignment fixes in the library, a segfault fix in loader's handling of UTF8 attributes and a few improvements and cleanups.

[Note]

Return code of shp2pgsql changed from previous releases to conform to unix standards (return 0 on success).

Upgrading

If you are upgrading from release 1.0.3 or later you DO NOT need a dump/reload.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Library changes

Fixed memory alignment problems

Fixed computation of null values fraction in analyzer

Fixed a small bug in the getPoint4d_p() low-level function

Speedup of serializer functions

Fixed a bug in force_3dm(), force_3dz() and force_4d()

Loader changes

Fixed return code of shp2pgsql

Fixed back-compatibility issue in loader (load of null shapefiles)

Fixed handling of trailing dots in dbf numerical attributes

Segfault fix in shp2pgsql (utf8 encoding)

Other changes

Schema aware postgis_proc_upgrade.pl, support for pgsql 7.2+

New "Reporting Bugs" chapter in manual

A.78. Release 1.0.4

Release date: 2005/09/09

Contains important bug fixes and a few improvements. In particular, it fixes a memory leak preventing successful build of GiST indexes for large spatial tables.

Upgrading

If you are upgrading from release 1.0.3 you DO NOT need a dump/reload.

If you are upgrading from a release between 1.0.0RC6 and 1.0.2 (inclusive) and really want a live upgrade read the upgrade section of the 1.0.3 release notes chapter.

Upgrade from any release prior to 1.0.0RC6 requires an hard upgrade .

Bug fixes

Memory leak plugged in GiST indexing

Segfault fix in transform() handling of proj4 errors

Fixed some proj4 texts in spatial_ref_sys (missing +proj)

Loader: fixed string functions usage, reworked NULL objects check, fixed segfault on MULTILINESTRING input.

Fixed bug in MakeLine dimension handling

Fixed bug in translate() corrupting output bounding box

Improvements

Documentation improvements

More robust selectivity estimator

Minor speedup in distance()

Minor cleanups

GiST indexing cleanup

Looser syntax acceptance in box3d parser

A.79. Release 1.0.3

Release date: 2005/08/08

Contains some bug fixes - including a severe one affecting correctness of stored geometries - and a few improvements.

Upgrading

Due to a bug in a bounding box computation routine, the upgrade procedure requires special attention, as bounding boxes cached in the database could be incorrect.

An hard upgrade procedure (dump/reload) will force recomputation of all bounding boxes (not included in dumps). This is required if upgrading from releases prior to 1.0.0RC6.

If you are upgrading from versions 1.0.0RC6 or up, this release includes a perl script (utils/rebuild_bbox_caches.pl) to force recomputation of geometries' bounding boxes and invoke all operations required to propagate eventual changes in them (geometry statistics update, reindexing). Invoke the script after a make install (run with no args for syntax help). Optionally run utils/postgis_proc_upgrade.pl to refresh postgis procedures and functions signatures (see Soft upgrade ).

Bug fixes

Severe bugfix in lwgeom's 2d bounding box computation

Bugfix in WKT (-w) POINT handling in loader

Bugfix in dumper on 64bit machines

Bugfix in dumper handling of user-defined queries

Bugfix in create_undef.pl script

Improvements

Small performance improvement in canonical input function

Minor cleanups in loader

Support for multibyte field names in loader

Improvement in the postgis_restore.pl script

New rebuild_bbox_caches.pl util script

A.80. Release 1.0.2

Release date: 2005/07/04

Contains a few bug fixes and improvements.

Upgrading

If you are upgrading from release 1.0.0RC6 or up you DO NOT need a dump/reload.

Upgrading from older releases requires a dump/reload. See the upgrading chapter for more informations.

Bug fixes

Fault tolerant btree ops

Memory leak plugged in pg_error

Rtree index fix

Cleaner build scripts (avoided mix of CFLAGS and CXXFLAGS)

Improvements

New index creation capabilities in loader (-I switch)

Initial support for postgresql 8.1dev

A.81. Release 1.0.1

Release date: 2005/05/24

Contains a few bug fixes and some improvements.

Upgrading

If you are upgrading from release 1.0.0RC6 or up you DO NOT need a dump/reload.

Upgrading from older releases requires a dump/reload. See the upgrading chapter for more informations.

Library changes

BUGFIX in 3d computation of length_spheroid()

BUGFIX in join selectivity estimator

Other changes/additions

BUGFIX in shp2pgsql escape functions

better support for concurrent postgis in multiple schemas

documentation fixes

jdbc2: compile with "-target 1.2 -source 1.2" by default

NEW -k switch for pgsql2shp

NEW support for custom createdb options in postgis_restore.pl

BUGFIX in pgsql2shp attribute names unicity enforcement

BUGFIX in Paris projections definitions

postgis_restore.pl cleanups

A.82. Release 1.0.0

Release date: 2005/04/19

Final 1.0.0 release. Contains a few bug fixes, some improvements in the loader (most notably support for older postgis versions), and more docs.

Upgrading

If you are upgrading from release 1.0.0RC6 you DO NOT need a dump/reload.

Upgrading from any other precedent release requires a dump/reload. See the upgrading chapter for more informations.

Library changes

BUGFIX in transform() releasing random memory address

BUGFIX in force_3dm() allocating less memory then required

BUGFIX in join selectivity estimator (defaults, leaks, tuplecount, sd)

Other changes/additions

BUGFIX in shp2pgsql escape of values starting with tab or single-quote

NEW manual pages for loader/dumper

NEW shp2pgsql support for old (HWGEOM) postgis versions

NEW -p (prepare) flag for shp2pgsql

NEW manual chapter about OGC compliancy enforcement

NEW autoconf support for JTS lib

BUGFIX in estimator testers (support for LWGEOM and schema parsing)

A.83. Release 1.0.0RC6

Release date: 2005/03/30

Sixth release candidate for 1.0.0. Contains a few bug fixes and cleanups.

Upgrading

You need a dump/reload to upgrade from precedent releases. See the upgrading chapter for more informations.

Library changes

BUGFIX in multi()

early return [when noop] from multi()

Scripts changes

dropped {x,y}{min,max}(box2d) functions

Other changes

BUGFIX in postgis_restore.pl scrip

BUGFIX in dumper's 64bit support

A.84. Release 1.0.0RC5

Release date: 2005/03/25

Fifth release candidate for 1.0.0. Contains a few bug fixes and a improvements.

Upgrading

If you are upgrading from release 1.0.0RC4 you DO NOT need a dump/reload.

Upgrading from any other precedent release requires a dump/reload. See the upgrading chapter for more informations.

Library changes

BUGFIX (segfaulting) in box3d computation (yes, another!).

BUGFIX (segfaulting) in estimated_extent().

Other changes

Small build scripts and utilities refinements.

Additional performance tips documented.

A.85. Release 1.0.0RC4

Release date: 2005/03/18

Fourth release candidate for 1.0.0. Contains bug fixes and a few improvements.

Upgrading

You need a dump/reload to upgrade from precedent releases. See the upgrading chapter for more informations.

Library changes

BUGFIX (segfaulting) in geom_accum().

BUGFIX in 64bit architectures support.

BUGFIX in box3d computation function with collections.

NEW subselects support in selectivity estimator.

Early return from force_collection.

Consistency check fix in SnapToGrid().

Box2d output changed back to 15 significant digits.

Scripts changes

NEW distance_sphere() function.

Changed get_proj4_from_srid implementation to use PL/PGSQL instead of SQL.

Other changes

BUGFIX in loader and dumper handling of MultiLine shapes

BUGFIX in loader, skipping all but first hole of polygons.

jdbc2: code cleanups, Makefile improvements

FLEX and YACC variables set *after* pgsql Makefile.global is included and only if the pgsql *stripped* version evaluates to the empty string

Added already generated parser in release

Build scripts refinements

improved version handling, central Version.config

improvements in postgis_restore.pl

A.86. Release 1.0.0RC3

Release date: 2005/02/24

Third release candidate for 1.0.0. Contains many bug fixes and improvements.

Upgrading

You need a dump/reload to upgrade from precedent releases. See the upgrading chapter for more informations.

Library changes

BUGFIX in transform(): missing SRID, better error handling.

BUGFIX in memory alignment handling

BUGFIX in force_collection() causing mapserver connector failures on simple (single) geometry types.

BUGFIX in GeometryFromText() missing to add a bbox cache.

reduced precision of box2d output.

prefixed DEBUG macros with PGIS_ to avoid clash with pgsql one

plugged a leak in GEOS2POSTGIS converter

Reduced memory usage by early releasing query-context palloced one.

Scripts changes

BUGFIX in 72 index bindings.

BUGFIX in probe_geometry_columns() to work with PG72 and support multiple geometry columns in a single table

NEW bool::text cast

Some functions made IMMUTABLE from STABLE, for performance improvement.

JDBC changes

jdbc2: small patches, box2d/3d tests, revised docs and license.

jdbc2: bug fix and testcase in for pgjdbc 8.0 type autoregistration

jdbc2: Removed use of jdk1.4 only features to enable build with older jdk releases.

jdbc2: Added support for building against pg72jdbc2.jar

jdbc2: updated and cleaned makefile

jdbc2: added BETA support for jts geometry classes

jdbc2: Skip known-to-fail tests against older PostGIS servers.

jdbc2: Fixed handling of measured geometries in EWKT.

Other changes

new performance tips chapter in manual

documentation updates: pgsql72 requirement, lwpostgis.sql

few changes in autoconf

BUILDDATE extraction made more portable

fixed spatial_ref_sys.sql to avoid vacuuming the whole database.

spatial_ref_sys: changed Paris entries to match the ones distributed with 0.x.

A.87. Release 1.0.0RC2

Release date: 2005/01/26

Second release candidate for 1.0.0 containing bug fixes and a few improvements.

Upgrading

You need a dump/reload to upgrade from precedent releases. See the upgrading chapter for more informations.

Library changes

BUGFIX in pointarray box3d computation

BUGFIX in distance_spheroid definition

BUGFIX in transform() missing to update bbox cache

NEW jdbc driver (jdbc2)

GEOMETRYCOLLECTION(EMPTY) syntax support for backward compatibility

Faster binary outputs

Stricter OGC WKB/WKT constructors

Scripts changes

More correct STABLE, IMMUTABLE, STRICT uses in lwpostgis.sql

stricter OGC WKB/WKT constructors

Other changes

Faster and more robust loader (both i18n and not)

Initial autoconf script

A.88. Release 1.0.0RC1

Release date: 2005/01/13

This is the first candidate of a major postgis release, with internal storage of postgis types redesigned to be smaller and faster on indexed queries.

Upgrading

You need a dump/reload to upgrade from precedent releases. See the upgrading chapter for more informations.

Changes

Faster canonical input parsing.

Lossless canonical output.

EWKB Canonical binary IO with PG>73.

Support for up to 4d coordinates, providing lossless shapefile->postgis->shapefile conversion.

New function: UpdateGeometrySRID(), AsGML(), SnapToGrid(), ForceRHR(), estimated_extent(), accum().

Vertical positioning indexed operators.

JOIN selectivity function.

More geometry constructors / editors.

PostGIS extension API.

UTF8 support in loader.