[mapserver-users] label issues...
Stephen Woodbridge
woodbri at swoodbridge.com
Mon Mar 18 15:21:04 PDT 2013
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
>
More information about the MapServer-users
mailing list