[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] [jira] Created: (UDIG-672) BasicWMSRenderer2 + WMS connection from MapServer
|
BasicWMSRenderer2 + WMS connection from MapServer
--------------------------------------------------
Key: UDIG-672
URL: http://jira.codehaus.org/browse/UDIG-672
Project: uDIG
Type: Bug
Components: wms
Versions: UDIG 1.1.M2
Environment: WMS connection from MapServer (http://mapserver.gis.umn.edu )
Reporter: Vitali Diatchkov
Assigned to: Richard Gould
This bug appears when MapServer from University of Minnesota as a WMS server is used.
in BasicWMSRenderer2.render(...) routine "transparent" property of GetMapRequest instance is always set to "true":
request.setTransparent(true);
but if MapServer is used through WMS protocol and "format" parameter has the following values: "image/jpeg" or "image/bmp", whatever format that is not able to be transparent - in this case MapServer doesn't generate image.
Only if "image/png" is specified as a format parameter value - only in that case MapServer handles TRANSARENT=TRUE in WMS GetMap query. If "image/jpeg" or "image/jbmp" formats are specified and TRANSARENT=TRUE then an error happens.
But combinations of parameters "TRANSARENT=FALSE&FORMAT=image/jpeg" or "TRANSARENT=FALSE&FORMAT=image/bmp" works fine.
So, in BasicWMSRenderer2.render(...) the "transparent" property of GetMapRequest instance should be set depending on image format to be used.
I can provide URL to WMS connection from MapServer to take a look into the problem if it is needed, just request in comments.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira