Problems showing mapInfo text layer without OGR

Fawcett, David David.Fawcett at STATE.MN.US
Tue May 2 17:55:06 PDT 2006


Andrew, 

Take a look at the case of the font names in fonts.list and the font file names.  I ran into an issue where the file names in fonts.list were lowercase and the actual file names were mixed case.  

David.


-----Original Message-----
From: UMN MapServer Users List on behalf of Andrew Williams
Sent: Tue 5/2/2006 6:08 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Problems showing mapInfo text layer without OGR
 
Fred,
I'm no master when it come to mapserver, but don't you need to define a font in the calss declaration? eg FONT Bitmap
SIZE 2
 
We've recently ported our Mapserver environment from Linux (worked perfectly) to a Windows environment.
 
We had and continue to have problems with fonts. We don't seem to be able to use true type fonts (I'm sure we'll sort it out). Hence my suggestion for Bitmap fonts.
 
regards
Andrew

	-----Original Message----- 
	From: Frederico Lucca [mailto:fredlucca at GMAIL.COM] 
	Sent: Wed 5/3/2006 12:58 AM 
	To: MAPSERVER-USERS at LISTS.UMN.EDU 
	Cc: 
	Subject: [UMN_MAPSERVER-USERS] Problems showing mapInfo text layer without OGR
	
	
	Hello all,
	
	I have a mapinfo text layer and i need to view it on the map.
	I use ogr2ogr to convert to esri shape format and put in my mapfile but i can't see the layer.
	I have a multi-thread environment, then i don't want to use OGR, because of mutex. 
	
	LAYER
	 NAME TB
	 TYPE annotation
	 #STYLEITEM "auto"
	 #CONNECTIONTYPE ogr
	 #CONNECTION "/var/www/maps/TB.TAB"
	 DATA "/var/www/maps/shp/TB"
	 STATUS DEFAULT
	 MINSCALE 1 
	 MAXSCALE 50000
	 CLASS
	  COLOR 255 0 0
	  OUTLINECOLOR 171 158 137
	 END
	END
	
	Thanks in advance.
	
	Fred
	
	-- 
	"Everything under the sun is in tune
	But the sun is eclipsed by the moon" 



More information about the MapServer-users mailing list