Skip to content

WMS publication fails when layer bbox cannot be transformed to all configured SRS #1178

Description

@honza2

When publishing a layer that combines a QML style with data located in South America, WMS publication fails on the QGIS Server.

GeoServer log:

Could not find layer l_xxx in the server capabilitiles document

QGIS Server log:

Error transforming extent for layer l_xxx:
Forward transform (EPSG:3857 to EPSG:32633) of bounding box failed:
Point outside of projection domain

How to reproduce the error

Prerequisites:

  • LAYMAN_OUTPUT_SRS_LIST=4326,3857,5514,32633,32634,32719
  • The layer contains data from South America (e.g. Chile)
  • Native CRS: EPSG:3857
  • QML style applied

Result

  • QGIS logs transformation errors
  • QGIS returns empty GetCapabilities
  • WMS publication fails

Temporary workaround

Disabling unused coordinate reference systems in LAYMAN_OUTPUT_SRS_LIST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions