[mapserver-users] label issues...
Mark Mirrlees
mmirrlees at hotmail.com
Tue Mar 19 15:02:18 PDT 2013
Hi Steve, Thanks for yor help! I managed to figure it out what I needed to do to make changes to the different font etc, and the main thing was I forgot to put "LABELNAME" near the top of the code as now it works! Mark
> Date: Mon, 18 Mar 2013 18:21:04 -0400
> From: woodbri at swoodbridge.com
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] label issues...
>
> So you want you labels to be white?
>
> What color is your background?
>
> Do you have a FONTSET "fonts.txt" that maps arial to a font. I assume
> you probably do as it is not throwing an error about it.
>
> Also you can get some debug info if you add to the MAP section:
>
> CONFIG MS_ERRORFILE "stderr"
> DEBUG 5
>
> Then when you render you map look in the apache error.log file. Or try
> it with:
>
> shp2img -m mymapfile.map -o image.png
>
> There are lots of other parameters, but that should be enough to get
> some output.
>
> -Steve
>
> On 3/18/2013 5:30 PM, Mark Mirrlees wrote:
> > Hi there,
> >
> > Ok so I have revised the mapfile to this...
> >
> > LAYER
> > NAME 'mjcities'
> > TYPE POINT
> > DUMP false
> > EXTENT -143.210462 39.001401 -50.461045 85.911094
> > DATA '../data/mjcities.shp'
> > METADATA
> > 'ows_title' 'mjcities'
> > END
> > STATUS default
> > MAXSCALEDENOM 1000000
> > TRANSPARENCY 100
> > PROJECTION
> > 'proj=longlat'
> > 'datum=WGS84'
> > 'no_defs'
> > END
> > CLASS
> > NAME 'mjcities'
> > STYLE
> > SYMBOL "circle"
> > SIZE 15.0
> > OUTLINECOLOR 0 0 0
> > COLOR 182 109 194
> > END
> > LABEL
> > COLOR 255 255 255
> > FONT "arial"
> > TYPE truetype
> > SIZE 10
> > ANGLE 0
> > POSITION cc
> > FORCE false
> > PARTIALS false
> > END
> >
> > But when I zoom into my layers I see the symbols that were created but
> > the labels still don't show up...any suggestions?
> >
> > Thanks for the help everyone as I do appreciate it!
> >
> > Mark
> >
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130319/c64709d3/attachment.htm>
More information about the MapServer-users
mailing list