Hi all,<br>
<br>
<br>
Trying to load DGN drawing file as the map source. The map itself is
ok. But the problem is: I DON'T SEE the labels of ROAD, STREET,
BUILDING NAMES on the web page.<br>
<br>
I'm sure the labels are there. Can see ENGLISH texts if open using
OpenEV (although it seems having problem showing CHINESE characters).
On MapServer, they are not there.<br>
<br>
DGN file only has one layer: the 'elements' layer. So, I rule out the possibility of a particular layer's problem.<br>
<br>
Using ogrinfo to output the information. It appears to me that the Map
(map features) themselves are represented using PEN statement like the
followings and these are shown OK:<br>
<br>
OGRFeature(elements):510<br>
&nbsp; Type (Integer) = 4<br>
&nbsp; Level (Integer) = 17<br>
&nbsp; GraphicGroup (Integer) = 0<br>
&nbsp; ColorIndex (Integer) = 0<br>
&nbsp; Weight (Integer) = 3<br>
&nbsp; Style (Integer) = 0<br>
&nbsp; EntityNum (Integer) = 5<br>
&nbsp; MSLink (Integer) = 112<br>
&nbsp; Text (String) = (null)<br>
&nbsp; Style = PEN(id:&quot;ogr-pen-0&quot;,c:#ffffff,w:3px)<br>
&nbsp; LINESTRING (835281.27600000007 815600.15000000002 0,835281.27600000007 815600.15000000002 0)<br>
<br>
<br>
For the text labels, they are represented using the LABEL function like below and these are the ones NOT SHOWN:<br>
<br>
OGRFeature(elements):535<br>
&nbsp; Type (Integer) = 17<br>
&nbsp; Level (Integer) = 11<br>
&nbsp; GraphicGroup (Integer) = 0<br>
&nbsp; ColorIndex (Integer) = 0<br>
&nbsp; Weight (Integer) = 0<br>
&nbsp; Style (Integer) = 0<br>
&nbsp; EntityNum (Integer) = (null)<br>
&nbsp; MSLink (Integer) = (null)<br>
&nbsp; Text (String) = Convention and Exhibition Centre<br>
&nbsp; Style = LABEL(t:&quot;Convention and Exhibition Centre&quot;,c:#ffffff,s:1.800g)<br>
&nbsp; POINT (835848.10800000001 816023.95000000007 0)<br>
<br>
<br>
<br>
It is a steep learning curve for me to understand MapServer and the
elements behind. Hope someone can point out what should I do to make
the ROAD, BUILDING NAME labels appear correctly.<br>
<br>
Million thanks.<br>
jack ling<br>
<br>
<br>
<br>