GeoTools

OSGeo

Monday, February 20, 2023

GeoTools 28.2 Released

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

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

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

Fixes and improvements

Security Advisory

CVE-2023-25158OGC Filter SQL Injection Vulnerabilities

GEOT-7302 Escape user inputs in SQL queries

Bug

GEOT-7285 JDBCDataStore.getConnection(Transaction t) throws NullPointerException

GEOT-7299 Unimplemented visitLiteralGeometry in OracleFilterToSQL cause AppSchema errors

Improvement

GEOT-7301 Static lookup for In function

GEOT-7303 JNDI version of Oracle Datastore should include Column Remarks option

GEOT-7305 Improve ShapefileDumper to handle multiple geometry columns

GeoTools 27.4 Released

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

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

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

Fixes and improvements

Security Advisories

CVE-2023-25158OGC Filter SQL Injection Vulnerabilities

GEOT-7302 Escape user inputs in SQL queries

Bug

GEOT-7077 ClientProperty of a top element not showing

GEOT-7148 Bug in JoiningJDBCFeatureSource / FilterToSQL creates invalid SQL

GEOT-7284 Incompatible with Saxon transformer

GEOT-7285 JDBCDataStore.getConnection(Transaction t) throws NullPointerException

Improvement

GEOT-7303 JNDI version of Oracle Datastore should include Column Remarks option

GEOT-7305 Improve ShapefileDumper to handle multiple geometry columns

New Feature

GEOT-7281 Add TransformFeatureLocking wrapper

Friday, January 20, 2023

GeoServer 28.1 Released

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

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

Fixes and improvements

Bug

GEOT-7077 ClientProperty of a top element not showing

GEOT-7148 Bug in JoiningJDBCFeatureSource / FilterToSQL creates invalid SQL

GEOT-7247 ImageMosaic with RGBA images fails to respect transparency on overlaps

GEOT-7261 WFSContentComplexFeatureSource.getBounds will end up in StackOverflowException

GEOT-7262 ImageMosaic excess granule removal support does not play well with raster ROIs

GEOT-7263 ImageMosaic won't provide the list of mosaicked files as a coverage property, when dealing with heterogenous CRSs

GEOT-7268 GeoTools can create GML output that is not valid XML

GEOT-7271 ImageMosaic should read band statistics from GDAL_METADATA tiff tags, when available

GEOT-7284 Incompatible with Saxon transformer

GEOT-7295 HANA plugin attempts to create polygons consisting of 2 points only

Improvement

GEOT-7241 Expose column comments in FeatureType descriptions on selected JDBC stores

GEOT-7252 Rename GET_COLUMN_REMARKS to GET_REMARKS to accomodate future table comments support

GEOT-7270 GeoTIFFReader should expose GDAL band specific metadata when available

GEOT-7275 Add If_Then_Else support to ExpressionTypeVisitor

GEOT-7277 Expose assets as a selectable property in STACDataStore

GEOT-7279 Allow image mosaic to grab a subset of the feature properties in memory

GEOT-7286 Let SQLDialect decide whether to apply hints on virtual tables

GEOT-7294 Geometry simplification cannot be disabled in HANA plugin

New Feature

GEOT-7281 Add TransformFeatureLocking wrapper

Thursday, December 29, 2022

GeoTools 27.3 released

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

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

Fixes and improvements

Bug
  • GEOT-6324 WFS-NG online tests don't extend OnlineTestCase
  • GEOT-7222 Image Mosaic excessive memory usage when mosaicking many little images
  • GEOT-7244 Constructor GridGeometry2D(Rectangle, Rectangle2D) looses CRS
  • GEOT-7247 ImageMosaic with RGBA images fails to respect transparency on overlaps
  • GEOT-7248 app-schema GetFeature numberMatched breaks with views/tables without PK
  • GEOT-7256 SLDTransformer fails to encode raster symbolizer vendor options
  • GEOT-7257 GeoCSS misses support for labelInFeatureInfo and labelAttributeName vendor options
  • GEOT-7258 geojson-core is too lenient parsing as dates strings that are actually not
  • GEOT-7261 WFSContentComplexFeatureSource.getBounds will end up in StackOverflowException
  • GEOT-7264 Image mosaic: handle alpha channel as ROI for excess granule removal purposes
  • GEOT-7268 GeoTools can create GML output that is not valid XML
  • GEOT-7271 ImageMosaic should read band statistics from GDAL_METADATA tiff tags, when available

Improvement

  • GEOT-6914 AbstractWfsDataStoreOnlineTest bases service availability on the result of URL.openStream
  • GEOT-7241 Expose column comments in FeatureType descriptions on selected JDBC stores
  • GEOT-7252 Rename GET_COLUMN_REMARKS to GET_REMARKS to accomodate future table comments support
  • GEOT-7270 GeoTIFFReader should expose GDAL band specific metadata when available
  • GEOT-7275 Add If_Then_Else support to ExpressionTypeVisitor
  • GEOT-7277 Expose assets as a selectable property in STACDataStore


Task


Monday, November 21, 2022

GeoTools 28.0 released

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

Improvements and fixes in this release

Bug

GEOT-6324 WFS-NG online tests don't extend OnlineTestCase
GEOT-7242 Simplification fails for geographic shapes in HANA
GEOT-7244 Constructor GridGeometry2D(Rectangle, Rectangle2D) looses CRS
GEOT-7246 GeoJSON writer throws NPE if no geometry is present in the feature being written
GEOT-7248 app-schema GetFeature numberMatched breaks with views/tables without PK
GEOT-7256 SLDTransformer fails to encode raster symbolizer vendor options
GEOT-7257 GeoCSS misses support for labelInFeatureInfo and labelAttributeName vendor options
GEOT-7258 geojson-core is too lenient parsing as dates strings that are actually not
GEOT-7264 Image mosaic: handle alpha channel as ROI for excess granule removal purposes

Improvement

GEOT-6914 AbstractWfsDataStoreOnlineTest bases service availability on the result of URL.openStream
GEOT-7220 Support datetime2 and datetimeoffset in JDBC SQL Server plugin
GEOT-7230 Implement a HINT parameter as part of the HANA plug-in

Also see the GeoTools 28-RC changes for more information on this series.

Thursday, November 17, 2022

GeoTools 28-RC released

 The GeoTools team is pleased to share the availability GeoTools 28.0-RC :

Improvements and fixes in this release

Bug

GEOT-2063 CRS decode error
GEOT-5911 MongoDB CQL_Filter not working anymore
GEOT-6259 ShapefileReadWriteTest fail on Windows
GEOT-6888 PostGIS - fixed columns lengths when using prepared statements
GEOT-7081 Choose correct EPSG library
GEOT-7150 Name of type in AttributeDescriptor are wrong
GEOT-7154 Sphinx build failure with extlinks (new warnings in Sphinx build)
GEOT-7159 JDBCDataStore : some error messages are inconsistent
GEOT-7161 Aggregate queries with non-database supported queries fail
GEOT-7162 Postgis Partition tests fail on postgres versions below 11
GEOT-7174 Jiffle band selection optimization is not working properly on readers that cannot perform band selection
GEOT-7177 Remove randomSupportedCRS from WMTSCoverageReader
GEOT-7183 STAC datastore community module: part one, STAC client
GEOT-7185 WMS 1.3.0 - GetCapabilities: Tolerate empty Online Resource in Service definition
GEOT-7186 HanaDialect SRID of geometries in columns w/o SRID constraint not detected
GEOT-7187 MockHTTPResponse cannot be replayed, will only work once
GEOT-7198 GeoTIFF native band selection does not work in heterogeneous CRS mosaics
GEOT-7200 GeoTiffReader NegInfinity NoData Handling
GEOT-7203 Split package introduced in gt-geojson-core
GEOT-7208 Missing YSLD support for channel name expressions
GEOT-7210 YSLD styles does not parse/encode layer name
GEOT-7215 Try harder to use bbox and datime search properties in stac-datastore
GEOT-7216 Properly encode BBOX filters in CQL2
GEOT-7217 Allow to specify properties per coverage, in addition to global ones, in indexer.xml
GEOT-7218 Remove ScanForTypeNames property in ImageMosaic, it's not actually used
GEOT-7219 Add a query caching capability to image mosaic
GEOT-7222 Image Mosaic excessive memory usage when mosaicking many little images
GEOT-7225 Assertion in ShpFilesTestStream depends on environment
GEOT-7226 ParameterTypeFactoryTest fails for certain locales
GEOT-7227 FlatGeobufFeatureReader throws a NPE when query filter Literal Expression is a ReferencedEnvelope
GEOT-7229 WMTSCapabilities throws NPE for misconfigured capabilities
GEOT-7231 Z values shapefiles don't handle NaN M values correctly
GEOT-7237 Compile error in gt-ogcapi-client

Improvement

GEOT-6384 Upgrade EJML to 0.38
GEOT-7093 WMTSCoverageReader shouldn't have instance variables for single requests
GEOT-7130 Automated tests for the SAP HANA data store
GEOT-7139 Migrate JDBC tests from JUnit3 to JUnit4
GEOT-7152 Use table spatial_ref_sys to create CRS unknown to the EPSG database
GEOT-7156 Use dialect to customize the desired table type to return the PrimaryKey
GEOT-7157 Support linked table for H2 database
GEOT-7166 Fix jdbc-informix plugin failed test
GEOT-7169 When GeoJsonReader parses a complex nested object, it should capture it as a Jackson JSONNode
GEOT-7172 GeoJSONReader extension to handle top level attributes as well in order to support STAC
GEOT-7173 Oracle DataStore - Allow configuring time out properties for login and socket connection
GEOT-7175 Add native band selection support to the GeoTIFF reader
GEOT-7178 Create a PropertyAccessor that can use XPath to retrieve JSONNode attribute children
GEOT-7179 Upgrade app-schema Jetty test dependency to 9.4.48.v20220622
GEOT-7181 GeoJSONReader should handle paged GeoJSON collections
GEOT-7188 Make GeoJSON reader tolerant to geometry and properties elimination
GEOT-7190 Improve fetching performance while paging through STAC search response
GEOT-7192 STAC datastore: allow full HTTP client configuration
GEOT-7193 STAC datastore: support CQL2 filter encoding
GEOT-7195 WMTS requests can fail as the tilematrixset is double url encoded
GEOT-7204 Allow image mosaic to use the STAC datastore as a granule catalog
GEOT-7205 STAC store: allow configuring number of items used to guess a collection feature type
GEOT-7207 Use parameters instead of hard-coded values for BBOX filters
GEOT-7211 Fix suppressed PMD warnings and add missing file headers in gt-jdbc-hana
GEOT-7212 Support geometry simplification in gt-jdbc-hana
GEOT-7233 Add support for sequences to SQL Server dialect

New Feature

GEOT-7202 Vector Mosaicing Data Store

Task

GEOT-7109 gt-swt module docs update
GEOT-7167 Upgrade JTS to 1.19.0
GEOT-7189 STAC datastore: first implementation
GEOT-7191 Allow users to set a hard limit on how many STAC items a request can fetch, at the store level
GEOT-7221 Upgrade SnakeYAML to 1.32



GEOT-7235 Deprecate org.geotools.util.Java6

Wednesday, September 14, 2022

GeoTools 26.6 released

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

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

Fixes and improvements

Bug

GEOT-7186 SRID of geometries in columns w/o SRID constraint not detected properly

GEOT-7182 TransformFeatureSource can lose paging information while transforming query

Improvement

GEOT-7212 Support geometry simplification in gt-jdbc-hana

GEOT-7207 Use parameters instead of hard-coded values for BBOX filters

GEOT-7179 Upgrade app-schema Jetty test dependency to 9.4.48.v20220622

Task

GEOT-7197 Bump postgresql from 42.3.3 to 42.4.1

About GeoTools 26 Series

  • main is now the default branch, repository now includes .gitattributes file for consistent linefeed handling.
  • 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