[Mapserver-users] Problem labelling polygon
Wim Blanken
w.blanken at geon.nl
Tue Mar 25 03:02:19 PST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0026_01C2F2C6.62BD1340
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello List,
I have a problem with labelling certain polygons that have odd shapes. =
For example I have a donut shape
polygon whose label is only showing when I draw it with TYPE LINE in the =
mapfile. TYPE POLYGON and
TYPE ANNOTATION only draws the label of polygons with normal shapes. I =
even tried it without the other layers showing so it is not a =
conflicting label problem. I have tried the different CACHE and POSITION =
settings and different mapserver cgi's but no luck...
Here is the layer settings in my mapfile:
LAYER
NAME "Test"
TYPE POLYGON
STATUS ON
DATA "theme2"
LABELITEM "waarde"
CLASS
NAME "Maatschappelijke voorziening"
COLOR 161 02 110
LABEL
TYPE truetype
FORCE true
FONT arial
COLOR 0 0 0
BACKGROUNDCOLOR 250 250 250 #WIT
POSITION cc
SIZE 8
END
END=20
END
Hope someone has some insight into this strange behavior....
Wim Blanken
Advisor Geo-Information-Management=20
GEON bv - Groningen - The Netherlands
------=_NextPart_000_0026_01C2F2C6.62BD1340
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 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello List,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a problem with labelling certain =
polygons=20
that have odd shapes. For example I have a donut shape</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>polygon whose label is only showing =
when I draw it=20
with TYPE LINE in the mapfile. TYPE POLYGON and</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>TYPE ANNOTATION only draws the =
label of=20
polygons with normal shapes. I even tried it without the other layers =
showing so=20
it is </FONT><FONT face=3DArial size=3D2>not a conflicting label =
problem. I have=20
tried the different CACHE and POSITION settings and different mapserver =
cgi's=20
but no luck...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Here is the layer settings in my=20
mapfile:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D2>
<P>LAYER<BR> NAME "Test"<BR> TYPE POLYGON<BR> STATUS=20
ON<BR> DATA "theme2"<BR> LABELITEM "waarde"<BR> =20
CLASS<BR> NAME "Maatschappelijke=20
voorziening"<BR> COLOR 161 02 =
110<BR> =20
LABEL<BR> TYPE=20
truetype<BR> FORCE=20
true<BR> FONT=20
arial<BR> COLOR 0 0=20
0<BR> BACKGROUNDCOLOR 250 250 250=20
#WIT<BR> POSITION=20
cc<BR> SIZE 8<BR> =20
END<BR> END <BR>END</P></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hope someone has some insight into this =
strange=20
behavior....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Wim Blanken</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Advisor Geo-Information-Management =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>GEON bv - Groningen - The =
Netherlands</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0026_01C2F2C6.62BD1340--
More information about the MapServer-users
mailing list