[mapserver-users] Prnting WMS layers

Brent Fraser bfraser at geoanalytic.com
Thu Dec 1 10:13:31 EST 2011


Bob,

   Sounds like the "type" of PNG is causing the problem.  Have a look at 
the properties (using gdalinfo) of the PNG image the wms produces (use 
"curl" to get and save the image.  Is it RGB? RGBA?

Best Regards,
Brent Fraser


On 12/1/2011 7:31 AM, Bistrais, Bob wrote:
>
> Hi Adam,
>
> I doubt it, but I won't rule out anything.  But the MapServer 
> (non-WMS) layers display fine, so that's one thing that doesn't make 
> sense.
>
> ------------------------------------------------------------------------
>
> *From:*Adam Eskreis [mailto:aeskreis at gmail.com]
> *Sent:* Wednesday, November 30, 2011 5:23 PM
> *To:* Bistrais, Bob
> *Cc:* mapserver-users at lists.osgeo.org
> *Subject:* Re: [mapserver-users] Prnting WMS layers
>
> Is it possible the issue is with the CSS of your print stylesheet?
>
> On Wed, Nov 30, 2011 at 3:30 PM, Bistrais, Bob <Bob.Bistrais at maine.gov 
> <mailto:Bob.Bistrais at maine.gov>> wrote:
>
> Hi all,
>
> I've posted this to the GeoMoose list since the problem was occurring 
> in a GeoMoose application, but also would like to see what insights 
> there may be here on the MapServer list.  Sorry for any duplication.
>
> I have a few WMS layers that I consume in GeoMoose. Some of these are 
> vector line layers such as roads. They look correct in the 
> application's map view. But when I compose a printable map, these 
> layers have a black background which obscures other layers. If I set 
> the "transparent" property to false, the black background goes away, 
> but then I can't see any underlying data.
>
> By the way, I do have control over the WMS services in this case. I 
> tried to set Offsite to 0 0 0, but that didn't seem to help either. 
> The image format should be png, and as best as I can tell, this is 
> what it's producing.  The WMS is at MapServer 6.0.1, while the 
> application is at MS 5.6.  It appears to be some problem with the 
> alpha channels. Any suggestions?
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org <mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111201/48cdc020/attachment.html


More information about the mapserver-users mailing list