GeoTools

OSGeo

Wednesday, November 17, 2021

GeoTools 26.1 Released

The GeoTools team is pleased to share the availability GeoTools 26.1 

This release is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.21

About GeoTools 26 Series

For more information see the release notes (26.1 | 26-RC).
  • main is now the default branch
  • GML support improved with support for surface, multi curves, curved polygons and arcs with more than three control points
  • Krovak North Orientated, used for EPSG:5514

Friday, October 22, 2021

GeoTools 25.3 Released

The GeoTools team is pleased to announce the release GeoTools 25.3:

GeoTools 25.3 is published to repo.osgeo.org for direct build integration. This release is made in conjunction with GeoServer 2.19.3. The GeoTools team is grateful to Astun Technology for allowing Ian Turton the time to prepare this release.

Bug Fixes

This is a maintenance release and includes the following bug fixes:
  • GEOT-6982 Update Mongo DB driver to 4.0.6 to mitigate CVE-2021-20328
  • GEOT-6959 SimpleHttpClient does support proxy
  • GEOT-6958 ImageMosaic stores made of multiple coverages (homogeneous + heterogeneous) may fail on heterogeneous read
  • GEOT-6944 Deadlock at org.geotools.xsd.XSD.getSchema
  • GEOT-6937 AppSchema JdbcMultipleValue will fill wrong values if targetColumn is a PK
  • GEOT-6881 GreaterThanEqualTo and LessThanEqualTo incorrectly marked as unsupported in WFS query
  • GEOT-6410 Conversion from boolean true/false in geoserver to SQL Server bit 0/1, is broken

About GeoTools 25 Series 

For more information see the release notes (25.325.2 | 25.1 | 25.0 | 25-RC ).
  • Repackaged downloads with html readme and license files and ready-to-use bin download
  • New gt-http module, allowing gt-wms and gt-wps-client to use your choice of http library
  • Massive code-cleanup with PMD integrated into our build chain
  • Quality of life improvements with increased use of variable arguments, abd revised Map<String?> datastore connection parameters.

Monday, October 18, 2021

GeoTools 26.0 released

The GeoTools team is pleased to share the availability GeoTools 26.0 

This release candidate is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.20 and JTS 1.18.2.

Upgrade

There is no specific incompatibilities noted for this release (see User Manual "upgrading" page):
  • Deprecated HTTPClient interfaces are now removed (previously these were deprecated after being relocated to a new package in the 25.x series)
  • Changes occurred in some internal handling of units of measure, as a result of units library upgrade. Should not be of concern for most users.

Updated Libraries

Each major release is an opportunity to update the libraries that GeoTools uses: 
  • JTS 1.18.2
  • commons-io 2.10.0
  • Upgraded JDBC drivers
    • oracle ojdbc9 19.12.0.0
    • mysql-connector-java 8.0.26
    • postgresql 42.2.23
    • mysql-jdbc 9.4.0.jre8
    • db2 bcc 11.5.6.0
  • solr 8.9.0
  • httpclient 4.5.13
  • batik 1.14

Improvements and Fixes 

Public service announcement:
  • Removed unsupported epsg-oracle, georest, imagemosiac-jdbc, jdbc-ingres, gtopo30 modules.
  • Removed dependency on xpp3 (now use standard StAX API).
  • main is now the default branch.
  • Ongoing quality assurance improvements covering topics from refactoring complicated methods to catching accidentally committed System.out.println statements
From our issue tracker release notes: 
  • Introduce vendor options for rules
  • A new vendor option used to mark individual rules, symbolizers, or feature type style elements to be ignored (when rendering Maps or Legends).
  • WPS 2.0 EMF model and xml binding configuration
  • GML support has improved for unsupported wfs-ng module, with a separate gt-gml module created for improvements including surface, multi curves, curved polygons and arcs with more than three control points
  • Krovak North Orientated, used for EPSG:5514
  • Improve shapefile quadtree build performance
  • MultithreadedHTTPClient now sets the user agent to "GeoTools".

About GeoTools 26 Series

For more information see the release notes (26.0 | 26-RC).
  • main is now the default branch
  • GML support improved with support for surface, multi curves, curved polygons and arcs with more than three control points
  • Krovak North Orientated, used for EPSG:5514

Tuesday, September 14, 2021

GeoTools 26-RC Release Candidate

  The GeoTools team is pleased to share the availability GeoTools 26-RC 

This release candidate is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.20-RC and JTS 1.18.2.

Please Test this Release Candidate 

A release candidate is your chance to both try out new features and contribute to the project with valuable feedback right when we need it most. 

Please test this release with your project and let us know of any regression before we release GeoTools 26 later this month.  

Upgrade

There is no specific incompatibilities noted for this release (see User Manual "upgrading" page):
  • Deprecated HTTPClient interfaces are now removed (previously these were deprecated after being relocated to a new package in the 25.x series)

Updated Libraries

Each major release is an opportunity to update the libraries that GeoTools uses: 
  • JTS 1.18.2
  • commons-io 2.10.0
  • Upgraded JDBC drivers
    • oracle ojdbc9 19.12.0.0
    • mysql-connector-java 8.0.26
    • postgresql 42.2.23
    • mysql-jdbc 9.4.0.jre8
    • db2 bcc 11.5.6.0
  • solr 8.9.0
  • httpclient 4.5.13
  • batik 1.14

Improvements and Fixes 

Public service announcement: 
  • remove unsupported epsg-oracle, georest, imagemosiac-jdbc, jdbc-ingres, gtopo30 modules
  • removed dependency on xpp3 (now use standard StAX API)
  • main is now the default branch
  • ongoing quality assurance improvements covering topics from refactoring complicated methods to catching accidentally committed System.out.println statements
From our issue tracker release-notes
  • Introduce vendor options for rules
  • A new vendor option used to mark individual rules, symbolizers, or feature type style elements to be ignored (when rendering Maps or Legends).
  • WPS 2.0 EMF model and xml binding configuration
  • GML support has improved for unsupported wfs-ng module, with a separate gt-gml module created for improvements including surface, multi curves, curved polygons and arcs with more than three control points
  • Krovak North Orientated, used for EPSG:5514
  • Improve shapefile quadtree build performance

About GeoTools 26 Series 

For more information see the release notes ( 26-RC ).
  • In addition to release notes above, see query for a summary of fixes unique to release-candidate

Friday, August 20, 2021

GeoTools 24.5 released

   The GeoTools team is pleased to share the availability of GeoTools 24.5 :


This release is published to the OSGeo maven repository, and is made in conjunction with  GeoServer 2.18.4. This is a maintenance release and is a recommended upgrade for all users of the GeoTools library.

This is the last release of the 24.x series, users are encouraged to upgrade to 25.x now, or wait for 26.0 to be released in September 2021.

We would like to thank everyone who contributed to this release.
 

Highlights from our issue tracker release-notes:

Bug fixes

  • GEOT-6958: ImageMosaic stores made of multiple coverages (homogeneous + heterogeneous) may fail on heterogeneous read
  • GEOT-6881: ImageMosaic stores made of multiple coverages (homogeneous + heterogeneous) may fail on heterogeneous read

About GeoTools 24 Series

For more information see the release notes ( 24.424.3 | 24.2 | 24.1 | 24.0 | 24-RC ).  

Sunday, July 18, 2021

GeoTools 25.2 Released

  The GeoTools team is pleased to announce the release GeoTools 25.2

GeoTools 25.2 is published to repo.osgeo.org for direct build integration. This release is made in conjunction with GeoServer 2.19.2.
Update 2024-07-1: CVE-2024-36404 patch geotools-25.2-patches.zip

Repackaged Downloads

The above GeoTools downloads have been repackaged to include html readme and license files, as part of this update some license files have been updated to reflect components used by the GeoTools library.

In addition the geotools-25.2-bin.zip release above has been repackaged with the following folder structure:
  • lib - geotools library, extensions and plugins
  • optional - plugins requiring additional configuration such as gt-epsg-postgresql and gt-epsg-wkt
  • licenses
  • src - tutorial Quickstart sample code
Using this setup geotools is now ready to try out of the box:

java -cp "lib/*" org.geotools.util.factory.GeoTools

And the Quickstart tutorial can be tried in a few lines of code:

mkdir bin
javac -cp "lib/*" -d bin src/org/geotools/tutorial/quickstart/Quickstart.java 
java -cp "lib/*:bin" org.geotools.tutorial.quickstart.Quickstart

These changes are intended to make it easier to try out GeoTools.

Release notes

From our issue tracker release notes:

Bug

GEOT-6921 GeoTools primary key finder always query the table gt_pk_metadata even if it doesn't exists

GEOT-6916 "WGS 84 / UPS South (N,E)" is rendered with flipped axis

GEOT-6912 Special characters in shp file name are not correctly encoded

GEOT-6899 Resource (CPU/Heap) starvation building shapefile spatial index

GEOT-6898 Read only GeoPackages fail when using the new GPKG application id

GEOT-6894 WMTS fails when initial url contains query parameters

GEOT-6172 Missing jars (units etc.) in geotools-20.0-bin.zip

GEOT-2972 Character set from CPG files

Improvement

GEOT-6938 Image mosaic: avoid sorting on CRS when doing a "dry run" check after finding no granules in the target area

GEOT-6918 Implement NowFunction

GEOT-6917 Add support for timeUnit on dateDifference function

GEOT-6902 Improve NetCDF datasets access performances with caching

GEOT-6900 Shapefile quadtree build performance

GEOT-6891 GeoTIFF Writer should unwrap an outputStreamAdapter to get the underlying ImageOutputStream

GEOT-6877 Upgrade to imageio-ext 1.3.6 (tiff 32 bit with deflate/lzw support)

About GeoTools 25 Series 

For more information see the release notes ( 25.225.125.025-RC ).
  • Repackaged downloads with html readme and license files and ready-to-use bin download
  • New gt-http module, allowing gt-wms and gt-wps-client to use your choice of http library
  • Massive code-cleanup with PMD integrated into our build chain
  • Quality of life improvements with increased use of variable arguments, abd revised Map<String?> datastore connection parameters.

Wednesday, June 23, 2021

GeoTools 24.4 released

  The GeoTools team is pleased to share the availability of GeoTools 24.4 :


This release is published to the osgeo maven repository, and is made in conjunction with  GeoServer 2.18.4. This is a maintenance release and is a recommended upgrade for all users of the GeoTools library.

We would like to thank everyone who contributed to this release.
 

Highlights from our issue tracker release-notes:

Bug fixes

  • GEOT-6916 "WGS 84 / UPS South (N,E)" is rendered with flipped axis
  • GEOT-6912 Special characters in shp file name are not correctly encoded
  • GEOT-6899 Resource (CPU/Heap) starvation building shapefile spatial index
  • GEOT-6898 Read only GeoPackages fail when using the new GPKG application id
  • GEOT-6886 Raster to Vector rendering transformations with reprojection can generate incorrect images
  • GEOT-6885 RasterAsPointCollectionProcess hemisphere error with some projections
  • GEOT-6883 Fix edge cases in the date time parser
  • GEOT-6880 Rendering process fails if vendor option sortByGroup is used
  • GEOT-6860 SchemaCache doesn't follow redirect when downloading from HttpConnection
  • GEOT-6856 Replace new Collection method invocation via reflection with new ArrayList in ComplexAttributeImpl class

Improvements

  • GEOT-6900 Shapefile quadtree build performance
  • GEOT-6877 Upgrade to imageio-ext 1.3.6 (tiff 32 bit with deflate/lzw support)
  • GEOT-6874 Add support for count distinct aggregations in gt-jdbc

New Feature

  • GEOT-6867 Add the possibility to prune Rule, Symbolizer, FeatureTypeStyle elements when rendering Maps or Legends


About GeoTools 24 Series

For more information see the release notes ( 24.324.2 | 24.1 | 24.0 | 24-RC ).