Ran into a problem with this Annotation stuff. Trying to apply a PNG symbol as annotation. Can't seem to get anything to display. I'm past the error though, and my text layer displays just fine. The last layer is the problem one.

Thanks.

bobb



Symbol definition:

SYMBOL
   NAME 'moose_logo_90x42'
   TYPE PIXMAP
   IMAGE 'moose_logo_90x42.png'
TRANSPARENT 8 ## QUESTION, what does this do anyway ???? It broke without it in there
END

Mapfile:

MAP
   NAME 'point'
   UNITS FEET

   TRANSPARENT TRUE
   IMAGETYPE PNG

   SYMBOLSET point.symbols
   FONTSET font.list
LAYER
       NAME 'copyright'
       TYPE ANNOTATION
       TRANSFORM LL
       STATUS DEFAULT
       FEATURE
           POINTS 200 -10 END
TEXT 'City of Saint Paul, Public Works, Technical Services - This is NOT a legal document'
       END
       CLASS
           LABEL
               TYPE truetype
               FONT bluehigh
               COLOR 0 0 0
               OUTLINECOLOR 254 254 254
               SHADOWSIZE 1 1
               SIZE 11
           END
       END
   END
   *LAYER
       NAME 'moose'
       TYPE ANNOTATION
       TRANSFORM CC
       STATUS DEFAULT
       FEATURE
           POINTS 0 0 END
       END
       CLASS
           STYLE
               SYMBOL "moose_logo_90x42"
               COLOR 0 0 0
               OUTLINECOLOR 0 0 0
           END
       END
   END*

END



Bob Basques wrote:
This is a multi-part message in MIME format.
--------------050300050700000903050405
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

All,

I guess I need to look harder next time, looks like it's in the newest version 
already . . . .  Silly me.

This works now. (COOL!)

MAP
     NAME 'point'
     UNITS FEET

     TRANSPARENT TRUE
     IMAGETYPE PNG

     SYMBOLSET point.symbols

     LAYER
         NAME 'copyright'
         TYPE ANNOTATION
         TRANSFORM LL
         STATUS DEFAULT
         FEATURE
             POINTS 40 -10 END
             TEXT 'Technical Services'
         END
         CLASS
             LABEL
                 TYPE BITMAP
                 COLOR 254 254 254
                 OUTLINECOLOR 0 0 0
                 SHADOWCOLOR 0 0 0
                 SHADOWSIZE 1 1
                 SIZE TINY
             END
         END
     END
END

bobb

--

****************  You can't be late until you show up.  ***************
************  You never learn anything by doing it right.  ************
***  War doesn't determine who's right. War determines who's left.  ***

begin:vcard
fn:Bob Basques
n:Basques;Bob
org:City of Saint Paul;Public Works
adr:1000 CHA, Technical Services, GIS;;25 West 4th Street;Saint Paul;MN;55102;USA
email;internet:[EMAIL PROTECTED]
title:CAD Manager / GIS Systems Developer
tel;work:651.266.6188
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to