[mapserver-users] 5.6.1 version and labels

Carlos Ruiz boolean10001 at yahoo.com
Tue Jan 12 11:26:18 PST 2010


Thanks Steve,

Lets see something simple that is changing in the new Mapserver version, here's the LAYER definition:

LAYER

    NAME "my name"
    TYPE annotation
    STATUS ON
    TRANSFORM ll
    UNITS PIXELS
    
      FEATURE
          POINTS
              135 -10
        END
        TEXT "my text"
      END
      
      CLASS
        LABEL
              FONT "arial"
              TYPE TRUETYPE
              SIZE 8
              BUFFER 1
              COLOR 0 0 0
              BACKGROUNDCOLOR 255 255 255
              FORCE TRUE
        END
    END
  
END

And now the MAP definition:

MAP

    EXTENT 427469.4518 2086656.9173 860880.8507 2523277.2962
    FONTSET "fonts/fonts.txt"
    SYMBOLSET "symbols.txt"
    SIZE 640 480
    STATUS ON
        
    OUTPUTFORMAT
        NAME jpeg
        DRIVER "GD/JPEG"
        MIMETYPE "image/jpeg"
        IMAGEMODE RGB
        EXTENSION "jpg"
        FORMATOPTION "QUALITY=80"
    END
    
    QUERYMAP
        COLOR 255 255 0
        STYLE NORMAL
    END
    
    RESOLUTION 99
        
    UNITS meters

I've attached how it looks with the 5.4 version (before.jpg) and how it looks now with the 5.6.1 version (after.jpg).

Hope this helps you to find this strange behavior

Thanks in advance !


IC Carlos Ruiz

________________________________
From: "Lime, Steve D (DNR)" <Steve.Lime at state.mn.us>
To: Carlos Ruiz <boolean10001 at yahoo.com>; "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>
Sent: Mon, January 11, 2010 3:55:08 PM
Subject: RE: [mapserver-users] 5.6.1 version and labels

 
What does your layer def look like? What renderer are you using?
Are you setting a specific RESOLUTION? There may be some subtle sizing changes but
I haven’t run across anything significant yet.
 
Before and after images are helpful too.
 
Steve
 
From:mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Carlos Ruiz
Sent: Monday, January 11, 2010 3:43 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] 5.6.1 version and labels
 
Hi all, 

I have updated my Mapserver version from 5.4 to 5.6.0 (and later to 5.6.1
because the queries). There's something odd with the labels because appears
bigger than i had defined.

Does anybody knows why ?

Thanks in advance
IC
Carlos Ruiz


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100112/130538e2/attachment.htm>


More information about the MapServer-users mailing list