[mapserver-users] Prnting WMS layers

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Dec 1 10:25:56 EST 2011


Hi Brent,

 

I'll admit to some ignorance here, not sure how to use the curl command
in that capacity- do you have an example?

 

Regarding the output format, here is what I have on the WMS server side:

 

OUTPUTFORMAT

  NAME "agg"

  DRIVER "AGG/PNG"

  MIMETYPE "image/png"

  EXTENSION PNG

  IMAGEMODE RGBA

  TRANSPARENT ON

  FORMATOPTION "INTERLACE=OFF"

END

 

 

-But I'm still looking for something on the client side (GeoMoose side)
which might be manipulating that image, since this problem is only
happening with the printed map images.

 

________________________________

From: Brent Fraser [mailto:bfraser at geoanalytic.com] 
Sent: Thursday, December 01, 2011 10:14 AM
To: Bistrais, Bob
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Prnting WMS layers

 

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>
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
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/ae667149/attachment.html


More information about the mapserver-users mailing list