GeoTools

OSGeo

Wednesday, August 30, 2023

GeoTools 28.5 Released

 The GeoTools team are pleased to announce the release of the latest stable version of GeoTools 28.5 

 geotools-28.5-bin.zip     

geotools-28.5-doc.zip     

geotools-28.5-userguide.zip     

geotools-28.5-project.zip

This release is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.22.5. We are grateful to Peter Smythe (AfriGIS) for carrying out the release.

Improvements and fixes in this release:

Bugs Fixed

GEOT-7335 geojson-store fails StackOverflowError when empty features FeatureCollection

GEOT-7386 Shape://dot is too small to see on screen

GEOT-7400 ImageWorker rescaleToBytes fails to reserve entry for nodata if it happens to be zero

GEOT-7401 GDAL readers ignore source NoData values

GEOT-7404 Add SQLite Connection Timeout in case of hung GeoPackage connections

GEOT-7406 Vector Mosaic Cache granule connection in memory to avoid redundant initialization and improve granule iterator cleanup

GEOT-7407 Vector Mosaic Cache granuleFeatureType at DataStore and improve granule FeatureType acquisition

Improvements

GEOT-7381 FlatGeobufDataStore missing optimization for feature id queries

GEOT-7387 Improve URL checking

GEOT-7418 Add a configuration parameter to the ElasticSearch plugin to support response greater than 100mb

GEOT-7425 Add support for extended colorMap in CSS

GEOT-7427 Vector Mosaic add native filtering support when query is exclusively granule or index fields

New Features

GEOT-7380 GeoTIFF user-defined coordinate reference system via citation ESRI PE String = <wkt>

Tasks

GEOT-7382 maven integration tests failing when running with fresh local repository

GEOT-7394 Upgrade httpclient from 4.5.13 to 4.5.14

GEOT-7396 Upgrade wiremock to 2.35.0

Thursday, July 20, 2023

GeoTools 29.2 Released

 The GeoTools team are pleased to announce the release of the latest stable version of GeoTools 29.2 

    geotools-29.2-bin.zip
    geotools-29.2-doc.zip
    geotools-29.2-userguide.zip
    geotools-29.2-project.zip

This release is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.23.2. We are grateful to Ian Turton (Astun Technology Ltd) for carrying out the release.

Update 2024-07-1: CVE-2024-36404 patch geotools-29.2-patches.zip

Fixes and Improvements

Improvements and fixes in this release:

Bugs Fixed

GEOT-7266 WMTSCapabilities throws NPE for missing title

GEOT-7335 geojson-store fails with StackOverflowError when parsing an empty FeatureCollection

GEOT-7345 WFS Capabilities from local file

GEOT-7365 Problems with requesting Features from a WFS Version 2.0.0 and using a HTTP proxy

GEOT-7367 Missing null-check in GeoPackage spatial index creation

GEOT-7386 Shape://dot is too small to see on screen

Improvements

GEOT-7360 DWITHIN support for mongo DB

GEOT-7362 Multithreaded HTTP client: authentication not sent if connection pooling activated

GEOT-7381 FlatGeobufDataStore missing optimization for feature id queries

GEOT-7387 Improve URL checking

New Features

GEOT-6512 Control remote HTTP requests sent by GeoTools

GEOT-7380 GeoTIFF user-defined coordinate reference system via citation ESRI PE String =

Tasks

GEOT-7364 Upgrade sqlite-jdbc from 3.34.0 to 3.41.2.2

GEOT-7373 Upgrade hsqldb from 2.7.1 to 2.7.2

GEOT-7374 Upgrade Jackson to 2.15.2

GEOT-7375 Upgrade guava from 30.1.1 to 32.0.0

GEOT-7376 Upgrade postgresql from 42.4.3 to 42.6.0

GEOT-7378 Upgrade commons-lang3 from 3.8.1 to 3.12.0

GEOT-7394 Upgrade httpclient from 4.5.13 to 4.5.14

GEOT-7396 Upgrade wiremock to 2.35.0

 

Tuesday, July 11, 2023

Construction Ahead: Refactoring org.opengis to org.geotools.api

In the next release of GeoTools 30.0 there are some breaking API changes to look forward to:
  • org.opengis package is renamed to org.geotools.api package
  • This release will include update instructions, and a migration script, to fix your code.
This is a breaking change, the formal change control proposal is here.

Why is this changing

The GeoAPI Implementation Specification is a Java standard (Interfaces and Classes) provided by the Open Geospatial Consortium for interoperability between Java projects and libraries.

GeoTools worked on a pre-release of these interfaces in the hopes of collaborating with other projects. In GeoTools 2.7 these interfaces were folded back into the gt-opengis module due to lack of collaboration opportunities and funding.

The GeoTools library use of the org.opengis package has caused disruption for the OGC and Apache software foundations and they have asked the Open Source GeoSpatial Foundation for this matter to be addressed (see osgeo/todo#142).

Cross-project initiative and timeframe

A cross-project OpenGIS Harmonization initiative has been setup at osgeo.org, to collaboration between the above software foundations, and the affected projects from all walks of life.

The GeoTools library is coordinating our activities with a change proposal covering the following timeline:
  • 2023 April: Open Standards and Open Source Software Code Sprint: initiatve promotion
  • 2023 June: FOSS4G Code Sprint: Design and Planning
  • 2023 August: Bolsena Code Sprint: GeoTools Refactor and API Change
  • 2023 September: GeoTools 30-RC: Public release-candidate for testing and feedback
  • 2023 October: GeoTools 30.0: Public release of API Change
  • 2023 Q4: Last Friday of the month drop-in sprint to assist downstream projects with migration

What you can expect

You can expect to run a script and recompile / re-release your code:

ant -f remove-opengis.xml

At the end of this process you may need to re-run code formatted, or clean up unused imports.

For projects that have not yet made the upgrade to Java 11 additional work will be required to establishing a supported build environment.

Participation and Support

This activity is disruptive, and the best way to control the risk for you and your project team is to participate both in the upcoming Bolsena Code Sprint, and in testing the GeoTools 30.0-RC release candidate in early September.

To be successful this transition requires your participation and support, both with GeoTools, and also the downstream projects that will be disrupted.
If you are in position to offer financial assistance, this activity is covered by OSGeo sponsorship program. Your support is visible not only here but on the OSGeo website and marketting materials also.

OSGeo identified this activity as a priority in their 2023 budget. The OGC asked us to create a ticket (opengeospaital/ideas#120) for their June board meeting but have not reported back. Apache Software Foundation as a policy does not financially support activities.

Sunday, June 18, 2023

GeoTools 28.4 Released

The GeoTools team is pleased to share the availability GeoTools 28.4:
This release is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.22.4.

Release notes - GeoTools - 28.4

Bug

GEOT-7266 WMTSCapabilities throws NPE for missing title

GEOT-7345 WFS Capabilities from local file

GEOT-7365 Problems with requesting Features from a WFS Version 2.0.0 and using a HTTP proxy

GEOT-7367 Missing null-check in GeoPackage spatial index creation

Improvement

GEOT-7360 DWITHIN support for mongo DB

GEOT-7362 Multithreaded HTTP client: authentication not sent if connection pooling activated

Task

GEOT-7364 Bump sqlite-jdbc from 3.34.0 to 3.41.2.2

GEOT-7373 Bump hsqldb from 2.7.1 to 2.7.2

GEOT-7374 Upgrade Jackson to 2.15.2

GEOT-7375 Upgrade guava from 30.1.1 to 32.0.0

GEOT-7376 Upgrade postgresql from 42.4.3 to 42.6.0

GEOT-7378 Upgrade commons-lang3 from 3.8.1 to 3.12.0

Wish

GEOT-7332 Relicensing to LPGPL 2.1-or-later

Friday, May 26, 2023

GeoTools 29.1 Released

 The GeoTools team are pleased to announce the release of the latest stable version of GeoTools 29.1 

    geotools-29.1-bin.zip
    geotools-29.1-doc.zip
    geotools-29.1-userguide.zip
    geotools-29.1-project.zip

Improvements and fixes in this release

Bug

  • GEOT-7325 WMTS multi tile request is not compatible with RESTful servers
  • GEOT-7333 The result of linearization after creating circulararc is wrong
  • GEOT-7338 Child feature ClientProperties are duplicated on Complex features parent container elements from the child feature
  • GEOT-7340 Avoid PAMParser init causing ImageMosaic to fail
  • GEOT-7344 Child feature ClientProperties are duplicated on no-GML XML element parent container from the child elements

Thursday, May 4, 2023

GeoTools 27.5 Released

The GeoTools team is pleased to share the availability GeoTools 27.5:

This release is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.22.3 and GeoWebCache 1.22.2.

Update 2024-07-1: CVE-2024-36404 patch geotools-27.5-patches.zip

Improvements and fixes in this release

Bug

GEOT-7316 Child feature ClientProperties are replicated on GML parent container elements: gml:featureMember and wfs:member

GEOT-7318 Unit of measure not escaped in DWithin filter

GEOT-7325 WMTS multi tile request is not compatible with RESTful servers

GEOT-7327 TransformFeatureSource needs to transform FID filters too

GEOT-7331 ContentFeatureSource reprojection requirement check fails to resolve to false with two WGS84 CRS instances.

GEOT-7333 The result of linearization after creating circulararc is wrong

GEOT-7338 Child feature ClientProperties are duplicated on Complex features parent container elements from the child feature

GEOT-7340 Avoid PAMParser init causing ImageMosaic to fail

GEOT-7344 Child feature ClientProperties are duplicated on no-GML XML element parent container from the child elements

Task

GEOT-7310 Update Oracle JDBC driver to 19.18.0.0

GEOT-7317 Upgrade snakeyaml from 1.32 to to 2.0

GeoTools 28.3 Released


The GeoTools team is pleased to share the availability GeoTools 28.3:
This release is also available from the OSGeo Maven Repository and is made in conjunction with GeoServer 2.22.3 and GeoWebCache 1.22.2.

Improvements and fixes in this release

Bug

GEOT-7238 WFSContentComplexFeatureSource.getFeatures(Filter) creates a wrong Query

GEOT-7239 WFSContentDataAccess will fail when using HTTP POST

GEOT-7316 Child feature ClientProperties are replicated on GML parent container elements: gml:featureMember and wfs:member

GEOT-7318 Unit of measure not escaped in DWithin filter

GEOT-7324 NPE on WMTS single tile request on missing GetTile operation in capabilities

GEOT-7325 WMTS multi tile request is not compatible with RESTful servers

GEOT-7327 TransformFeatureSource needs to transform FID filters too

GEOT-7331 ContentFeatureSource reprojection requirement check fails to resolve to false with two WGS84 CRS instances.

GEOT-7333 The result of linearization after creating circulararc is wrong

GEOT-7338 Child feature ClientProperties are duplicated on Complex features parent container elements from the child feature

GEOT-7340 Avoid PAMParser init causing ImageMosaic to fail

GEOT-7344 Child feature ClientProperties are duplicated on no-GML XML element parent container from the child elements

Improvement

GEOT-7253 Create an ordinary WFSFactoryParam<String> of WFSDataStoreFactory:SCHEMA_CACHE_LOCATION

GEOT-7312 Add support for editable description in GeoServer customize feature type table

Task

GEOT-7310 Update Oracle JDBC driver to 19.18.0.0

GEOT-7317 Upgrade snakeyaml from 1.32 to to 2.0