[Mapserver-users] pdf output

Michael Heldt mewsick at web.de
Mon Sep 1 00:54:24 PDT 2003


<html><base href=3D"https://freemail.web.de/"/><style>p {margin: 0px}</style=
><body style=3D'font-size:9pt; font-family:Verdana; font-family: Verdana' >&=
nbsp;<P class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMI=
LY: Arial; mso-ansi-language: EN-GB">Hi List,<=3Fxml:namespace prefix =3D o ns=
 =3D "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P cl=
ass=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial;=
 mso-ansi-language: EN-GB">I was trying to create a pdf using the outputfo=
rmat tag, everything=92s working fine until I try to include an annotation l=
ayer=85 As long as i use polygon, line and point layers a pdf is create=
d. When I add the annotation layer Mapserver is crashing... Can I use anno=
tation layers at all=3F Or is there something wrong in my mapfile=3F <SPA=
N lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language=
: EN-GB">I'll add a rough sample of my mapfile below this message. Maybe y=
ou can help me find the problem if there is one. </SPAN></SPAN></P><P clas=
s=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; m=
so-ansi-language: EN-GB"><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAM=
ILY: Arial; mso-ansi-language: EN-GB">Thanks in advance</SPAN></SPAN></P><=
P class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Ar=
ial; mso-ansi-language: EN-GB"><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FO=
NT-FAMILY: Arial; mso-ansi-language: EN-GB">Micha</SPAN></P></SPAN><P clas=
s=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; m=
so-ansi-language: EN-GB">>>> Mapserver 4.0, W2K, Apache </SPAN></=
P><P class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY:=
 Arial; mso-ansi-language: EN-GB">NAME PDFTest<BR>   IMAGETYPE p=
df<BR>   EXTENT -439.1858 -720.1234 523.3631 180.1234<BR> &=
nbsp; SIZE 1200 1050<BR>   STATUS ON<BR>   UNITS meter=
s<BR>   SHAPEPATH "daten"<BR>   FONTSET   "d=
:/my/path/to/the/fonts.list"</SPAN></P><P class=3DMsoNormal><SPAN lang=3DEN-GB=
 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">WEB=
<BR>   TEMPLATE templ=5Fbplan.html<BR>   IMAGEPATH "d:\t=
here\are\the\pics\"<BR>   IMAGEURL "/the/pics/"<BR>   =
LOG "log.txt"<BR>END</SPAN></P><P class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"=
FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB"> OUTPU=
TFORMAT<BR>   NAME pdf<BR>   MIMETYPE "application/x-p=
df"<BR>   DRIVER pdf<BR>   EXTENSION "pdf"<BR>&nb=
sp;END</SPAN></P><P class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10p=
t; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">... ... ...</SPAN></P><P =
class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Aria=
l; mso-ansi-language: EN-GB">LAYER<BR>  NAME POLYLINES<BR>  DATA=
 oralllin<BR>  STATUS DEFAULT<BR>  TYPE LINE<BR>  &nbs=
p; <BR>  CLASS<BR>    EXPRESSION /./ <BR> &n=
bsp;  COLOR 6 131 255<BR>  END  <BR>END  </SPAN><=
/P><P class=3DMsoNormal><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY=
: Arial; mso-ansi-language: EN-GB">... ... ...</SPAN></P><P class=3DMsoNorma=
l><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-la=
nguage: EN-GB"></SPAN><SPAN lang=3DEN-GB style=3D"FONT-SIZE: 10pt; FONT-FAMILY=
: Arial; mso-ansi-language: EN-GB">LAYER # Label<BR>  NAME LABELS<BR>=
  DATA oralllabels<BR>  STATUS DEFAULT<BR>  TYPE ANNOTATION=
<BR>  <BR>  LABELITEM "LABEL"<BR>  CLASSITEM "LAYER"<B=
R> <BR>  CLASS  <BR>    EXPRESSION ('[LAYER]=
' eq 'Verfahr' and '[LABEL]' ne 'RECHTSGRUNDLAGE' and '[LABEL]' ne 'VERFAH=
RENSVERMERKE:')<BR>    #EXPRESSION /./<BR>  &nbsp=
; LABEL<BR>      COLOR 0 0 0<BR>  &nbsp=
;   TYPE TrueType<BR>      FONT Arial<B=
R>      Size 6<BR>      =
POSITION cr<BR>      PARTIALS TRUE<BR> &nbsp=
;    ANTIALIAS TRUE<BR>      FORCE=
 TRUE<BR>    END # end of label<BR>  END # end of&nbsp=
; class object<BR>END<BR>END   # end of mapfile</SPAN></P></body=
></html>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
<br>Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Fil=
ter,<br>Adressverifizierung, digitale Unterschrift: <A HREF=3D"http://freema=
il.web.de"><B>http://freemail.web.de</B></A>




More information about the MapServer-users mailing list