GIF labeling

Kumar kumar at NEWFIELDS.COM
Thu Sep 22 10:49:27 EDT 2005


That would just give me the symbol with the shield without line symbol. I
need the symbol as a line and the label with shield.

I was wondering if labels can be overlapped using GIF image and label.

- kumar


-----Original Message-----
From: work at xwb.com [mailto:work at xwb.com] 
Sent: Thursday, September 22, 2005 9:20 AM
To: 'Kumar'
Subject: RE: [UMN_MAPSERVER-USERS] GIF labeling

In your map file, first define a symbol with the path to your image like
this:

  SYMBOL
    NAME "School"
    TYPE pixmap
    IMAGE "school.gif"
    FILLED false
  END


Then reference that symbol in your layer:

LAYER
  NAME Schools
  TYPE Point
  STATUS Off
  DATA 'ShapeFiles/Washington/schools/schools'
  LABELITEM 'Name'
  CLASS
    STYLE
	  OUTLINECOLOR 0 0 0
	  COLOR 255 0 0
	  SYMBOL "School"
     END
   END
 END


Chip Taylor
Prepared Response, Inc.

> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> Behalf Of Kumar
> Sent: Wednesday, September 21, 2005 9:17 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] GIF labeling
> 
> Hi all,
> 
> Is it possible to label using gif's?. For example I want to label the
> interstate with the interstate shield symbol with the number inbetween. Is
> there any way to do this??.
> 
> 
> 
> Thanks,
> 
> - kumar
> 
> 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: Clipboard01.jpg
Type: image/jpeg
Size: 4911 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050922/7c520437/Clipboard01.jpg


More information about the mapserver-users mailing list