[mapserver-users] 5.6.1 version and labels
Carlos Ruiz
boolean10001 at yahoo.com
Tue Jan 12 12:21:46 PST 2010
Thanks Alan,
Sorry, too many coffee and many tasks to do simultaneously ...
Here they are ... I'm going to try what you suggest me about DEFRESOLUTION
________________________________
From: Alan Boudreault <aboudreault at mapgears.com>
To: mapserver-users at lists.osgeo.org
Cc: Carlos Ruiz <boolean10001 at yahoo.com>; "Lime, Steve D (DNR)" <Steve.Lime at state.mn.us>
Sent: Tue, January 12, 2010 1:43:48 PM
Subject: Re: [mapserver-users] 5.6.1 version and labels
Carlos, you haven't attached the images.
What's happen if you add the following line into your map definition:
DEFRESOLUTION 99
Alan
On January 12, 2010 02:26:18 pm Carlos Ruiz wrote:
> 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
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100112/28efbe15/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: before.JPG
Type: image/jpeg
Size: 87147 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100112/28efbe15/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after.JPG
Type: image/jpeg
Size: 99879 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100112/28efbe15/attachment-0001.jpe>
More information about the MapServer-users
mailing list