<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial>Hi</FONT></DIV>
<DIV><FONT face=Arial>I dont see any logical reason why the pdf output would be
different from the web output, the mapserver request is normaly the same on both
case. I would need to debug the map generation query to know more
about.</FONT></DIV>
<DIV><FONT face=Arial>this is only a workaround but maybe try to
define a default class without label in your Contours layer</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>regards</FONT></DIV>
<DIV><FONT face=Arial>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=samnyoung@hotmail.com href="mailto:samnyoung@hotmail.com">Sam
Young</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 11, 2008 8:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Unwanted labels
in Print to Pdf</DIV>
<DIV><BR></DIV>
<STYLE>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</STYLE>
<STYLE>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</STYLE>
I am getting unwanted labels when I use the Print to PDF function. For
example, my "Minor" Contours are being labeled when I have not specified them
to be labeled at all. My site can be found at <A
href="http://trailweb.net/cartoweb3/htdocs/sampleProject.php">http://trailweb.net/cartoweb3/htdocs/sampleProject.php</A>
Attached are my exportPdf.ini file and an example pdf Map. Below is the
code from my .map file:<BR><BR>LAYER #Contours<BR>
NAME
"Contours"<BR>
TILEINDEX <BR>
TILEITEM
<BR>
STATUS default<BR>
TYPE
line<BR>
MAXSCALE 50000<BR>
CLASSITEM
"Intervall"<BR>
LABELITEM "CONTOUR"<BR>
CLASS<BR>
NAME "Minor"<BR>
EXPRESSION ('[Intervall]' eq 'Minor')<BR>
STYLE<BR>
SYMBOL
"MinorContour"<BR>
COLOR 130 130
130<BR>
END<BR>
END<BR>
<BR>
CLASS<BR>
NAME "Major"<BR>
EXPRESSION ('[Intervall]' eq 'Major')
<BR>
STYLE<BR>
COLOR 0 0 0<BR>
END<BR>
<BR>
LABEL<BR>
TYPE truetype<BR>
OUTLINECOLOR
255 255 255<BR>
COLOR 0 0 0<BR>
FONT arial<BR>
SIZE
7.5<BR>
ANGLE auto<BR>
MINFEATURESIZE auto<BR>
END
<BR> END<BR> END
#Contours<BR><BR><BR>Thanks for any suggestions.<BR><BR>Sam<BR><BR><BR>
<HR>
Need to know the score, the latest news, or you need your HotmailŪ-get your
"fix". <A href="http://www.msnmobilefix.com/Default.aspx" target=_new>Check it
out.</A>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>