[Geoserver-devel] 2.6-RC2 not needed?

Hi,

I wrote into this thread because Andrea said that he is trying to have a look at the cascading WMS issue during the weekend. I will start a new thread if there will not be RC2 or if cascading will not be fixed directly into 2.6 release. I am pretty sure now that it is broken but it works in 2.5.2 and that Geoserver users who cascade WMS should not update to 2.6.

With Geoserver 2.5.2 Snaphot (02-May-2014 15:26) neither of the issues happen:

  • If I make requests to Geoserver in EPSG:3857 it is also sending GetMaps to the remote WMS in EPSG:3857 and cascading works as supposed. Tested with “World country boundaries” layer which gets a native SRS EPSG:4326.

  • Creating store from demo.mapserver.org succeeds also with WMS 1.3.0. However, the GetCapabilities document is the same and comes with the GetSchemaExtension. Doesn’t it mean “We are GeoServer we sometimes validate ™”?

-Jukka Rahkonen-

···

Jody Garnett wrote:

Jukka maybe you could start a seperate thread for WMS cascade? … we have lost track of either finding a volunteer for RC2 - or deciding nightly builds will be good enough.

Jody Garnett

On Thu, Aug 28, 2014 at 4:10 PM, Rahkonen Jukka (Tike) <jukka.rahkonen@…1245…> wrote:

Hi,

The Mapserver demo server can be used for testing the problem with WMS-cascading on GS 2.6-Snapshot.

Create a WMS store with URL http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getcapabilities

Create layer from World boundaries. Cascading works OK in EPSG:4326 but when client asks data from Geoserver in EPSG:3857 it is changing the BBOX but keeps SRS as EPSG:4326.

DEBUG [geotools.map] - Issuing request: http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&LAYERS=country_bounds&FORMAT=image%2Fpng&HEIGHT=11&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=11&BBOX=-2967.7009606913443,-1615.333033692297,3339.5168885531725,1454.928444560418&STYLES=&SRS=EPSG:4326&VERSION=1.1.1

-Jukka-


Lähettäjä: Jody Garnett [jody.garnett@…403…]
Lähetetty: 29. elokuuta 2014 0:49
Vastaanottaja: Rahkonen Jukka (Tike)
Kopio: Geoserver-devel

Aihe: Re: [Geoserver-devel] 2.6-RC2 not needed?

On Thu, Aug 28, 2014 at 2:41 PM, Rahkonen Jukka (Tike) <jukka.rahkonen@…1245…> wrote:

Hi Jody,

It was indeed our Mapserver 6.4.1. It is unfortunately not open for testing but luckily this one answers alike:

http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=Getcapabilities

http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetSchemaExtension

The latter one does not get an answer.

Feels like a bug in Mapserver but is there some special reason to validate the WMS GetCapabilities? As far as I know we do not validate WFS requests very much, or do we?

What can I say - We are GeoServer we always validate ™.

Our XML parsing technologies tend to use the XML Schemas like driving instructions for parsing the content. That is kind of what they are for, but I do not think many projects take that as literally as we do :frowning:

Here is some reading material with diagrams:


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Fri, Aug 29, 2014 at 9:47 AM, Rahkonen Jukka (Tike) <
jukka.rahkonen@anonymised.com> wrote:

- Creating store from demo.mapserver.org succeeds also with WMS 1.3.0.
However, the GetCapabilities document is the same and comes with the
GetSchemaExtension. Doesn’t it mean “We are GeoServer we sometimes validate
(tm)”?

It's more "we are too many developers and we do not always do things in a
consistent way".

About validation, it's more true that we try to never validate unless
required (request validation is not enabled unless the cite test hacks are
enabled for example,
sld validation is a manual operation, and so on).

It is true that we have schema driven parsers though, so I'm a bit
surprised we are not fetching the schema in 2.5.x,
but as said, don't remember exactly how the wms client code works.

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------