[Mapserver-users] TTF question

Paul Ramsey pramsey at refractions.net
Mon Jul 26 17:07:44 EDT 2004


You will have to get the character, but you might find you can do it 
on-the-fly in your PostgreSQL query using the chr() function.

select the_geom,chr(glyph) from thetable

On Monday, July 26, 2004, at 12:40 PM, Zamil Murji wrote:

> Hello,
>
> I'm using mapserver 4.2. I have a layer that uses a postgis db. 
> Everything works fine when I use a simple symbol like a filled circle 
> to display the points. Inside the db, I have a column that has the 
> glyph index into the TTF file to show. So instead of showing a filled 
> circle, I would like to display the glyph index. Can this be done? Or 
> should I find out what character corresponds to that glyph index, 
> create another column, perform an update statement to convert the 
> glyph index to the character, and then display this layer as type 
> annotation?
>
> Any help would be appreciated.
> Zamil
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
      Paul Ramsey
      Refractions Research
      Email: pramsey at refractions.net
      Phone: (250) 885-0632




More information about the mapserver-users mailing list