[Mapserver-users] Label Prefix in Mapfile

Paul Ramsey pramsey at refractions.net
Wed Jan 15 15:02:38 EST 2003


Another place where PostGIS could come to the rescue.. just do the name 
processing as part of the SQL query :)

P.

Hankley, Chip wrote:
> Is it possible to add CLASS specific prefixes to labels via the mapfile? 
> 
> For instance, I have a layer showing municipal boundaries; this layer is
> broken out into several classes, one for City, Town, and Village. For my
> CITY class, I would like my labels to be rendered as 'City of ' +
> [MCD_NAME], villages as 'Village of ' + [MCD_NAME] etc.

-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the mapserver-users mailing list