[Mapserver-users] MapInfo -> ogrinfo style and label

Merrett, Mike mike.merrett at city.whitehorse.yk.ca
Fri May 21 19:19:14 EDT 2004


Thank you -- this problem has been bugging me for a month -- Thank you

-----Original Message-----
From: Daniel Morissette [mailto:dmorissette at dmsolutions.ca]
Sent: May 21, 2004 4:14 PM
To: Merrett, Mike
Cc: 'Mapserver-users at lists.gis.umn.edu'
Subject: Re: [Mapserver-users] MapInfo -> ogrinfo style and label


Merrett, Mike wrote:
> 
>   Style = LABEL(t:"1337",a:265.000000,s:32.001486g,c:#000000,p:1,f:"")

The font is set to "" in this style string.  Since MapServer cannot find 
a TTF font called "" in your fontset, it falls back on using bitmap 
fonts, and bitmap fonts cannot be rotated.

The simplest solution would be to create a font called "default" in your 
fontset and the styleitem auto will use that font by default and you 
should get your rotated labels.

-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list