[Mapserver-users] How to Draw Annotation Layer Last

TCHaddad TCHaddad at cshore.com
Wed Jan 22 13:53:13 EST 2003


Dan

I think your layer definition is missing LABELITEM ... so mapserver does not know what labels to draw.

TH

----------------

Message: 12 
Date: Tue, 21 Jan 2003 12:07:56 -0800 
To:  mapserver-users at lists.gis.umn.edu 
From: Dan Barron 
Subject: RE: [Mapserver-users] How to Draw Annotation Layer Last 

--=====================_7244625==.ALT 
Content-Type: text/plain; charset="iso-8859-1"; format=flowed 
Content-Transfer-Encoding: quoted-printable 

Thanks Ed & Chip, 

I tried to set the layer to type point and the problem persists. 

When I try to use the 'drawLabelCache()' method I get the following error=20 
at the line of the php/mapscript file making the method call - 

Fatal error: MapServer Error in msGetBitmapFont(): Invalid bitmap font. 
Must be one of tiny, small, medium, large or giant. 

Currently I have the annotation layer as the last layer entry in the map=20 
file - and it is still being drawn over by the other layers.  Could it be=20 
how I am defining my other layers?  Here is an example: 

LAYER 
   NAME 'states' 
   TYPE POLYGON 
   STATUS ON 
   DATA 'north_america/usa/statesp020' 
   MAXSCALE 26000000 
   MINSCALE 1 
   GROUP 'north_america' 
   CLASS 
     NAME 'states' 
     OUTLINECOLOR 204 204 204 
     COLOR 255 255 204 
     LABEL 
      COLOR 0 0 0 
         SIZE SMALL 
     END 
   END 
END 


Am I possibly running into a v3.5 issue? 

Dan 
                 



More information about the mapserver-users mailing list