Can someone point me in the right direction? Somewhat new to GIS / GeoServer. I'm attempting to configure meta-tiling on GeoserverWebCache as described here. We've run into the duplicate label problem with out vector tiles. Currently we make requests in the following way :

.path("/geoserver/gwc/service/tms/1.0.0/{layerName}/{zoom}/{x}/{y}.{format}").build("search:$layerName@EPSG%3A900913@pbf", zoom, x, y, format)

Geoserver logs return the following :

Logs from Geoserver

The documentation states that we need to set tiled=true. My question is, how would I alter the above get request to set the tiled parameter?

What I've tried

I've attempted the following solution by changing the request like so :


GeoServer then returns with the following error :

Caused by: java.sql.SQLException: java.sql.SQLException: Coordinates out of bounds in ST_GeomFromText.
        at org.geotools.jdbc.JDBCFeatureReader.runQuery(JDBCFeatureReader.java:282)
        at org.geotools.jdbc.JDBCFeatureReader.<init>(JDBCFeatureReader.java:153)
        at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:620)
        ... 145 more
Caused by: java.sql.SQLException: Coordinates out of bounds in ST_GeomFromText.
        at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3129)
        at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3394)
        at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2292)
        at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2217)
        at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1461)
        at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java:183)
        at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:968)
        at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:165)
        at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at org.geotools.jdbc.JDBCFeatureReader.lambda$new$0(JDBCFeatureReader.java:153)
        at org.geotools.jdbc.JDBCFeatureReader.runQuery(JDBCFeatureReader.java:271)

UPDATE : This is an example of the duplicate label probem we're encoutering. enter image description here

  • There's no need for a tiled parameter in a wmts request. But metatiling won't solve your label problem (or the one you show) you need to provide a fixed location for the label and set the vendor option partials to true.
    – Ian Turton
    Nov 14, 2023 at 7:45
  • @IanTurton, I've updated the question with an example of the issue. Nov 14, 2023 at 19:31
  • That is not related to the error,
    – Ian Turton
    Nov 14, 2023 at 19:37
  • See gis.stackexchange.com/a/37196/79
    – Ian Turton
    Nov 14, 2023 at 19:40
  • Thanks but that link is styling it on the server, which is not an option. I need to do this within Openlayers @IanTurton Nov 15, 2023 at 3:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.