[mapserver-users] copyright annotation problem

Nolte, Tim Tim.Nolte at ipcswirelessinc.com
Tue Jan 27 12:42:15 PST 2009


This is my layer definition and it works just fine. What MS release are you on?

# ==================================================
# Layer: Copyright
# ==================================================
LAYER
  NAME copyright
  STATUS DEFAULT
  TYPE annotation
  TRANSFORM false
  FEATURE
    POINTS
      48 6 #this is the position of the text in image coordinates (pixels)
    END
    TEXT "© iPCS Wireless, Inc" #this is your displaying text
  END   
  CLASS
    LABEL #defines the font, colors etc. of the text
      FONT "sans"
      TYPE TRUETYPE
      SIZE 6
      BUFFER 1
      COLOR 0 0 0
      OUTLINECOLOR 245 245 231
      SHADOWSIZE 2 2 
      BACKGROUNDSHADOWSIZE 1 -1 
      FORCE TRUE
    END
  END 
END 


----
Timothy J Nolte - tnolte at ilpcs.com
Network Planning Engineer

iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office: 616-656-5163
PCS:    616-706-2438
Fax:    616-554-6484
Web: www.ipcswirelessinc.com
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Frode Wiseth Jørgensen
Sent: Tuesday, January 27, 2009 3:29 PM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] copyright annotation problem


Hi

Seems like there is a typo.
The letter i  at the END statement of the CLASS.

Frode


kirkwebb2 wrote:
> 
> I am inserting the copyright annotation provided on the 
> Mapserver web site FAQ's. here it is
> 
> LAYER
>    NAME "copyright"
>    STATUS ON
>    TYPE annotation
>    TRANSFORM ll #set the image origin to be lower left
>    FEATURE
>      POINTS
>        60 -10 #set the offset from lower left position in 
> pixels
>      END
>      TEXT "© xyz company 2006" #this is your displaying 
> text
>    END
>    CLASS
>      LABEL #defines the font, colors etc. of the text
>        FONT "sans"
>        TYPE TRUETYPE
>        SIZE 8
>        BUFFER 1
>        COLOR 0 0 0
>        BACKGROUNDCOLOR 255 255 255
>        FORCE TRUE
>      END
>    ENDi
>    UNITS PIXELS #sets the units for the feature object
> END
> 
> I cannot get the text to show up on my map.  I have tried 
> to place as the first layer and last layer but neither way 
> works.
> Has anyone ever had this problem?  What might the problem 
> be?
> I have set the fontset and symbolset correctly.
> Thanks,
> Kirk
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/copyright-annotation-problem-tp2227885p2228118.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list