[Geomoose-users] Poor quality WMS display in IE

Brent Fraser bfraser at geoanalytic.com
Thu Oct 20 10:33:52 EDT 2011


Dan,

   Looking at this post 
(http://forum.jquery.com/topic/transparent-png-shows-black-edges-in-ie8), it 
implies the problem can be fixed via CSS:

.item img {
       background: transparent;
       -ms-filter: 
"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; 
/* IE8 */
        filter: 
progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   
/* IE6 & 7 */
       zoom: 1;
}

I don't know enough about CSS (or GeoMOOSE's use of CSS for the map 
image) to test it.  What do you think?

Best Regards,
Brent Fraser


On 10/20/2011 8:19 AM, Brent Fraser wrote:
> Bob,
>
>   Check your  "opacity" setting for the WMS <map-source> in your map 
> book and set it to 100 (or remove it).  As Michael points out, IE has 
> problems using both Alpha (a band in the image) and transparency (a 
> setting in the browser) for a PNG image.
> Best Regards,
> Brent Fraser
>
> On 10/19/2011 3:01 PM, Bistrais, Bob wrote:
>>
>> I'm using a WMS service of our base data in a GeoMoose application.  
>> The WMS is at MapServer 6.0.1 with a PNG output type.  My GeoMoose 
>> installation is the Oregon variant 2.2 (MapServer 5.6?).
>>
>> This service looks poor in the application when in Internet Explorer 
>> (version 8), but looks great in Firefox, Chrome, and Safari.  The WMS 
>> also looks fine in ArcGIS, and also in IE with a simple WMS GetMap 
>> request.
>>
>> Right now, the WMS service and my app are on our test server, which 
>> you should be able to look at.  I will give you the caveat that the 
>> application is still being built and many controls are not yet 
>> working, but if anyone wants to take a look, here are the URLs:
>>
>> WMS Service:
>>
>> http://mapservertest.maine.gov/wms/mapserv.exe?map=c:/wms/basemapNew.map&SERVICE=WMS& 
>> <http://mapservertest.maine.gov/wms/mapserv.exe?map=c:/wms/basemapNew.map&SERVICE=WMS&> 
>>     -WMS version 1.1.1
>>
>> Here is the URL for the simple WMS request I tried, and looks OK in IE:
>>
>> http://mapservertest.maine.gov/wms/mapserv.exe?map=c:/wms/basemapNew.map&SERVICE=wms&version=1.1.1&request=GetMap&layers=towns24_poly,Roads,Hydrography&BBOX=437700,4907800,439030,4909100&SRS=EPSG:26919&FORMAT=image/png&width=800&height=600 
>> <http://mapservertest.maine.gov/wms/mapserv.exe?map=c:/wms/basemapNew.map&SERVICE=wms&version=1.1.1&request=GetMap&layers=towns24_poly,Roads,Hydrography&BBOX=437700,4907800,439030,4909100&SRS=EPSG:26919&FORMAT=image/png&width=800&height=600>
>>
>> GeoMoose Application:
>>
>> http://mapservergeotest.maine.gov/broadband/index.html# 
>> <http://mapservergeotest.maine.gov/broadband/index.html>   -Zoom in 
>> on a town and you will see poor graphic quality in IE, but looks good 
>> in other browsers.
>>
>> But what could be causing the poor display only with IE?  Could it be 
>> OpenLayers causing the problem?  Other ideas?  Has anyone else had 
>> this experience?  Is there some setting on IE that I need to adjust?
>>
>> Thanks,
>>
>> Bob
>>
>>
>>
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111020/565de6f0/attachment.html


More information about the Geomoose-users mailing list