[Mapserver-users] pdf output
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Mon Sep 1 16:02:41 PDT 2003
Michael,
I think I remember running into a problem with libpdf that had to do
with the fact that I had pdf support built into PHP and into
mapserver/mapscript. In my case, the PHP used its own internal libs
and mapserver used the system libs which resulted in crashing. But I
think this was specific to php_mapscript. Currently ./configure does
not detect this and prevent you from building a bad configuration.
For details see http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=370
If this turns out to be your problem also please make a note in this
bug so we can track how big this problem is for other people.
Thanks,
-Steve W.
> -----Original Message-----
> From: Michael Heldt [mailto:mewsick at web.de]
> Sent: Monday, September 01, 2003 3:54 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] pdf output
>
>
>
>
>
> Hi List,
>
> I was trying to create a pdf using the outputformat tag, everything's
> working fine until I try to include an annotation layer... As long as
> i use polygon, line and point layers a pdf is created. When I add the
> annotation layer Mapserver is crashing... Can I use annotation layers
> at all? Or is there something wrong in my mapfile? I'll add a rough
> sample of my mapfile below this message. Maybe you can help me find
> the problem if there is one.
>
> Thanks in advance
>
> Micha
>
> >>> Mapserver 4.0, W2K, Apache
>
> NAME PDFTest
> IMAGETYPE pdf
> EXTENT -439.1858 -720.1234 523.3631 180.1234
> SIZE 1200 1050
> STATUS ON
> UNITS meters
> SHAPEPATH "daten"
> FONTSET "d:/my/path/to/the/fonts.list"
>
> WEB
> TEMPLATE templ_bplan.html
> IMAGEPATH "d:\there\are\the\pics\"
> IMAGEURL "/the/pics/"
> LOG "log.txt"
> END
>
> OUTPUTFORMAT
> NAME pdf
> MIMETYPE "application/x-pdf"
> DRIVER pdf
> EXTENSION "pdf"
> END
>
> ... ... ...
>
> LAYER
> NAME POLYLINES
> DATA oralllin
> STATUS DEFAULT
> TYPE LINE
>
> CLASS
> EXPRESSION /./
> COLOR 6 131 255
> END
> END
>
> ... ... ...
>
> LAYER # Label
> NAME LABELS
> DATA oralllabels
> STATUS DEFAULT
> TYPE ANNOTATION
>
> LABELITEM "LABEL"
> CLASSITEM "LAYER"
>
> CLASS
> EXPRESSION ('[LAYER]' eq 'Verfahr' and '[LABEL]' ne
> 'RECHTSGRUNDLAGE' and '[LABEL]' ne 'VERFAHRENSVERMERKE:')
> #EXPRESSION /./
> LABEL
> COLOR 0 0 0
> TYPE TrueType
> FONT Arial
> Size 6
> POSITION cr
> PARTIALS TRUE
> ANTIALIAS TRUE
> FORCE TRUE
> END # end of label
> END # end of class object
> END
> END # end of mapfile
>
> ______________________________________________________________________
> __ __ Die sicherste Form der Kommunikation: E-Mails verschluesseln,
> Spam-Filter, Adressverifizierung, digitale Unterschrift:
> http://freemail.web.de <http://freemail.web.de>
> _______________________________________________ Mapserver-users
> mailing list Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list