[Mapserver-users] label is not appearing only on one polygon
nida Khan
nida at webstar.co.uk
Wed Jan 22 05:45:39 PST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_005D_01C2C21C.8C7BED80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi list,
I having a very annoying problem.
One of the polygon is not getting labeled for some reason.
When I query that polygon, it display all the details!!!
here is my layer def.
LAYER=20
CONNECTIONTYPE postgis
NAME "as_const"
CONNECTION "host=3D10.3.4 port=3D343 user=3Dtest password=3Dtest =
dbname=3Dtest"
DATA "the_geom from (select oid,wkb_geometry,ogc_fid,admin_name, from =
test_poly25) as foo"
FILTER (ogc_fid > '999999')
STATUS OFF
METADATA
"DESCRIPTION" "LONDON"
"RESULT_FIELDS" "ogc_fid admin_name"
END
TYPE POLYGON =20
LABELITEM "admin_name"=20
CLASS
TEMPLATE "ttt_query.html"
NAME "as_const"
OUTLINECOLOR 0 0 255
LABEL
FORCE TRUE
POSITION CC
FONT fritqat-italic
TYPE truetype
SIZE 6
COLOR 0 0 0
# BACKGROUNDCOLOR 250 250 0
END #End of LABEL
END # end of class object
END # end of layer object
Will appreciate any input!
Many Thanks
Nida.
------=_NextPart_000_005D_01C2C21C.8C7BED80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi list,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I having a very annoying problem.</FONT></DIV>
<DIV><FONT size=3D2>One of the polygon is not getting labeled for some=20
reason.</FONT></DIV>
<DIV><FONT size=3D2>When I query that polygon, it display all the=20
details!!!</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>here is my layer def.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>LAYER </FONT></DIV>
<DIV><FONT size=3D2> CONNECTIONTYPE postgis<BR> NAME=20
"as_const"<BR> CONNECTION "host=3D10.3.4 port=3D343 user=3Dtest =
password=3Dtest=20
dbname=3Dtest"<BR> DATA "the_geom from (select=20
oid,wkb_geometry,ogc_fid,admin_name, from test_poly25) as foo"<BR> =
FILTER=20
(ogc_fid > '999999')<BR> STATUS OFF<BR> =20
METADATA<BR> "DESCRIPTION"=20
"LONDON"<BR> "RESULT_FIELDS" =
"ogc_fid=20
admin_name"</FONT></DIV>
<DIV><FONT size=3D2> END<BR> TYPE POLYGON =
<BR> =20
LABELITEM "admin_name" <BR> CLASS<BR> TEMPLATE=20
"ttt_query.html"<BR> NAME =
"as_const"<BR> =20
OUTLINECOLOR 0 0 255<BR> =20
LABEL<BR> FORCE=20
TRUE<BR> POSITION=20
CC<BR> FONT=20
fritqat-italic<BR> TYPE=20
truetype<BR> SIZE=20
6<BR> COLOR 0 0 =
0<BR> #=20
BACKGROUNDCOLOR 250 250 0<BR> END #End of =
LABEL<BR> END=20
# end of class object<BR>END # end of layer object</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Will appreciate any input!</FONT></DIV>
<DIV><FONT size=3D2>Many Thanks</FONT></DIV>
<DIV><FONT size=3D2>Nida.</FONT></DIV></BODY></HTML>
------=_NextPart_000_005D_01C2C21C.8C7BED80--
More information about the MapServer-users
mailing list