[Geoserver-devel] OL output format not available in wms 1.3 caps, proposing a change in mime type

Hi,
the OL output format is not available in the 1.3 capabilities because its mime type, “text/html”,
is not part of the output format names, we get the following output:

23 gen 13:05:09 WARN [wms.capabilities] - Map output format text/html (class org.geoserver.wms.map.OpenLayersMapOutputFormat) does not include mime type in output format names. Will be excluded from capabilities document.

Now… we could include it, but “text/html” is imho too generic. What if we want to add other
map browsers in the future, maybe something based on GeoExt, or Leaflet, they would
need the same mime.

I’ve tried with “text/html; subtype=openlayers”, this is unique enough and from my tests
it works with Chrome, Firefox, IE7, Opera 12 and Dolphin (Android specific browser).

Opinions?

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it 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


Sounds good to me.

···

On Thu, Jan 23, 2014 at 5:05 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
the OL output format is not available in the 1.3 capabilities because its mime type, “text/html”,
is not part of the output format names, we get the following output:

23 gen 13:05:09 WARN [wms.capabilities] - Map output format text/html (class org.geoserver.wms.map.OpenLayersMapOutputFormat) does not include mime type in output format names. Will be excluded from capabilities document.

Now… we could include it, but “text/html” is imho too generic. What if we want to add other
map browsers in the future, maybe something based on GeoExt, or Leaflet, they would
need the same mime.

I’ve tried with “text/html; subtype=openlayers”, this is unique enough and from my tests
it works with Chrome, Firefox, IE7, Opera 12 and Dolphin (Android specific browser).

Opinions?

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it 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



CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


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

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive