Teradata Plugin does no honor SRID when creating BBOX filter query

Description

Bounding Box query filter generated in course of previewing published layer in GeoServer does not honor the spatial reference system of the target layer. May not be honored elsewhere either.

in the logged query that follows should be

where 1619 is coming from the SRID field in the layer's corresponding row of the Geometry_Columns table. Without the explicit specification of the SRID in the constructor for the BBOX geometry, the SRID defaults to 0 and does match the SRID of the feature data against which the intersection is being performed.

Resultant exception:

Environment

64 bit Windows 2008 R2 Server
32bit Tomcat 9.0 instance
Geoserver 2.9.0 Web app
Geoserver 2.9.0 Teradata Plugin (gt-jdbc-teradata-15.0.jar)

Status

Assignee

Unassigned

Reporter

Kevin Healy

Triage

None

Components

Affects versions

Priority

High
Configure