On GeoServer I have published a layer in custom projection I called it EPSG:60900
. When I open this layer in Leaflet or OpenLayers it's works fine. In GeoServer log I see that client sends requests in my projection:
Request: getMap
Time = []
Buffer = 0
Format = image/png
Filter = null
Filters = null
Height = 752
Width = 768
RemoteOwsType = null
RemoteOwsURL = null
FormatOptions = {}
CQLFilter = null
Elevation = []
FeatureId = null
StartIndex = null
ViewParams = null
Palette = null
Tiled = false
SRS = EPSG:60900
FeatureVersion = null
Styles = [StyleImpl[ name=line]]
Layers = [org.geoserver.wms.MapLayerInfo@2d3b64a0]
MaxFeatures = null
Now I want to open this WMS layer in QGIS. At first I add SRS definition in QGIS. And open my layer. And here a problem. In moment where I add WMS layer QGIS does not allow me set custom SRS to layer, so I choose Mercator.
After in layer properties I set layer and project SRS as my custom coordinate system.
But QGIS sends request in another SRS:
Request: getMap
Time = []
Buffer = 0
Format = image/png
Filter = null
Filters = null
Height = 1195
Width = 1236
RemoteOwsType = null
RemoteOwsURL = null
FormatOptions = {DPI=96}
CQLFilter = null
Elevation = []
FeatureId = null
StartIndex = null
ViewParams = null
Palette = null
Tiled = false
SRS = urn:x-ogc:def:crs:EPSG:3857
FeatureVersion = null
Styles = [StyleImpl[ name=line]]
Layers = [org.geoserver.wms.MapLayerInfo@2d3b64a0]
MaxFeatures = null
What can be wrong?