[GeoNetwork-devel] [GeoNetwork opensource Developer website] #331: permit to choose image format in wms add window

#331: permit to choose image format in wms add window
----------------------------+-----------------------------------------------
Reporter: landry | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: major | Milestone: v2.7.0
Component: Web Map Viewer | Version: v2.6.0
Keywords: |
----------------------------+-----------------------------------------------
As of now, when adding a wms layer to the map viewer, image/png is used as
default. This is fine for vector layers, but when adding raster layers
(maps,orthophotos) this gives ugly layers, which are way better rendered
using image/jpeg, hence the need for a selector with the available formats
from getcapabilities (maybe trimmed to png/jpeg).

One can still hack the wms backend to return jpeg data when asked for
format=image/png, but this is rather ugly.

Of course you can object that those layers should be used as baselayers
instead... but one never chooses what wms server the end-used will want to
use as overlay layers.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/331&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#331: permit to choose image format in wms add window
----------------------------+-----------------------------------------------
Reporter: landry | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.7.0
Component: Web Map Viewer | Version: v2.6.0
Keywords: |
----------------------------+-----------------------------------------------
Changes (by landry):

  * priority: major => minor

Comment:

Oh, and from my understanding of the code, this is hardcoded in the
definition of GeoNetwork.tree.WMSTreeGenerator in
scripts/map/widgets/tree/WMSTreeGenerator.js

Marking as minor prio while here..

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/331#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.