To: w...@mindspring.com; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] label issues...
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
To: mapserver-users@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
Hi all, Ok so now I have a new problem with the labeling. I would like to get
my labels to start showing up at a scale of 1:100 but nothing is working...
here is a snippet of my mapfile... LAYER
NAME 'mjcities'
TYPE POINT
DUMP false
EXTENT -143.210462 39.001401 -50.461045
Mirrlees
Sent: Monday, March 18, 2013 2:48 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] label issues...
Hi all,
Ok so now I have a new problem with the labeling.
I would like to get my labels to start showing up at a scale of 1:100 but
nothing is working...
here
...@state.mn.us
To: mmirrl...@hotmail.com; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] label issues...
Date: Mon, 18 Mar 2013 19:51:42 +
Mark,
You will want to add a LABEL block to your mapfile.
http://mapserver.org/mapfile/label.html
I would also comment out the maxscale
10
ANGLE 0
POSITION cc
FORCE false
ANTIALIAS false
PARTIALS false
END
Thanks,MarkFrom: david.fawc...@state.mn.us
To: mmirrl...@hotmail.com; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] label issues...
Date: Mon, 18 Mar 2013 19:51:42 +
PM
To: Fawcett, David (MNIT); mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] label issues...
Ok so I want to stick this code into the .map file... where should it be placed
in the section that i bolded?
LABEL
COLOR 255 255 255
FONT arial
TYPE truetype
SIZE 10
ANGLE 0
: [mapserver-users] label issues...
Date: Mon, 18 Mar 2013 20:05:55 +
You want to create a class in your layer and place it there.
http://mapserver.org/mapfile/class.html
Like this:
MAP
LAYER
CLASS
LABEL
END # end of label
END # end of class
END #end of layer
END #end of map
: [mapserver-users] label issues...
Ok so if I understand this is what it should look like? (stuff thats been
added is in red) Please correct this if i'm wrong as I am still having a bit
of problems...
LAYER
NAME 'mjcities'
TYPE POINT
DUMP false
EXTENT -143.210462 39.001401 -50.461045 85.911094
DATA
Subject: RE: [mapserver-users] label issues...
Ok so if I understand this is what it should look like? (stuff thats been added
is in red) Please correct this if i'm wrong as I am still having a bit of
problems...
LAYER
NAME 'mjcities'
TYPE POINT
DUMP false
EXTENT -143.210462 39.001401 -50.461045
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 100
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
12 matches
Mail list logo