<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>[Maybe SPAM] Re: [UMN_MAPSERVER-USERS] Printing WMS layers in ArcMap 9.0</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText98904 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Cheers Mike.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr>I've actually just found the answer in one of ESRI's user
forums:</DIV>
<DIV dir=ltr><A
href="http://forums.esri.com/Thread.asp?c=132&f=1341&t=157673&mc=2">http://forums.esri.com/Thread.asp?c=132&f=1341&t=157673&mc=2</A></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Just in case that link moves:</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><!--StartFragment --><TR><TH><FONT
size=2><EM>Subject</TH> <TD class=postvalue>Re:
print wms service </TD> </EM></FONT></DIV>
<DIV dir=ltr></TR><TR><TH><FONT
size=2><EM>Author</TH> <TD
class=postvalue>Graeme Browning </TD> </EM></FONT></DIV>
<DIV dir=ltr></TR><TR><TH><FONT
size=2><EM>Date</TH> <TD
class=postvalue>May 10, 2005 </TD> </EM></FONT></DIV>
<DIV dir=ltr><FONT size=2></TR><TR><TH><EM></EM></FONT></DIV>
<DIV dir=ltr><FONT size=2><EM>Message</TH> </EM></FONT></DIV>
<DIV dir=ltr><FONT size=2><EM></EM></FONT> </DIV>
<DIV dir=ltr><TD class=postvalue><FONT size=2><EM>Hi Bastian <BR><BR>I came
across something similar trying to use Export Map to PDF on a WMS layer that
exported fine to JPG and was given this advice: <BR><BR>"My guess is the JPG
files export without problems because they at drawing at a resolution of 96 dpi.
This is the default resolution for JPG exports. PDF exports, however, have a
default resolution of 300 dpi. We've reproduced the draw failure here, it occurs
in all formats when resolution is 300 dpi. The service layers are dropped in all
export formats and during printing. This confirms that the failure is occuring
at draw time. <BR><BR>We looked further into the issue, and identified a
limitaion on the server's end as the cause of the draw failure. When we peeked
at the server's response from the request sent during the 300 dpi export, it
returned an exception message stating, "Image is wider than maximum allowed
width of 2000". In order to draw the service layer at a resolution of 300 dpi,
ArcMap had requested an image of width=3063 height=2619. The server raised the
exception instead of returning the image. <BR><BR>While this layer draw failure
is not caused by our export implementation, we probably need to do a better job
of providing feedback when exceptions occur during output. When pixel size limit
errors occur on draw to the screen, ArcMap displays an information dialog to
inform the user of the exception. Output, however, does not provide any feedback
mechanism. For now, the only workaround I can recommend is outputing your PDF
file at a lower resolution, something close to 96 dpi. " <BR><BR>In my case
turning the resolution down to 150dpi achieved the result I was looking for -
perhaps you can try doing the same. <BR><BR>- Graeme </TD>
</TR><TR><TH> </TH> </EM></FONT></DIV>
<DIV dir=ltr><FONT size=2><EM></EM></FONT> </DIV>
<DIV dir=ltr><TD class=signature><FONT size=2><EM>Graeme Browning <BR>ESRI
Australia </TD></TR> </EM></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr>While this was talking about JPG files, the problem was
similar with .emf files. I tried exporting to .emf at 200 dpi instead of the
default 300, and the image came out OK. When you go to print, you can't specify
the dpi numerically, but there's a "Output Image Quality" slider from Fast ->
Normal -> Best. I changed it to 'Fast' (default is 'Best'), and it printed
(and previewed - but you have to cancel out of the Print dialog in order to
preview) fine.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Hopefully this info saves somebody else from the puzzled few days I
just had :)</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Cheers,</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Bonnie</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV id=idSignature81740 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Helv size=2>
<DIV>________________________________</DIV>
<DIV>Bonnie Stewart</DIV>
<DIV>Research Officer</DIV>
<DIV>Satellite Remote Sensing Services</DIV>
<DIV>Department of Land Information</DIV>
<DIV> </DIV>
<DIV>Email: <A
href="mailto:Bonnie.Stewart@dli.wa.gov.au">Bonnie.Stewart@dli.wa.gov.au</A></DIV>
<DIV>Phone: 9387 0342</DIV></FONT></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List on behalf of Mike
Davis<BR><B>Sent:</B> Mon 30/05/2005 3:23 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [Maybe SPAM] Re:
[UMN_MAPSERVER-USERS] Printing WMS layers in ArcMap 9.0<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Bonnie-<BR><BR>We use ArcMap extensively and it has become
standard practice in our<BR>GIS shop to export everything to .pdf before
printing.<BR><BR>I am not sure about WMS bugs specifically, but the various
other<BR>problems we have encountered while trying to print maps from
the<BR>modern (8.x 9.x) Arc programs are often solved by using .pdf.<BR><BR>good
luck<BR><BR>-Mike<BR><BR>On 5/29/05, Bonnie Stewart
<Bonnie.Stewart@dli.wa.gov.au> wrote:<BR>> <BR>> Hi
all,<BR>> <BR>> Technically, I suspect this question would be
more appropriate for an ArcGIS<BR>> users forum, but from what I can find
there's not a lot of help out there on<BR>> ArcGIS issues, so I was hoping
someone else from the Mapserver-users<BR>> community might be using ArcMap,
and might have encountered this issue<BR>>
before.<BR>> <BR>> I've got a couple of mapfiles up and running
which are include various<BR>> vector and raster layers, and mostly I'm
accessing them via ArcMap 9.0.<BR>> However, I'm having trouble getting
ArcMap to print my WMS images - print<BR>> preview always comes up blank, and
if you go ahead and print a page anyway,<BR>> it's
blank.<BR>> <BR>> ArcMap's Help says that ArcMap converts maps
to .emf (Windows Enhanced<BR>> Metafile) for printing, and suggests manually
doing an export to .emf and<BR>> then opening up the .emf to see where the
problem lies. Well, I've done<BR>> this, and the .emf comes out entirely
blank. To compare, I've tried<BR>> exporting to .bmp, and that comes out
fine.<BR>> <BR>> Is there a problem with exporting WMS images
to .emf?<BR>> Is it possible to get ArcMap to print from a different export
format?<BR>> <BR>> I have absolutely no GIS experience, so it's
probably something very<BR>> obvious, but all help would be much
appreciated!<BR>> <BR>> (Would be happy to provide the mapfiles
etc, but as I can print fine in<BR>> Internet Explorer, and ArcExplorer 4, I
don't think it's an issue with the<BR>>
mapfiles..)<BR>> <BR>> <BR>>
Cheers,<BR>> <BR>> <BR>>
Bonnie<BR>> <BR>> <BR>>
________________________________<BR>> Bonnie Stewart<BR>> Research
Officer<BR>> Satellite Remote Sensing Services<BR>> Department of Land
Information<BR>> <BR>> Email:
Bonnie.Stewart@dli.wa.gov.au<BR>> Phone: 9387
0342<BR>> <BR>> This e-mail and any files transmitted with it
are intended only for the use<BR>> of the addressee(s). It may contain
information that is confidential and<BR>> privileged. If you are not an
intended recipient, any use, interference<BR>> with, disclosure, distribution
or copying of this material is unauthorised<BR>> and prohibited. If you
receive this in error, please notify the author by<BR>> Return email to the
sender. Information in this message not relating to the<BR>> official
business of DLI shall be understood as neither given nor endorsed<BR>> by it.
While every care is taken, it is recommended that you scan any<BR>>
attachments for viruses. DLI liability is limited to re-supplying
affected<BR>> attachments.<BR>><BR></FONT></P></DIV>
<FONT SIZE=3><BR>
<BR>
This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.<BR>
</FONT>
</BODY>
</HTML>