I tried to use cascade of WMS from this portal in order to cache wms layers


Native for this portal is EPSG:3765, but EPSG:31275 is also supported But while direct access to WMS returns correct result:


cascaded WMS with exactly the same parameters returns all-white image. And in documentation of Geoserver it says that while cascading if the requested projection exists on remote server it will serve it from remote server, otherwise it will reproject it.

What could be going wrong, why isn't geoserver just returning correct image from remote service?

Geoserver version used is 2.2.

  • It seems that for some reason geoserver decides to flip X/Y coordinates. Ie, I got this URL in log when trying to access directly through GWC, rather than Geoserver geoportal.dgu.hr/… 55xxx numbers should be first coordinate (as given in original request), 50Xxxx the second. So how to prevent such behaviour? Apr 8, 2013 at 9:17
  • So I managed to circumevent this by flipping XY order in OL requests. But is there a way to do this natively on Geoserver? Apr 8, 2013 at 18:42

2 Answers 2


GeoServer provides support for Open Geospatial Consortium (OGC) Web Map Service (WMS) versions 1.1.1 and 1.3.0. In 1.1.1 geographic coordinate systems specified with the EPSG namespace are defined to have an axis ordering of longitude/latitude. In 1.3.0 the ordering is latitude/longitude.

Your WMS url was for 1.1.1, change it to 1.3.0 and it should all be ok.


It seems that easiest solution for my problem was to add layer directly to GWC via RESTful service, instead of cascading via Geoserver.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.